$('a[name]').remove(); $('#ic-homepage__footer').before('
'); $("#tabs").tabs({ selected: 1 }); $("#ic-homepage__ic-tips").append( quickTipHTML() ); unhideOneProductTip(); $("#ic-homepage__product-tips").wrapInner('
'); $("#ic-homepage__feed-tips").wrapInner('
'); });
IBM Tivoli Monitoring > Version 6.3 > User's Guides > Agent Builder User's Guide > Monitor Java Management Extensions (JMX) MBeans > JMX monitors > Take Action commands for JMX monitors IBM Tivoli Monitoring, Version 6.3
JMX Add String Metric Watcher
Use this Take Action command to create a monitor to watch a string attribute.
Parameters
- MBean pattern
- All MBeans matching this pattern are monitored by this monitor.
- Observed attribute
- Name of the MBean string attribute that is being watched.
- Notify match
- True if a notification is to be sent when the monitored string matches a reference value, false if not (defaults to false).
- Notify differ
- True if a notification is to be sent when the monitored string does not match the reference value, false if not (defaults to true)
- Reference value
- String to compare with the observed attribute.
A default means that the argument is not specified.
Example: Request a notification when a service is stopped
STRING_METRIC_WATCHER [*:type=Service,*] [StateString] [true] [false] [Stopped]Where:
- *:type=Service,*
- MBean pattern: Monitors any MBean with a key property named type whose value is Service.
- StateString
- Observed attribute: A string attribute that is common to all MBeans of type=Service.
- true
- Notify match: You want a notification to be sent to your agent when the StateString attribute matches your reference value of Stopped.
- false
- Notify differ: You do not want to be notified when the Service attribute does not match Stopped.
- Stopped
- Reference value: When the StateString attribute changes to the value Stopped, a notification is sent.
Parent topic:
Take Action commands for JMX monitors