[Contents] [Prev] [Next] [Index] [Report an Error]

# 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:

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

2. Specify the type of boolean test. For example:
   `
   [edit snmp monitor alarm saeHeapUsage boolean-test]
   user@host# set comparison greater
   `
3. Define the value that the test uses. For example:
   `
   [edit snmp monitor saeHeapUsage boolean-test]
   user@host# value 14000000
   `

#### Related Topics

- 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

[Contents] [Prev] [Next] [Index] [Report an Error]