Defining Events for Which SNMP Sends Notifications (SRC CLI)
Do not define an event notification and an SNMP set for the same event.
To define an event for which SNMP sends a notification:
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 notificationSpecify 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(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.