Comparison - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

snmp mib event

comparison

Use comparison to specify a Boolean comparison type.
Use undo comparison to restore the default.
Syntax
comparison { equal | greater | greaterOrEqual | less | lessOrEqual | unequal }
undo comparison
Default
The Boolean comparison type is unequal.
Views
Trigger-Boolean view
Predefined user roles
network-admin
Parameters
equal: Specifies the Boolean comparison type as equal. When the sampled value equals the reference
value, the trigger condition is met.
greater: Specifies the Boolean comparison type as greater than. When the sampled value is greater than
the reference value, the trigger condition is met.
greaterOrEqual: Specifies the Boolean comparison type as greater than or equal to. When the sampled
value is greater than or equal to the reference value, the trigger condition is met.
less: Specifies the Boolean comparison type as smaller than. When the sampled value is smaller than the
reference value, the trigger condition is met.
lessOrEqual: Specifies the Boolean comparison type as smaller than or equal to. When the sampled
value is smaller than or equal to the reference value, the trigger condition is met.
unequal: Specifies the Boolean comparison type as unequal. When the sampled value is unequal to the
reference value, the trigger condition is met.
Usage guidelines
If the sampled value meets the trigger condition for multiple times in succession, an event is triggered only
at the first time.
For an event to be triggered when the trigger condition is met at the first sampling for an object, execute
the startup enable command.
Examples
# Specify the Boolean comparison type as unequal.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test boolean
[Sysname-trigger-owner1-triggerA-boolean] comparison unequal
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents