
126
•
consecutive
—If the number of consecutive times that the monitored performance metric is out
of the specified value range reaches or exceeds the specified threshold, a threshold violation
occurs.
Threshold violations for the average or accumulate threshold type are determined on a per NQA
operation basis. The threshold violations for the consecutive type are determined from the time the
NQA operation starts.
Triggered actions
The following actions might be triggered:
•
none
—NQA displays results only on the terminal screen. It does not send traps to the NMS.
•
trap-only
—NQA displays results on the terminal screen, and meanwhile it sends traps to the
NMS.
•
trigger-only
—NQA displays results on the terminal screen, and meanwhile triggers other
modules for collaboration.
The DNS operation does not support the action of sending trap messages.
Reaction entry
In a reaction entry, configure a monitored element, a threshold type, and an action to be triggered to
implement threshold monitoring.
The state of a reaction entry can be invalid, over-threshold, or below-threshold.
•
Before an NQA operation starts, the reaction entry is in invalid state.
•
If the threshold is violated, the state of the entry is set to over-threshold. Otherwise, the state of
the entry is set to below-threshold.
If the action is configured as
trap-only
for a reaction entry, a trap message is sent to the NMS when
the state of the entry changes.
Configuration procedure
Before you configure threshold monitoring, configure the destination address of the trap messages
by using the
snmp-agent target-host
command. For more information about the
command, see
Network Management and Monitoring Command Reference
.
To configure threshold monitoring:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA
operation and
enter NQA
operation view.
nqa entry admin-name
operation-tag
By default, no NQA operation
is created.
3.
Enter NQA
operation view.
type
{
dhcp
|
dlsw
|
dns
|
ftp
|
http
|
icmp-echo
|
snmp
|
tcp
|
udp-echo
|
udp-jitter
|
udp-tracert
|
voice
}
Path jitter does not support
threshold monitoring.
4.
Enable sending
traps to the NMS
when specific
conditions are
met.
reaction trap
{
path-change
|
probe-failure
consecutive-probe-failures
|
test-complete
|
test-failure
[
cumulate-probe-failures
] }
By default, no traps are sent to
the NMS.
The UDP jitter and voice
operations support only the
test-complete
keyword.
The
path-change
keyword is
available only for the UDP
tracert operation.
The following parameters are
not available for the UDP
tracert operation: