Defining an Alarm for an SNMP Monitor That Compares Object Values (SRC CLI)
You can configure a monitor to compare a sample value to a specified value or range of values by using one of the following types of comparisons:
- equal
- unequal
- less
- less-or-equal
- greater
- greater-or-equal
![]() | Note: Configure only one monitor test at a time. |
Before you define an alarm type, configure the associated SNMP alarm.
See Configuring an SNMP Alarm on a C Series Controller (SRC CLI).
To configure a monitor to compare a sample to a specified value or range of values:
- From configuration mode, access the configuration statements
that configure SNMP monitoring for a Boolean test. For example:[edit]user@host# edit snmp monitor alarm saeHeapUsage boolean-test
where saeHeapUsage is the name of the alarm.
- Specify the type of Boolean test. For example: [edit snmp monitor alarm saeHeapUsage boolean-test]user@host# set comparison greater
- Define the value that the test uses. For example:[edit snmp monitor saeHeapUsage boolean-test]user@host# value 14000000
Related Documentation
- Defining an Alarm to Monitor the Status of an Object (SRC CLI)
- Defining an Alarm for an SNMP Monitor That Compares Values Against Thresholds (SRC CLI)
- Configuring an SNMP Alarm on a C Series Controller (SRC CLI)
- Configuration Statements for Customized SRC SNMP Monitors
- SNMP Monitoring on C Series Controllers