Configuring Action Statements - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Defining a User Policy Using the CLI
Command
event temperature [module slot] [sensor-number] threshold
{any | major | minor}
Example:
switch(config-applet)# event temperature
module 2 threshold any
event timer {absolute time time name name | countdown time
time name name | cron cronentry string | tag tag | watchdog
time time name name}
Example:
switch(config-applet)# event timer absolute
time 100 name abtimer
event track [tag tag] object-number state {any | down | up}
Example:
switch(config-applet)# event track 1 state
down

Configuring Action Statements

Use any of the following commands in Applet configuration (config-applet) mode to configure action
statements:
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
252
Configuring the Embedded Event Manager
Purpose
Triggers an event if the temperature sensor
exceeds the configured threshold. The
sensor range is from 1 to 18.
Triggers an event if the specified time is
reached. The range for the time is from 1
to 4294967295.
• absolute time—Triggers an event
when the specified absolute time of
day occurs.
• countdown time—Triggers an event
when when the specified time counts
down to zero. The timer does not
reset.
• cron cronentry—Triggers an event
when the CRON string specification
matches the current time.
• watchdog time—Triggers an event
when the specified time counts down
to zero. The timer automatically
resets to the initial value and
continues to count down.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
Note
To use this command, you must
first enable the feature evmed
command to enable generic event
detectors.
Triggers an event if the tracked object is
in the configured state.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
The object-number range is from 1 to 500.

Advertisement

Table of Contents
loading

Table of Contents