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-75
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
event track
event track
To specify the event criteria for an Embedded Event Manager (EEM) applet that is run on the basis of
an object tracking subsystem report for the specified object number, use the
event track
command. To
remove the report event criteria, use the
no
form of this command.
event track
[
tag
tag
]
object-id
state
{
any
|
up
|
down
}
no event track
[
tag
tag
]
object-id
Syntax Description
Defaults
None
Command Modes
Embedded event manager configuration mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to specify that an EEM applet runs when the state of a tracked object changes:
switch#
configure terminal
switch(config)#
event manager applet tracking-applet
switch(config-applet)#
event track 20 state down
switch(config-applet)#
tag
tag
(Optional) Identifies this specific event when multiple events are included in the
policy.
object-id
Tracked object number. The range from 1 to 500.
state
Specifies that the tracked object transition causes an event to be raised.
any
Specifies an event is to be raised when the tracked object transitions to or from
any state.
up
Specifies an event is to be raised when the tracked object transitions from a down
state to an up state.
down
Specifies an event is to be raised when the tracked object transitions from an up
state to a down state.
Release
Modification
5.0(3)U3(1)
This command was introduced.