![Cisco MDS 9000 Series Скачать руководство пользователя страница 498](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253498.webp)
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
7-12
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 7 E Commands
event
This following example shows how to specify that an EEM applet runs when a fan absent event occurs:
switch#
configure terminal
switch(config)#
event manager applet absent-applet
switch(config-applet)#
event fanabsent time 42
switch(config-applet)#
The example example shows how to specify that an EEM applet runs when a fan absent event occurs:
switch#
configure terminal
switch(config)#
event manager applet bad-applet
switch(config-applet)#
event fanbad time 42
switch(config-applet)#
The example shows how to specify that an EEM applet runs when a module failure event occurs:
switch#
configure terminal
switch(config)#
event manager applet modfail-applet
switch(config-applet)#
event module-failure type unexpected-registration module 6 count 2
switch(config-applet)#
The following example shows how to specify that an EEM applet be run on the basis of an event raised
when a module OIR occurs:
switch#
configure terminal
switch(config)#
event manager applet oir-applet
switch(config-applet)#
event oir module anyoir
switch(config-applet)#
The following example shows how to use the event in the system policy being overridden:
switch#
configure terminal
switch(config)#
event policy-default count 6
switch(config)#
The following example shows how to specify the event criteria for an EEM applet that is run by sampling
SNMP object identifier values:
switch#
configure terminal
switch(config)#
event manager applet snmp-applet
switch(config-applet)#
event snmp oid 4.2.1.6 get-type next entry-op eq entry-val 42
poll-interval 2
switch(config-applet)#
The following example shows how to specify that an EEM applet runs when a temperature event occurs:
switch# configure terminal
switch(config)#
event manager applet temp-applet
switch(config-applet)#
event temperature threshold major
switch(config-applet)#
Related Commands
Command
Description
show event manager
policy
Displays the register Embedded Event manager policies.