event manager run
To manually run an Embedded Event Manager (EEM) policy, use the event manager run command in EXEC
mode.
event manager run policy [argument [... [ argument15 ]]]
Syntax Description
Name of the policy file.
policy
Argument that you want to pass to the policy. The maximum number
of arguments is 15.
[argument[...[argument15]]]
Command Default
No registered EEM policies are run.
Command Modes
EXEC
Command History
ModificationRelease
This command was introduced.Release 3.6.0
Task ID was changed from fault-mgr to eem.Release 3.7.0
Usage Guidelines
EEM usually schedules and runs policies on the basis of an event specification that is contained within the
policy itself. The event manager run command allows policies to be run manually.
You can query the arguments in the policy file by using the TCL command event_reqinfo , as shown in this
example:
array set arr_einfo [event_reqinfo] set argc $arr_einfo(argc) set arg1
$arr_einfo(arg1)
Use the event manager policy, on page 82 command to register the policy before using the event manager
run command to run the policy. The policy can be registered with none as the event type.
Task ID
OperationsTask ID
readeem
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
86 OL-24735-01
Embedded Event Manager Commands
event manager run