Configuring and Managing Embedded Event Manager Policies
Set _cerrno
No
event_register_process
Registers for a process event. Use this Tcl command extension to run a policy on the basis of an event raised
when a Cisco IOS XR software modularity process starts or stops. These events are handled by the system
manager event detector that screens for this event. This Tcl command extension is supported only in software
modularity images.
Syntax
event_register_process abort|term|start
[job_id ?] [instance ?] [path ?] [node ?]
[queue_priority low|normal|high] [maxrun ?] [nice 0|1] [tag?]
Arguments
abort
term
start
job_id
instance
path
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
Embedded Event Manager Event Registration Tcl Command Extensions
(Mandatory) Abnormal process termination. Process
may abort because of exiting with a nonzero exit
status, receiving a kernel-generated signal, or
receiving a SIGTERM or SIGKILL signal that is not
sent because of user request.
(Mandatory) Normal process termination.
(Mandatory) Process start.
(Optional) Number assigned to the EEM policy that
published the process event. Number is set to 798,
because all other numbers are reserved for Cisco use.
(Optional) Process instance ID. If specified, this
argument must be an integer between 1 and
4294967295, inclusive.
(Optional) Process pathname (regular expression
string).
103