EasyManua.ls Logo

Cisco ASR 9000 Serie

Cisco ASR 9000 Serie
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
sec and msec are the actual time difference between the time stamps of the first total used memory sample
ever collected and the latest total used memory sample.
Set _cerrno
Yes
event_reqinfo_multi
Adds a new function to retrieve the event_reqinfo data for every event that contributed to the triggering of
the script. The data returned will be a list of result strings indexed by event specification tag. Error processing
is the same as in event_reqinfo function.
Syntax
event_reqinfo_multi
Arguments
None
Result String
The following section shows the result string from the event reqinfo multi call:
"<ev-tag> {event_id %u event_type %u event_type_string
{%s} event_pub_sec %ld event_pub_msec %ld timer_type {%s} timer_time_sec
%ld timer_time_msec %ld timer_remain_sec %ld timer_remain_msec %ld}
<ev-tag> {event_id %u event_type %u event_type_string
{%s} event_pub_sec %ld event_pub_msec %ld oid {%s} val {%s} delta_val
{%s} exit_event {%s}}"
Typical usage for a multi-event consisting of both a timer event and an
SNMP event might be:
array set arr_minfo [event_reqinfo_multi]
if {$_cerrno != 0} {
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
}
array set arr_einfo $arr_minfo(<ev-tag-for-timer-event-spec>)
global timer_type timer_time_sec
set timer_type $arr_einfo(timer_type)
set timer_time_sec $arr_einfo(timer_time_sec)
The output of event_reqinfo_multi is ordered from most recent to least recent event that contributed to the
triggering of the policy.
Embedded Event Manager Event Publish Tcl Command Extension
event_publish appl
Publishes an application-specific event.
Syntax
event_publish sub_system ? type ? [arg1 ?] [arg2 ?] [arg3 ?] [arg4 ?]
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
145
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Event Publish Tcl Command Extension

Table of Contents

Related product manuals