Administration Console Online Help

    Previous Next  Open TOC in new window 
Content starts here

Create counter monitors

Before you begin


A counter monitor periodically checks the value of an integer attribute and generates a trap when the value exceeds a threshold. You can also configure a counter monitor to increase the threshold by an offset value after it sends a trap.

To create and configure a counter monitor:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the Administration Console, expand Diagnostics > SNMP Agent > Monitors and select Counter Monitors.
  3. On the SNMP Counter Monitors page, click New.

    Note: Once you create a counter monitor, you cannot rename it. Instead, you must delete it and create another one that uses the new name.

  4. On the Create an SNMP Counter Monitor page, enter a name for the counter monitor.
  5. In Monitored MBean Type, select an MBean type and click Next.

    For more information, refer to Determine MBean types and attribute names.

  6. In Monitored Attribute Name, select an attribute and click Finish.
  7. On the SNMP Counter Monitors page, click the new counter monitor name.
  8. To monitor only a specific MBean instance, enter the instance name in Monitored MBean Name. See Determine MBean instance names.

    If you do not enter an instance name, the monitor observes all MBean instances of the type that you specified in Step 4.

  9. In the Polling Interval field, enter the frequency in seconds at which you want WebLogic Server to check the attribute's value.

    For testing purposes, consider entering a small value, such as 10.

    A value of 0 means that the monitor never polls the attribute, effectively disabling this monitor.

  10. Enter data in the remaining fields.

    For example:

    • To send a trap when the observed attribute exceeds a threshold, enter a threshold values in the Threshold field.
    • To send a trap when the observed attribute exceeds the threshold and then increase the threshold by an offset value, enter a threshold in the Threshold field and an offset value in the Offset field.

      Each time the observed attribute exceeds the new threshold, the threshold is increased by the offset value. For example, if you set Threshold to 1000 and Offset to 2000, when the observed attribute exceeds 1000, the Counter Monitor sends a notification and increases the threshold to 3000. When the observed attribute exceeds 3000, the Counter Monitor sends a notification and increases the threshold again to 5000.

      To specify a maximum value for the threshold, enter a value in the Modulus field. When the threshold reaches the value specified by the modulus, the threshold is returned to the value that was specified through the latest call to the monitor's setThreshold method, before any offsets were applied. For example, if the original Threshold is set to 1000 and the Modulus is set to 5000, when the Threshold exceeds 5000, the monitor sends a notification and resets the Threshold to 1000.

    For more information about these fields, see Configuration Options.

  11. Click Save.
  12. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

Target counter monitors.

You do not need to restart the Administration Server after you create and initially configure a monitor. However, if you change a monitor after you create it, you must restart the Administration Server.


  Back to Top