R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101
77
reaction checked-element probe-fail (for trap)
Syntax
reaction item-number checked-element probe-fail threshold-type { accumulate accumulate-occurrences
| consecutive consecutive-occurrences } [ action-type { none | trap-only } ]
undo reaction item-number
View
DHCP, DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo test type view
Default level
2: System level
Parameters
item-number: ID for a reaction entry, which ranges from 1 to 10.
threshold-type: Specifies a threshold type.
accumulate accumulate-occurrences: Total number of probe failures in a test, which ranges from 1 to 15.
consecutive consecutive-occurrences: Number of consecutive probe failures since the NQA test group
starts. It ranges from 1 to 16.
action-type: Specifies what action to be triggered to react to certain measurement conditions and it
defaults to none.
none: Specifies to only record events for terminal display, and not to send any trap messages.
trap-only: Specifies to record events and send SNMP trap messages.
Description
Use reaction checked-element probe-fail to configure a reaction entry for monitoring the probe failures.
You cannot edit a reaction entry. To change the attributes in a reaction entry, use the undo reaction
command to delete this entire entry and start over.
Use the undo reaction command to delete the specified reaction entry.
By default, no reaction entry for monitoring probe failures is configured.
Examples
# Create reaction entry 1 for monitoring the probe failures in ICMP echo tests. Before the NQA test group
starts, the initial state of the reaction entry is invalid. After each test, if the total number of probe failures
exceeds 10 (included), the state of the entry is set to over-threshold; otherwise, the state of the entry is set
to below-threshold. Once the state of the reaction entry changes, a trap message is generated and sent
to the network management server.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
accumulate 10 action-type trap-only
# Create reaction entry 2 for monitoring the probe failures in ICMP echo tests. Before the NQA test group
starts, the initial state of the reaction entry is invalid. If probe failure occurs consecutively for 10 times or
more since the test group starts, the state of the entry is set to over-threshold; otherwise, the state of the
entry is set to below-threshold. Once the state of the reaction entry changes, a trap message is generated
and sent to the network management server.