Cisco Nexus 7000 Series Configuration Manual page 276

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Defining a User Policy Using the CLI
Command
event application [tag tag] sub-system sub-system-id type
event-type
Example:
switch(config-applet)# event application
sub-system 798 type 1
event cli [tag tag] match expression [count repeats | time
seconds]
Example:
switch(config-applet)# event cli match
"shutdown"
event counter [tag tag] name counter entry-val entry entry-op
{eq | ge | gt | le | lt | ne} [exit-val exit exit-op {eq | ge | gt | le |
lt | ne}]
Example:
switch(config-applet)# event counter name
mycounter entry-val 20 gt
event fanabsent [fan number] time seconds
Example:
switch(config-applet)# event fanabsent time
300
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
248
Configuring the Embedded Event Manager
Purpose
Triggers an event when an event
specification matches the subsystem ID
and application event type.
The range for the sub-system-id and for
the event-type is from 1 to 4294967295.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
To use this command, you must
Note
first enable the feature evmed
command to enable generic event
detectors.
Triggers an event if you enter a command
that matches the regular expression.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
The repeats range is from 1 to 65000. The
time range, in seconds, is from 0 to
4294967295, where 0 indicates no time
limit.
Triggers an event if the counter crosses the
entry threshold based on the entry
operation. The event resets immediately.
Optionally, you can configure the event to
reset after the counter passes the exit
threshold.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
The counter name can be any
case-sensitive, alphanumeric string up to
28 characters. The entry and exit value
ranges are from 0 to 2147483647.
Triggers an event if a fan is removed from
the device for more than the configured
time, in seconds. The number range is
module dependent. The seconds range is
from 10 to 64000.

Advertisement

Table of Contents
loading

Table of Contents