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-9
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 7 E Commands
event
event
To configure the event statement for the policy, use the
event
command. To delete the event statement
for the policy, use the
no
form of the command.
event
{
cli match
expression
[count
countnum
] [time
seconds
] | counter name
name
entry-val
entry
entry-op {eq | ge | gt | le | lt | ne} [exit-val
value
exit-op {eq | ge | gt | le | lt | ne
}
] |
fanabsent [
fan number
] time
seconds
| fanbad [
fan number
] time
seconds
| memory
{
critical
| minor | severe
}
| module-failure type
failure-type
module
{
slot
| all
}
count repeats [time
seconds
]
| oir
{
fan | module | powersupply
}
{
anyoir | insert | remove} [
number
]|
policy-default count
repeats
[time
seconds
| poweroverbudget [time
seconds
] | snmp oid
oid
get-type {exact | next} entry-op
{
eq | ge | gt | le | lt |ne} entry-val
entry
[exit-comb
{
and |
or
}]
exit-op {eq | ge | gt | le | lt |ne
}
exit-val
exit
exit-time
time
polling-interval
interval
|
temperature
[
module
slot
]
[
sensor number
]
threshold
{
any | major | minor
}}
no event
{
cli match
expression
[count
countnum
] [time
seconds
] | counter name
name
entry-val
entry
entry-op {eq | ge | gt | le | lt | ne} [exit-val
value
exit-op {eq | ge | gt | le | lt | ne
}
] |
fanabsent [
fan number
] time
seconds
| fanbad [
fan number
] time
seconds
| memory
{
critical
| minor | severe
}
| module-failure type
failure-type
module
{
slot
| all
}
count repeats [time
seconds
]
| oir
{
fan | module | powersupply
}
{
anyoir | insert | remove} [
number
]|
policy-default count
repeats
[time
seconds
| poweroverbudget [time
seconds
] | snmp oid
oid
get-type {exact | next} entry-op
{
eq | ge | gt | le | lt |ne} entry-val
entry
[exit-comb
{
and |
or
}]
exit-op {eq | ge | gt | le | lt |ne
}
exit-val
exit
exit-time
time
polling-interval
interval
|
temperature
[
module
slot
]
[
sensor number
]
threshold
{
any | major | minor
}}
Syntax Description
cli
Specifies a CLI event specification.
match
expression
Specifies the regular expression used to perform the CLI command pattern
match. The CLI command must have been successfully parsed before the
pattern match is attempted. The pattern match is compared with the fully
expanded CLI command string. If the expression contains embedded
blanks, enclose it in double quotation mark.
count
countnum
(Optional) Specifies the number of matching occurrences before an EEM
event is triggered. When a number is not specified, an EEM event is
triggered after the first match. The
countnum
argument must be an integer
greater than 0.
time
seconds
(Optional) Specifies the time interval during which the one or more
occurrences must take place. When the keyword is not specified, no time
period check is applied.
counter
Specifies a counter event.
name
name
Specifies the name of the counter that will be monitored. The name
identifier can be any string value.
entry-val
entry
Specifies the value with which the contents of the current counter are
compared to decide if a counter event should be raised. The entry value
ranges from 0 to 2147483647.