![Cisco ASR 9000 Serie Скачать руководство пользователя страница 110](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679110.webp)
For all EEM Tcl command extensions, if there is an error, the returned Tcl result string contains the error
information.
Note
Arguments for which no numeric range is specified take an integer from -2147483648 to 2147483647,
inclusive.
Note
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:
[type ?]
•
A question mark ? represents a variable to be entered.
•
Choices between arguments are represented by pipes, for example:
[queue_priority low|normal|high]
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
(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.
sub_system
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
94
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Event Registration Tcl Command Extensions