Event Snmp-Notification - HP FlexFabric 12500 Series Network Management And Monitoring Command Reference

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

online help system displays the value range as character strings of 1 to 512 characters. If the threshold
value contains spaces, you must enclose the value in quotation marks (" ").
restart-op op: Specifies the operator for comparing the sampled value with the restart threshold. The
policy is executed if the comparison result meets the condition. For keywords available for the start-op
argument, see
restart-op restart-val: Specifies the restart threshold to be compared with the sampled value. The
restart-val argument can be any data type supported by SNMP, including numerals and character strings.
The CLI online help system displays the value range as character strings of 1 to 512 characters. If the
threshold value contains spaces, you must enclose the value in quotation marks (" ").
interval interval: Specifies the sampling interval in the range of 1 to 4294967295 seconds. The default
is 300 seconds.
Usage guidelines
Use SNMP event monitor policy to monitor value changes of MIB variables.
EAA uses the following process to monitor the value changes of a variable:
1.
Compares the variable sample with the start threshold at sampling intervals by using the start
operator until the comparison result meets the condition.
2.
Executes the policy.
3.
Compares the variable sample with the restart threshold at sampling intervals by using the restart
operator until the comparison result meets the condition.
4.
Executes the policy again.
This process cycles for the monitor policy to be executed and re-executed.
You can configure only one event for one monitor policy. If the monitor policy already contains an event,
the new event replaces the old event.
Examples
# Configure a CLI-defined policy to get the value of the MIB variable 1.3.6.4.9.9.42.1.2.1.6.4 every five
seconds. Enable the system to execute the policy when the value is equal to 1, and then execute the policy
again when the value is equal to 2.
<Sysname> system-view
[Sysname] rtm cli-policy snmp
[Sysname-rtm-snmp] event snmp oid 1.3.6.4.9.9.42.1.2.1.6.4 get start-op eq start-val 1
restart-op eq restart-val 2 interval 5

event snmp-notification

Use event snmp-notification to configure an SNMP_Notification event for a CLI-defined policy.
Use undo event to remove the event in a CLI-defined policy.
Syntax
event snmp-notification oid oid oid-val oid-val op op [ drop ]
undo event
Default
No SNMP_Notification events are configured.
Table
52.
248

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents