EasyManua.ls Logo

Cisco Nexus 7000 Series

Cisco Nexus 7000 Series
746 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
E Commands
event snmp
163
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
event snmp
To specify the event criteria for an Embedded Event Manager (EEM) applet that is run by sampling
Simple Network Management Protocol (SNMP) object identifier values, use the event snmp command.
To remove the SNMP event criteria, use the no form of this command.
event snmp [tag tag] oid value get-type {exact | next} entry-op {gt | ge | eq | ne | lt | le} entry-val
value [{exit-comb {or | and} exit-op {gt | ge | eq | ne | lt | le} exit-val value exit-time time} |
{exit-op {gt | ge | eq | ne | lt | le} exit-val value}] poll-interval value
no event snmp [tag tag] oid value get-type {exact | next} entry-op {gt | ge | eq | ne | lt | le}
entry-val value [{exit-comb {or | and} exit-op {gt | ge | eq | ne | lt | le} exit-val value exit-time
time} | {exit-op {gt | ge | eq | ne | lt | le} exit-val value}] poll-interval value
Syntax Description tag tag (Optional) Identifies this specific event when multiple events are included in the
policy.
oid value Specifies the SNMP object identifier (object ID) values in the value argument as
the event criteria. The value of the data element must be in SNMP dotted notation.
An OID is defined as a type in the associated MIB and each type has an object
value. Monitoring of some OID types is supported. When the oid keyword is
used, an error message is returned if the OID is not one of the following:
INTEGER_TYPE
COUNTER_TYPE
GAUGE_TYPE
TIME_TICKS_TYPE
COUNTER_64_TYPE
OCTET_PRIM_TYPE
OPAQUE_PRIM_TYPE
get-type Specifies the type of SNMP get operation to be applied to the object ID specified
by the oid value argument.
exact Retrieves the object ID specified by the oid value argument.
next Retrieves the object ID that is the alphanumeric successor to the object ID
specified by the oid value argument.
entry-op op Compares the contents of the current object ID value with the entry value using
the specified operator:
gt—Greater than
ge—Greater than or equal to
eq—Equal to
ne—Not equal to
lt—Less than
le—Less than or equal to
If there is a match, an event is triggered and event monitoring is disabled until the
exit criteria are met.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals