Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Create string monitors

Before you begin

- Configure the SNMP agent
- Create trap destinations

A string monitor periodically checks the value of a `String` attribute and generates a trap if the value is equal to or different from another specified string.

To configure a string 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 String Monitors.
3. On the SNMP String Monitors page, click New.

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

4. On the Create a String Monitor page, enter a name for the 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 Next.
7. In String to Compare field, enter a string that the monitor will compare to the attribute value and click Finish.
8. On the SNMP String Monitors page, click the new monitor name.
9. 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.

10. To send a trap when the observed attribute value differs from the string, select Notify Differ.

    For example, if you want to be notified when a server's life cycle state is anything other than Running, enter `Running` in the String to Compare field and check the Notify Differ check box.

    To send a trap when the observed attribute value matches the string, select Notify Match.

11. Click Save.

After you finish

Target string 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.