![Cisco ASR 9000 Serie Скачать руководство пользователя страница 125](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679125.webp)
(Optional) Destination IP address where the SNMP
notification trap is sent. The default is all; it is set to
receive SNMP traps from all destination IP addresses.
dest_ip_address
(Optional) Specifies the time period in seconds during
which the snmp notification event detector waits for
the policy to exit. Thetime periodis specified in
ssssssssss[.mmm] format, where ssssssssss must be
an integer representing seconds between 0 and
4294967295 and mmm must be an integer
representing milliseconds between 0 and 999
default
(Optional) The direction of the incoming or outgoing
SNMP trap or inform PDU to filter. The default value
is outgoing. For XR direction incoming will not be
supported and policy registration will fail if user
provides direction as incoming.
direction
(Optional) The action to be taken on the SNMP PDU
(drop it or send it) once the event is triggered. The
default value is send. For XR msg_op drop will not
be supported and policy registration will fail if user
provides msg_op as drop.
msg_op
Result String
None
Set _cerrno
No
event_register_stat
Registers for a statistics event. Use this Tcl command extension to run a policy when a given statistical counter
crosses a defined threshold.
The following three fields are listed to uniquely identify the statistics counter that the EEM keyword monitors:
•
Data element name corresponds to the argument name. For example, the ifstats-generic name is defined
as interface generic statistics.
•
The first modifier of the data element corresponds to the
modifier_1
argument. For example, Ethernet1_0
is defined as the first modifier for ifstats-generic, which qualifies the interface generic statistics to be
specific for the Ethernet interface.
•
The second modifier of the data element corresponds to the
modifier_2
argument. For example, input-ptks
is defined as the second modifier for ifstats-generic, which further qualifies the interface statistics for
the specific Ethernet interface is the number of packets received.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
109
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Event Registration Tcl Command Extensions