Event Counter - Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

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.
Syntax Description
tag tag
name name
entry-val value
entry-op op
exit-val value
exit-op op
Defaults
None
Cisco Nexus 7000 Series NX-OS System Management Command Reference
144
event counter [tag tag] name name entry-val value entry-op {gt | ge | eq | ne | lt | le} [exit-val
value exit-op {gt | ge | eq | ne | lt | le}]
no event counter name name
(Optional) Identifies this specific event when multiple events are included in the
policy.
Specifies the name of the counter that will be monitored. The name identifier can
be any string 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 —2147483648 to
2147483647, inclusive.
Compares the contents of the current counter 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.
(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
—2147483648 to 2147483647, inclusive.
(Optional) Compares the contents of the current counter with the exit value using
a 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 reenabled.
E Commands
OL-25806-03

Advertisement

Table of Contents
loading

Table of Contents