Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Defining Events That Set Values for SNMP MIB Objects (SRC CLI)

    You can configure SNMP to set the value of a MIB object in response to an SNMP event.

    Note: Do not define an event notification and an SNMP set for the same event.

    To define an event that sets the value for a MIB variable in response to an SNMP event:

    1. From configuration mode, access the configuration statements that configure an SNMP set for an event.
      [edit]user@host# edit snmp monitor event event-name snmp-set
    2. Specify the object identifier (OID) of the MIB variable to set.
      [edit snmp monitor event event-name snmp-set]user@host# set oid OID
    3. Specify the value for the object.
      [edit snmp monitor event event-name snmp-set]user@host# set value value
    4. (Optional) Specify whether the software monitors only the OID specified by the variable option. If you do not set this option, the index of the object triggering the alarm is appended to the variable to be set.
      [edit snmp monitor event event-name snmp-set]user@host# set strict-oid

    Published: 2014-12-10