beautypg.com

Action, User role, Runtime – H3C Technologies H3C MSR 5600 User Manual

Page 232: Eaa environment variables

background image

219

Event type Description

SNMP

SNMP event occurs when the monitored MIB variable's value changes.
Each SNMP event is associated with two user-defined thresholds: start threshold and

restart threshold. Policy execution is always triggered by crossing of the start threshold
and crossing of the restart threshold in turn.
EAA executes the monitor policy when the monitored variable's value and the start
threshold meet a predefined condition, and then it executes the monitor policy again

when the monitored variable's value and the restart threshold meet a predefined
condition. This process cycles to execute and re-execute the monitor policy.
For example, EAA executes the monitor policy when the monitored variable's value is
equal to the start threshold, and then it executes the monitor policy again when the

monitored variable's value is equal to or higher than 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:

Executing a command.

Sending a log.

Enabling an active/standby switchover.

Executing a reboot without saving the running configuration.

User role

For EAA to execute an action in a monitor policy, you must assign the policy the user role that has access

to the action-specific commands and resources. If EAA lacks access to an action-specific command or
resource, EAA does not perform the action and all the subsequent actions.
For example, a monitor policy has four actions numbered from 1 to 4. The policy has user roles that are

required for performing actions 1, 3, and 4, but it does not have the user role required for performing

action 2. When the policy is triggered, EAA executes only action 1.
For more information about user roles, see RBAC in Fundamentals Configuration Guide.

Runtime

Policy runtime limits the maximum amount of time that the monitor policy can run from the time it is

triggered. This setting prevents an incorrectly defined policy from running permanently to occupy

resources.

EAA environment variables

EAA environment variables decouple the configuration of action arguments from the monitor policy so

you can modify a policy easily.
An EAA environment variable is defined as a <variable_name variable_value> pair and can be used in

different policies. When you define an action, you can enter a variable name with a leading dollar sign

This manual is related to the following products: