194
You can configure EAA monitor policies by using the CLI or Tcl.
A monitor policy contains the following elements:
• One event.
• A minimum of one action.
• A minimum of one user role.
• One running time setting.
For more information, see "Elements in a monitor policy."
Elements in a monitor policy
Event
Table 19 shows types of events that EAA can monitor.
Table 19 Monitored events
CLI
CLI event occurs in response to monitored operations performed at the CLI. For
example, a command is entered, a question mark (?) is entered, or the
Tab
key is
pressed to complete a command.
Syslog
Syslog event occurs when the information center receives the monitored log within a
specific period.
NOTE:
The log that is generated by the EAA RTM does not trigger the monitor policy to run.
Process
Process event occurs in response to a state change (caused by an automatic system
task) of the monitored process (such as an exception, shutdown, start, or restart).
Hotplug
Hotplug event occurs when the following situations occur:
• Master/subordinate switchover occurs.
• Member device is added to or removed from the IRF fabric.
• Monitored card is inserted or removed while the IRF fabric is operating.
Interface
Each interface event is associated with two user-defined thresholds: start and restart.
An interface event occurs when the monitored interface traffic statistic crosses the
start threshold in the following situations:
• The statistic crosses the start threshold for the first time.
• The statistic crosses the start threshold each time after it crosses the restart
threshold.
SNMP
Each SNMP event is associated with two user-defined thresholds: start and restart.
SNMP event occurs when the monitored MIB variable's value crosses the start
threshold in the following situations:
• The monitored variable's value crosses the start threshold for the first time.
• The monitored variable's value crosses the start threshold each time after it
crosses the restart threshold.
SNMP-Notification
SNMP-Notification event occurs when the monitored MIB variable's value in an SNMP
notification matches the specified condition. For example, the broadcast traffic rate on
an Ethernet interface is equal to or greater than 30%.
Action
You can create a series of order-dependent actions to take in response to the event specified in the
monitor policy.
The following are available actions: