$('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 Gauge Metric Watcher
Use this Take Action command to create a monitor to watch a gauge 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.
- Difference mode
- True if the value monitored is the difference between the actual current and previous values of the attribute. False if the value monitored is the actual current value of the attribute (defaults to false).
- Notify high
- True if a notification is to be sent when an increasing monitored value crosses the high threshold, false if not (defaults to true).
- Notify low
- True if a notification is to be sent when a decreasing monitored value crosses the low threshold, false if not (defaults to true).
- High threshold
- Value that the observed attribute is expected to stay under.
- Low threshold
- Value that the observed attribute is expected to stay over.
Example: Request a notification when free memory goes under 10 Mb
GAUGE_METRIC_WATCHER [ServerInfo] [FreeMemory] [false] [false] [true] [30000000] [10000000]Where:
- *:type=ServerInfo
- MBean pattern: Monitors any MBean whose name has a single key property named type whose value is ServerInfo.
- FreeMemory
- Observed attribute: Numeric attribute that fluctuates up or down, this one indicating the amount of free memory in the application server.
- false
- Difference mode: Monitors the actual attribute value, not the difference between one observation and another.
- false
- Notify high: Notification is not sent when free memory goes up.
- true
- Notify low: Notification is not sent when the free memory becomes too low.
- 30000000
- High threshold: Even though you are not concerned with passing a high threshold, you need a reasonable high threshold value. A second low threshold notification does not occur until the attribute value hits or passes the high threshold.
- 10000000
- Low threshold: Low threshold value that you want to be notified about.
Parent topic:
Take Action commands for JMX monitors