Cisco XR 1200 series Command Reference Manual page 115

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Embedded Event Manager Commands
Command Modes
EXEC
Command History
Release
Release 3.2
Release 3.6.0
Release 3.7.0
Usage Guidelines
The output of the show event manager policy registered command is most beneficial if you are writing and
monitoring the EEM policies. The output displays registered policy information in two parts. The first line in
each policy description lists the index number assigned to the policy, policy type (system or user), type of
event registered, time at which the policy was registered, and name of the policy file. The remaining lines of
each policy description display information about the registered event and how the event is to be handled,
and come directly from the Tool Command Language (TCL) command arguments that make up the policy
file.
Registered policy information is documented in the Cisco publication Writing Embedded Event Manager
Policies Using Tcl.
Task ID
Task ID
eem
Examples
This is a sample output of the show event manager policy registered command:
RP/0/0/CPU0:router# show event manager policy registered
No.
1
version 00.00.0000 instance 1 path {cdp}
priority normal maxrun_sec 20 maxrun_nsec 0
2
name {crontimer1}
priority normal maxrun_sec 20 maxrun_nsec 0
3
path {cdp}
priority normal maxrun_sec 20 maxrun_nsec 0
4
occurs 1 pattern {test_pattern}
priority normal maxrun_sec 90 maxrun_nsec 0
5
name {crontimer2}
priority normal maxrun_sec 30 maxrun_nsec 0
6
timewin_sec 120 timewin_nsec 0 sub1 mem_tot_used {node {localhost} op gt
val 23000}
OL-24735-01
Modification
This command was introduced.
The show fault manager policy registered command was replaced
with the show event manager policy registered command.
Task ID was changed from fault-mgr to eem.
Type
Event Type
system
proc abort
system
timer cron
system
proc abort
system
syslog
system
timer cron
system
wdsysmon
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
show event manager policy registered
Operations
read
Time Registered
Wed Jan 16 23:44:56 2004
Wed Jan 16 23:44:58 2004
Wed Jan 16 23:45:02 2004
Wed Jan 16 23:45:41 2004
Wed Jan 16 23:45:12 2004
Wed Jan 16 23:45:15 2004
Name
test1.tcl
test2.tcl
test3.tcl
test4.tcl
test5.tcl
test6.tcl
103

Advertisement

Table of Contents
loading

Table of Contents