2.
Define the startup threshold condition that you predict the sample to initially
follow—falling, rising, risingorfalling. For example, if you are sampling a MIB
value that you know will start from zero and rise, you would specify a rising
startup condition.
host1(config-mgmtevent-trigger)#
threshold-test startup rising
3.
Specify the events (rising or falling) that you want the threshold-test trigger to
use by entering an event owner name and event name.
NOTE:
You do not need to bind a failure event to a trigger. If you create a failure
event, if a failure occurs, and if the trigger owner and the event owner are the same,
the router sends the trap.
host1(config-mgmtevent-trigger)#
threshold-test event falling sysadmin
fallingtrigger
host1(config-mgmtevent-trigger)#
threshold-test event rising sysadmin risingtrigger
When specifying an event, make sure to use the exact owner name and event
name.
4.
Specify the agent on which the object resides.
host1(config-mgmtevent-trigger)#
agent context-name router1
You can obtain the agent context name for a virtual router from the
show snmp
agent
command. The agent context name is independent of the virtual router
name.
5.
Enable the trigger.
host1(config-mgmtevent-trigger)#
enable
Once enabled, you cannot edit an event or trigger configuration. To change an
enabled event or trigger, you must delete it and re-create it.
agent context-name
■
Use to specify the virtual router SNMP agent on which you want to poll MIB
objects.
■
The default is the current context (virtual router).
■
The
contextName
value is the virtual router number in the order the virtual router
was created (for example, router1, router2, and so on). Use the
show snmp
agent
command to obtain the context name for the virtual router.
■
Use the
wildcard
keyword to specify that the context name is a wildcard value.
NOTE:
Use caution when assigning wildcards. Wildcards can rapidly use up trigger
resources.
■
Use the
limit
keyword to specify the maximum number of agents to be polled.
184
■
Configuring the SNMP Server Event Manager
JUNOSe 11.1.x System Basics Configuration Guide
Содержание JUNOSe 11.1
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x System Basics Configuration Guide...
Страница 24: ...xxiv List of Figures JUNOSe 11 1 x System Basics Configuration Guide...
Страница 32: ...2 Chapters JUNOSe 11 1 x System Basics Configuration Guide...
Страница 58: ...28 Configuring Remote Access JUNOSe 11 1 x System Basics Configuration Guide...
Страница 176: ...146 Downgrading JUNOSe Software JUNOSe 11 1 x System Basics Configuration Guide...
Страница 280: ...250 Monitoring SNMP JUNOSe 11 1 x System Basics Configuration Guide...
Страница 384: ...354 Monitoring the System JUNOSe 11 1 x System Basics Configuration Guide...
Страница 446: ...416 Monitoring Modules JUNOSe 11 1 x System Basics Configuration Guide...
Страница 580: ...550 Monitoring Virtual Routers JUNOSe 11 1 x System Basics Configuration Guide...
Страница 581: ...Part 2 Reference Material Abbreviations and Acronyms on page 553 References on page 571 Reference Material 551...
Страница 582: ...552 Reference Material JUNOSe 11 1 x System Basics Configuration Guide...
Страница 622: ...592 Hardware Standards JUNOSe 11 1 x System Basics Configuration Guide...
Страница 623: ...Part 3 Index Index on page 595 Index 593...
Страница 624: ...594 Index JUNOSe 11 1 x System Basics Configuration Guide...
Страница 640: ...610 Index JUNOSe 11 1 x System Basics Configuration Guide...