Defining A Boolean Test; Defining An Existence Test - Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration Manual

System basics configuration guide software for e series broadband services routers
Table of Contents

Advertisement

JUNOSe 11.1.x System Basics Configuration Guide

Defining a Boolean Test

You can configure a Boolean trigger to test whether the value of an integer object is
equal, unequal, greater than, less than, less than or equal to, or greater than or equal
to some defined value.
To define a Boolean test:
1.
2.
3.
NOTE: You do not need to bind a failure event to a trigger. If you create a failure
event and a failure occurs, the router sends the trap if the event owner is the same
as the trigger owner.
4.

Defining an Existence Test

An existence test looks for the existence of a MIB object. The appearance,
disappearance, or a change in value of the object can trigger the existence test.
To define an existence test:
1.
182
Configuring the SNMP Server Event Manager
Define the Boolean-test comparison that you want this trigger to use.
host1(config-mgmtevent-trigger)#boolean-test comparison greater
(Optional) Specify that you do not want the Boolean test to perform a comparison
when this trigger first becomes active.
host1(config-mgmtevent-trigger)#boolean-test startup
Specify the events that you want the Boolean-test trigger to use by entering an
event owner name and event name.
host1(config-mgmtevent-trigger)#boolean-test event george trigger1
When specifying an event, use the exact owner name and event name.Specify
the Boolean value to which the test compares.
host1(config-mgmtevent-trigger)#boolean-test value 5175438
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.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.
Define the existence test test-type value that you want this trigger to use.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1

Table of Contents