Example:
Device#
show event manager history events
No.
Time of Event
Event Type
Name
1
Fri Aug13
21:42:57 2004
snmp
applet: SAAping1
2
Fri Aug13
22:20:29 2004
snmp
applet: SAAping1
3
Wed Aug18
21:54:48 2004
snmp
applet: SAAping1
4
Wed Aug18
22:06:38 2004
snmp
applet: SAAping1
5
Wed Aug18
22:30:58 2004
snmp
applet: SAAping1
6
Wed Aug18
22:34:58 2004
snmp
applet: SAAping1
7
Wed Aug18
22:51:18 2004
snmp
applet: SAAping1
8
Wed Aug18
22:51:18 2004
application
applet: CustApp1
Step 6
show event manager history traps
{
server
|
policy
}
Use this command to display the EEM SNMP traps that have been sent either from the EEM server or from an EEM
policy. In the following example, the EEM SNMP traps that were triggered from within an EEM policy are displayed.
Example:
Device#
show event manager history traps policy
No.
Time
Trap Type
Name
1
Wed Aug18
22:30:58 2004
policy
EEM Policy Director
2
Wed Aug18
22:34:58 2004
policy
EEM Policy Director
3
Wed Aug18
22:51:18 2004
policy
EEM Policy Director
Displaying Embedded Event Manager Registered Policies
Perform this optional task to display registered EEM policies.
SUMMARY STEPS
1.
enable
2.
show event manager policy registered
[
event-type event-name
] [
time-ordered
|
name-ordered
]
DETAILED STEPS
Step 1
enable
Enables privileged EXEC mode. Enter your password if prompted.
Example:
Device>
enable
Step 2
show event manager policy registered
[
event-type event-name
] [
time-ordered
|
name-ordered
]
Use this command with the
time-ordered
keyword to display information about currently registered policies sorted by
time, for example:
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1707
How to Write EEM Policies Using the Cisco IOS CLI
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......