
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
-SM-55
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
event counter
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.
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
Syntax Description
Defaults
None
Command Modes
Embedded event manager configuration mode
name
name
Specifies the name of the counter that will be monitored. The
name
identifier can
be any alphanumeric string up to 28 characters.
entry-val
value
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.
entry-op
op
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.
exit-val
value
(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.
exit-op
op
(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.