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 notification 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 notification.

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, under Domain Structure, expand Diagnostics and select SNMP.
  3. On the Summary of SNMP Agents page, in the Server SNMP Agents table, click the name of an SNMP agent.
  4. On the SNMP Agent: Configuration: General page, click the Counter Monitors sub-tab.
  5. 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.

  6. On the Create a New SNMP Counter Monitor page, in the Name field, enter a name for the counter monitor.
  7. In the Monitored MBean Type list, select an MBean type and click Next.

    For a description of WebLogic Server MBean types and attributes, see the WebLogic Server MBean Reference.

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

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

  11. 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.

  12. Enter data in the remaining fields.

    For example:

    • To send a notification when the observed attribute equals or exceeds a threshold, enter a threshold values in the Threshold field.
    • To send a notification when the observed attribute equals or 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 equals or 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 its original value 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.

  13. Click Save.
  14. 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

If you plan to target the SNMP agent that contains this monitor to the Administration Server, specify which servers in the domain you want this monitor to observe. See Target counter monitors.


Back to Top