Related Documentation
- C Series
- Defining an Alarm for an SNMP Monitor That Compares Object Values (SRC CLI)
- 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)
- Configuration Statements for Customized SRC SNMP Monitors
- SNMP Monitoring on C Series Controllers
Configuring an SNMP Alarm on a C Series Controller (SRC CLI)
You can configure SNMP to establish alarms for custom monitors.
![]() | Note: Configure only one monitor test at a time. |
To configure an SNMP alarm:
- Specify an SNMP username.
See Configuring an SNMPv3 Security Name for SNMP Monitoring (SRC CLI).
- From configuration mode, access the configuration statements
that configures an alarm. For example:[edit]user@host# edit snmp monitor alarm saeHeapUsage
where saeHeapUsage is the name of the alarm.
- Specify the number of seconds between which SNMP samples
the value of an object. For example:[edit snmp monitor alarm saeHeapUsage]user@host# set interval 60
- Specify whether to sample the actual value of the object
or the difference between two values. For example, to use the actual
of the object:[edit snmp monitor alarm saeHeapUsage]user@host# set sample-type absolute-value
If you set the sample type to delta-value, you can configure a discontinuity check. See Defining a Discontinuity Check to Validate Delta Values (SRC CLI).
- (Optional) Indicate that an alarm not be sent when the
alarm is initially activated. [edit snmp monitor alarmsaeHeapUsage]user@host# set ignore-startup-alarm
- (Optional) Specify the name of the event to be generated
in response to an alarm condition. For example:[edit snmp monitor alarm saeHeapUsage]user@host# set event saeHeapUsageEvent
- Specify the name or object identifier (OID) of the MIB
variable to be monitored. For example:[edit snmp monitor alarm saeHeapUsage]user@host# set variable juniSdxSaeHeapUsed.0
- (Optional) Specify whether to monitor the SNMP object
instance identified by a variable attribute. To monitor the SNMP object
instance specified by the variable attribute:[edit snmp monitor alarm saeHeapUsage]user@host# set strict-oid
Do not enable the strict-oid option when you monitor a column of an SNMP MIB table. An alarm for a column monitors the column on all entries of the table. If an entry for an object in the column passes an alarm test, an event is generated for that object.
- Configure a Boolean, existence, or threshold test for the alarm.
Related Documentation
- C Series
- Defining an Alarm for an SNMP Monitor That Compares Object Values (SRC CLI)
- 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)
- Configuration Statements for Customized SRC SNMP Monitors
- SNMP Monitoring on C Series Controllers