Designing and Managing Behavior Models - Behavior Models and Their Components - NerveCenter Objects - Trap Masks -
Previous: Polls     Next: Alarms

Trap Masks

A trap mask filters SNMP traps that NerveCenter receives. Based on criteria that you specify, the trap mask either filters out each trap or fires a trigger in response to it. A trigger fired by a mask is exactly the same as a trigger fired by a poll except that a trap trigger contains the trap's variable binding list instead of the values of MIB attributes. (For further information about the trigger object, see the section Polls.)

The principal attributes of a trap mask are shown in the figure below.

Trap Mask's Data Set

modelsAndComponents6a.gif

The table below explains what information these data members contain and, where appropriate, how NerveCenter uses that information.

Definitions of Trap Mask Attributes

Attribute Definition

Name

The name of the trap mask.

Generic

The generic trap type is an enumeration constant indicating the nature of the event being reported:

From

Indicates that the object identifier (OID) contained in the trap's Enterprise field must represent a branch in the MIB tree that is the same as, or subordinate to, the branch represented by the contents of the trap mask's Enterprise field.

From Only

Indicates that the OID contained in the trap's Enterprise field must match the trap mask's Enterprise attribute exactly.

Enterprise

An OID (or name) representing the object referenced by the trap.

Specific

A trap number supplied by the vendor of the product whose agent generated the trap. The significance of the trap number is defined in an ASN.1 file provided by the vendor.

Trigger Type

Trigger Type can be set to either Simple Trigger or Trigger Function. See the next two table entries for definitions of these trigger types.

Simple Trigger

A simple trigger is one that will be fired whenever the trap mask sees a trap that meets the criteria specified in the fields discussed above.

Trigger Function

A trigger function is a Perl script that is called whenever the trap mask sees a trap that meets the criteria specified in the fields discussed above. This function typically looks at information in the trap's variable bindings and fires a trigger if a condition is fulfilled. The trigger function fires this trigger using NerveCenter's FireTrigger() function.

Enabled

As with a poll, a trap that is disabled (Enabled is set to Off) is nonfunctional.



Previous: Polls Next: Alarms
Please send comments or corrections to Information Development
This file was last updated on 10 October 2000