Event Snmp - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

event snmp

S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
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 (OID) values, use the event snmp
command. To remove the SNMP event criteria, use the no form of this command.
Syntax Description
tag tag
oid value
get-type
exact
next
entry-op op
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-66
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
(Optional) Identifies this specific event when multiple events are included in the
policy. The tag name can be any alphanumeric string up to 29 characters.
Specifies the SNMP OID 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
Specifies the type of SNMP get operation to be applied to the object ID specified
by the oid value argument.
Retrieves the object ID specified by the oid value argument.
Retrieves the object ID that is the alphanumeric successor to the object ID
specified by the oid value argument.
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.
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents