hit counter script

Cisco Nexus 5600 Series Configuration Manual page 265

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring EEM
Command
event oir [tag tag] {fan | module | powersupply}
{anyoir | insert | remove} [number]
Example:
switch(config-applet)# event oir fan remove 4
event policy-default count repeats [time seconds]
Example:
switch(config-applet)# event policy-default count 3
event snmp [tag tag] 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
Example:
switch(config-applet)# event snmp oid
1.3.6.1.2.1.31.1.1.1.6 get-type next entry-op lt 300
entry-val 0 exit-op eq 400 exit-time 30
polling-interval 300
event storm-control
Example:
switch(config-applet)# event storm-control
event sysmgr memory [module module-num] major
major-percent minor minor-percent clear
clear-percent
Example:
switch(config-applet)# event sysmgr memory minor
80
OL-31641-01
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Event Statement Configuration
Purpose
Triggers an event if the configured device element
(fan, module, or power supply) is inserted or removed
from the device.
The tag tag keyword-argument pair identifies this
specific event when multiple events are included in
the policy.
You can optionally configure a specific fan, module,
or power supply number. The number range is as
follows:
• Fan number—Module dependent.
• Module number—Device dependent.
• Power supply number—The range is from 1 to
3.
Uses the event configured in the system policy. Use
this option for overriding policies.
The repeats range is from 1 to 65000. The seconds
range is from 0 to 4294967295, where 0 indicates no
time limit.
Triggers an event if the SNMP OID crosses the entry
threshold based on the entry operation. The event
resets immediately. Optionally, you can configure the
event to reset after the counter passes the exit
threshold. The OID is in dotted decimal notation.
The tag tag keyword-argument pair identifies this
specific event when multiple events are included in
the policy.
The entry and exit value ranges are from 0 to
18446744073709551615. The time, in seconds, is
from 0 to 2147483647. The interval, in seconds, is
from 1 to 2147483647.
Triggers an event if the traffic on a port exceeds the
configured storm control threshold.
Triggers an event if the specified system manager
memory threshold is exceeded. The range for the
percentage is from 1 to 99.
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents