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

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

#### Related Topics

- Configuring an SNMP Alarm on a C Series Controller (SRC CLI)
- Example: SNMP Monitoring of Multiple MIB Objects
- Configuration Statements for Customized SRC SNMP Monitors
- SNMP Monitoring on C Series Controllers

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