249
Syntax
type { absent | changed | present }
undo type { absent |changed | present }
Default
The existence test types are present and absent.
Views
Trigger-existence view
Predefined user roles
network-admin
Parameters
absent: Monitors the absence of an object.
changed: Monitors the change of the value of an object. If the last sampling does not obtain a value,
the event is not triggered.
present: Monitors the presence of an object.
Usage guidelines
For the first sampling, see "startup (trigger-existence view)".
The existence trigger tests also apply to the wildcarded instances of the monitor object.
Examples
# Specify the existence test type as present.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test existence
[Sysname-trigger-owner1-triggerA-existence] type present
Related commands
snmp mib event trigger
startup
test
value (action-set view)
Use value to set a value for a set-action object.
Use undo value to restore the default.
Syntax
value integer-value
undo value
Default
The value of a set-action object is 0.
Views
Action-set view