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

# Defining Events for Which SNMP Sends Notifications (SRC CLI)

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

To define an event for which SNMP sends a notification:

1. From configuration mode, access the configuration statements that configure SNMP event notification and provide a name for the event. For example:
   `
   [edit]
   user@host# edit snmp monitor event routerErrorEvent notification
   `
2. Specify the object identifier (OID) object identifier of the notification object. For example:
   `
   [edit snmp monitor event routerErrorEvent notification]
   user@host# set oid juniSdxMibs.24.2.1
   `
3. (Optional) Allow wildcards in the OID to include instances of subidentifiers that correspond to the monitored object. For example:
   `
   [edit snmp monitor event routerErrorEvent notification notification]
   user@host# set wildcarded-object [juniSaeRouterMsgErrors, juniSaeRouterMsgTimeouts]
   `

   Alternatively, you can configure event notification to use a specific 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]