Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual page 498

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

event
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
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
show event manager
policy
Cisco MDS 9000 Family Command Reference
7-12
Description
Displays the register Embedded Event manager policies.
Chapter 7
E Commands
OL-18089-01, Cisco MDS NX-OS Release 4.x

Advertisement

Table of Contents
loading

Table of Contents