Defining an Alarm to Monitor the Status of an Object (SRC CLI)
You can configure a monitor to identify when a MIB object appears, disappears, or changes value. If the test criteria are met, the test is considered to be successful.
Configure only one monitor test at a time.
Before you define an alarm type, configure the associated SNMP alarm.
To configure an alarm to monitor the status of an object:
Specify the type of alarm: present, absent, or changed. For example, for an alarm named existence-alarm:[edit snmp monitor alarm existence-alarm existence-test]user@host# set type present