Event_Register_Syslog - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Embedded Event Manager Event Registration Tcl Command Extensions
tag
Exit criteria can be time-based, value-based, or both. Event monitoring is not reenabled until the exit
Note
criteria is met.
If multiple conditions exist, the statistics event is raised when all of the conditions are satisfied.
Reslt String
None
Set _cerrno
No

event_register_syslog

Registers for a syslog event. Use this Tcl command extension to trigger a policy when a syslog message of a
specific pattern is logged after a certain number of occurrences during a certain period of time.
Syntax
event_register_syslog [occurs ?] [period ?] pattern ?
[priority all|emergencies|alerts|critical|errors|warnings|notifications|
informational|debugging|0|1|2|3|4|5|6|7]
[queue_priority low|normal|high]
[severity_fatal] [severity_critical] [severity_major]
[severity_minor] [severity_warning] [severity_notification]
[severity_normal] [severity_debugging]
[maxrun ?] [nice 0|1]
Arguments
occurs
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
112
Configuring and Managing Embedded Event Manager Policies
Tag is acceptable but ignored.Cisco IOS EEM scripts
with the tag option can run in an Cisco IOS XR
software environment without any error. Since
Cisco IOS XR software does not support multiple
events, the tag has no effect.
(Optional) Number of occurrences before the event
is raised; if not specified, the event is raised on the
first occurrence. If specified, the value must be greater
than 0.

Advertisement

Table of Contents
loading

Table of Contents