Event Manager Run - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

event manager run

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
policy
[argument[...[argument15]]]
Command Default
No registered EEM policies are run.
Command Modes
EXEC
Command History
Release
Release 3.6.0
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
Use the
run command to run the policy. The policy can be registered with none as the event type.
Task ID
Task ID
eem
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
86
$arr_einfo(arg1)
event manager policy, on page 82
Name of the policy file.
Argument that you want to pass to the policy. The maximum number
of arguments is 15.
Modification
This command was introduced.
Task ID was changed from fault-mgr to eem.
command to register the policy before using the event manager
Operations
read
Embedded Event Manager Commands
OL-24735-01

Advertisement

Table of Contents
loading

Table of Contents