Event Counter - Cisco nexus 3000 series Command Reference Manual

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

Advertisement

Chapter
System Management Commands
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 counter

To specify the event criteria for an Embedded Event Manager (EEM) applet that is run on the basis of a
named counter crossing a threshold, use the event counter command. To remove the counter event
criteria, use the no form of this command.
Syntax Description
name name
entry-val value
entry-op op
exit-val value
exit-op op
Defaults
None
Command Modes
Embedded event manager configuration mode
OL-29557-04
event counter name name entry-val value entry-op {eq | ge | gt | le | lt | ne } [exit-val value exit-op
{eq | ge | gt | le | lt | ne}]
no event counter name name
Specifies the name of the counter that will be monitored. The name identifier can
be any alphanumeric string up to 28 characters.
Specifies the value with which the contents of the current counter are compared
to decide if a counter event should be raised. The range is from 1 to 2147483647.
Compares the contents of the current counter value with the entry value using the
specified operator:
eq—Equal to
ge—Greater than or equal to
gt—Greater than
le—Less than or equal to
lt—Less than
ne—Not equal to
If there is a match, an event is triggered and event monitoring is disabled until the
exit criteria are met.
(Optional) Specifies the value with which the contents of the current counter are
compared to decide whether the exit criteria are met. The range is from 1 to
2147483647.
(Optional) Compares the contents of the current counter with the exit value using
a specified operator:
eq—Equal to
ge—Greater than or equal to
gt—Greater than
le—Less than or equal to
lt—Less than
ne—Not equal to
If there is a match, an event is triggered and event monitoring is reenabled.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
event counter
-SM-55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents