277
Syntax
startup
{
absent
|
present
}
undo startup
{
absent
|
present
}
Default
The existence test types for the first sampling are
present
and
absent
.
Views
Trigger-existence view
Predefined user roles
network-admin
Parameters
absent
: Monitors the absence of a MIB object.
present
: Monitors the presence of a MIB object.
Usage guidelines
For the first sampling, an event is triggered when the following conditions are met:
•
Both the
startup
and
type
commands specify the existence test type as present and the state
of the monitored object changes to present at the first sampling. If the monitored objects are
wildcarded, the event is triggered independently for each wildcarded object.
•
Both the
startup
command and
type
commands specify the existence trigger test type as
absent and the state of the monitored object changes to absent at the first sampling. If the
monitored objects are wildcarded, no event is triggered.
Examples
# Remove the present test configuration for the first sampling.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test existence
[Sysname-trigger-owner1-triggerA-existence] undo startup present
Related commands
type
startup (trigger-threshold view)
Use
startup
to specify a threshold trap type for the first sampling.
Use
undo startup
to restore the default.
Syntax
startup
{
falling
|
rising
|
rising-or-falling
}
undo startup