Embedded Event Manager Multiple Event Support Tcl Command Extensions; Attribute; Correlate - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Embedded Event Manager Multiple Event Support Tcl Command Extensions

# Log a message.
set msg [format "EEM application_publish test iteration %s" $iter]
action_syslog priority info msg $msg
if {$_cerrno != 0} {
}
# Do whatever processing that you want to measure here.
# Cause the next iteration to run. Note that the iteration is passed to the
# next operation as arg1.
event_publish sub_system 798 type 9999 arg1 $iter
if {$_cerrno != 0} {
}
Embedded Event Manager Multiple Event Support Tcl Command Extensions

Attribute

Specifies a complex event used for Multi Event Support.
Syntax
attribute tag ? [occurs ?]
Arguments
tag
occurs
Result String
None
Example:
attribute tag 1 occurs 1

Correlate

Builds a single complex event and allows Boolean logic to relate events.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
148
set result [format "component=%s; subsys err=%s; posix err=%s;\n%s" \
$_cerr_sub_num $_cerr_sub_err $_cerr_posix_err $_cerr_str]
error $result
set result [format \
"component=%s; subsys err=%s; posix err=%s;\n%s" \
$_cerr_sub_num $_cerr_sub_err $_cerr_posix_err $_cerr_str]
error $result
Configuring and Managing Embedded Event Manager Policies
Specifies a tag using the event-tag argument that can
be used with the attribute command to associate an
event.
(Optional) Specifies the number of occurrences before
an EEM event is triggered. If not specified, an EEM
event is triggered on the first occurrence. The range
is from 1 to 4294967295

Advertisement

Table of Contents
loading

Table of Contents