Embedded Event Manager Event Registration Tcl Command Extensions; Event_Register_Appl - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Embedded Event Manager Event Registration Tcl Command Extensions

For all EEM Tcl command extensions, if there is an error, the returned Tcl result string contains the error
Note
information.
Arguments for which no numeric range is specified take an integer from -2147483648 to 2147483647,
Note
inclusive.
The following conventions are used for the syntax documented on the Tcl command extension pages:
• An optional argument is shown within square brackets, for example:
• A question mark ? represents a variable to be entered.
• Choices between arguments are represented by pipes, for example:
Embedded Event Manager Event Registration Tcl Command Extensions
The following EEM event registration Tcl command extensions are supported:

event_register_appl

Registers for an application event. Use this Tcl command extension to run a policy when an application event
is triggered following another policy's execution of an event_publish Tcl command extension; the event_publish
command extension publishes an application event.
To register for an application event, a subsystem must be specified. Either a Tcl policy or the internal EEM
API can publish an application event. If the event is being published by a policy, the sub_system argument
that is reserved for a policy is 798.
Syntax
event_register_appl [sub_system ?] [type ?] [queue_priority low|normal|high] [maxrun ?]
[nice 0|1]
Arguments
sub_system
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
94
[type ?]
[queue_priority low|normal|high]
Configuring and Managing Embedded Event Manager Policies
(Optional) Number assigned to the EEM policy that
published the application event. The number is set to
798, because all other numbers are reserved for Cisco
use. If this argument is not specified, all components
are matched.

Advertisement

Table of Contents
loading

Table of Contents