The SNMP Trap QA Monitor operates differently than all other Monitors in ipMonitor. It does not poll resources on timed intervals. Instead, it listens for incoming SNMP Traps and performs tests on the data it receives.
ipMonitor assumes the role of an SNMP manager:
Integrating ipMonitor with third-party Network Management solutions:
SNMP Trap listening is disabled by default. This is done to ensure that ipMonitor properly co-exists with existing Network management software.
To enable the SNMP Trap Listener:
Any agent you configure to send Traps to ipMonitor must use this same IP Address and Port combination.
Note regarding Windows SNMP Trap Service:
If the Windows SNMP Trap Service is enabled on the ipMonitor host computer, it is very likely to conflict with ipMonitor's SNMP Trap Listener (depending on configuration parameters).
Normally, the Windows SNMP Trap Service is configured to listen on IP Address 0.0.0.0 Port 162 (in other words, it is configured to listen for all inbound Traps on Port 162). ipMonitor also uses the same default settings for its SNMP Trap Listener. Because only one SNMP Trap Listener can be bound to Port 162 at a time, a conflict occurs.
To solve this problem:
The Trap Filtering dialog box is used to filter incoming Trap PDU information sent to ipMonitor. SNMP Trap QA Monitors support a large bank of parameters for isolating which Agents and OIDs ipMonitor will accept for analysis.

Version
This is the SNMP version ipMonitor supports for the incoming SNMP Trap.
Community
The SNMP Community string acts like a password for SNMP. When ipMonitor receives a Trap from an Agent, it will include the SNMP Community string. If both ipMonitor and the Agent use this same Read-Only string, ipMonitor will continue its "Trap Filtering" and progress to the IP Range test.
SNMP default communities are:
Some SNMP Agents allow you to use non-default Community strings. This is typically done to improve the SNMP security model, often in conjunction with a non-standard SNMP port.
Allowed IP Address Range (start) & (end)
For security purposes, Traps can be accepted based on a range of IP addresses:
Filter using the source address from within the SNMP TRAP packet, not the IP Header
To increase the flexibility of the SNMP Trap QA Monitor IP address filtering, two variations are supported:
Generic Type
The incoming Generic Trap field must be one of the predefined SNMPv1 Trap types:
Refer to RFC 1157 for more information.
Enterprise OID
Enter the Object Identifier that identifies the network management subsystem that generated the SNMP Trap. The OID identifies the object's position in a global object registration tree.
To locate OIDs for your applications and equipment:
Note: The Custom Database Builder is only available to Licensed ipMonitor customers. For detailed instructions on compiling and importing a MIB database, refer to the tutorial entitled Add a Custom MIB Database to your ipMonitor Installation, located on the Support Portal.
Get Info
Click the Get Info button to query ipMonitor's built-in SNMP database for details about the OID you enter. Type Information is ideal for determining what type analysis can be performed in the Analysis of Test Results section.
To OID
Click the To OID button to convert the readable label of the OID path into its standard numerical notation. For example, clicking the To OID button will convert sysUpTime.0 to 1.3.6.1.2.1.1.3.0
An Enterprise OID prefix can be specified by using an asterisk as a wildcard character. For example: 1.3.6.1.4.1.*
Anything below the asterisk is accepted. This allows you to configure a single SNMP Trap QA Monitor to accept Traps from multiple SNMP-enabled devices or applications.
Enterprise Specific Kind
The Enterprise Specific Kind field is used to isolate vendor specific problems.
If enterpriseSpecific is selected for the Generic Type field, ipMonitor allows you to optionally add one or more Specific Trap Kinds unique to the network management subsystem generating the Trap.
To add more Specific Kinds, click the Add... button, and then click the Or... button for any subsequent entries. This makes it possible to Alert based on more than one Specific Kind of Trap.
If a Trap successfully progresses through the Trap Filtering process, analysis can be performed on test results to locate specific information within its Variable Bindings.

Examine the Variable Bindings
If Disabled, an Alert will be generated should the incoming Trap pass the test criteria defined by the Trap Filter settings. If you choose this option, you will be unable to locate specific parameters within the Trap's Variable Bindings for use with ipMonitor's Information Alerts.
If Enabled, you will be able to examine the Variable Bindings of the incoming Trap to locate specific information, and then include the information within an Information Alert.
Variable to Analyze (by OID)
Typically, Variable Bindings will contain a number of different OIDs. The Variable to Analyze field lets you select the specific OID(s) that you want to filter for information.
Two match types are supported:
The data type of the Variable Bindings controls how the SNMP Trap QA Monitor will analyze the Variable object. The SNMP Trap QA Monitor can perform two types of comparison:
Variable will (Numeric data type)
This option instructs the Monitor to operate on numeric values. Supported numeric tests include:
The AND... button and the OR... button can be used to increase the flexibility of the test. For example, you may test to check that:
Variable will (Text data type)
This option instructs the Monitor to operate on a string value. Several comparison types are available, including Regular Expression and string matches:
Note: ipMonitor includes a RegEx Wizard to help create Regular Expressions.
The SNMP Trap QA Monitor can be used with ipMonitor's Information Alerts to:

Information Alerts consist of two integral parts:
Refer to Content Generators for more information regarding formatting and supplemental Tokens.
You can confirm your remote Agent is configured correctly by sending an SNMP Trap to ipMonitor. ipMonitor may be configured to record all SNMP Traps it receives in its snmptrap.log file.
Sample Trap from snmptrap.log:
The Trap shown below is an Enterprise Specific Temperature Trap produced by a Dell PowerEdge Server.
----8<--------------
Intact SNMP Trap Accepted: time(Tue Feb 24 19:07:39 2004)
src_ip (10.7.0.10)
version: 1
community: public
enterprise: 1.3.6.1.4.1.674.10892.1
agent-addr: 10.7.0.10
generic-trap: enterpriseSpecific (6)
specific-trap: 1053
time-stamp: 417089
Variable Bindings:
1.3.6.1.4.1.674.10892.1.5000.10.1.0: TYPE[4] TEXT
"INRANETSRV"
1.3.6.1.4.1.674.10892.1.5000.10.2.0: TYPE[6] TEXT
"1.3.6.1.4.1.674.10892.1.700.20.1.2.1.2"
1.3.6.1.4.1.674.10892.1.5000.10.3.1: TYPE[4] TEXT
"Temperature sensor detected a warning value \nSensor location: Ambient \nChassis location:Main System Chassis\nPrevious state was: OK (Normal) \nTemperature sensor value (in Degrees Celsius): 42.000"
1.3.6.1.4.1.674.10892.1.5000.10.4.0: TYPE [2] NUMERIC 4
1.3.6.1.4.1.674.10892.1.5000.10.5.0: TYPE [2] NUMERIC 3
1.3.6.1.4.1.674.10892.1.5000.10.6.0: TYPE [4] TEXT ""
----8<--------------

Monitor Configuration Settings:
In this example, the Examine the Variable Bindings option has been enabled. Note the Regular Expression designed to filter the Sensor location, Chassis location and Degrees Celsius.
Examine the Variable Bindings
ENABLED
Variable to analyze (by OID)
Exact match:1.3.6.1.4.1.674.10892.1.5000.10.3.0
type: text
Variable will RegEx match
(Sensor location: .*?)\\n(Chassis location: .*?)\\n.*Degrees Celsius\)\: (.*?)

Content Generator Value
Shown here is the Temperature Content Generator value.
Content Generators:

| Name: | SNMP Trap Capture (Temperature) |
| Value: | %capture[1]% | %capture[2]% |
| Temperature = | %capture[3]% degrees Celsius |
Information Alert Results
The output of the Temperature Content Generator was designed to be sent by email.
| Sensor location: | Ambient |
| Chassis location: | Main System Chassis |
| Temperature = | degrees Celsius |
When the Monitor is in an Up state, test results are reported as shown in the example below:
listening
listening - The Monitor is listening for incoming SNMP Traps.
Note: To view the Last Result reported by the Monitor, access ipMonitor's Real Time and Historical Reports interface. Select Real Time Status Reports, and then choose the NOC View or Details View option.
Since the SNMP Trap QA Monitor is a non-polling event-based Monitor, it does not track uptime, downtime or response times. Therefore, Timing Parameters do not apply to the SNMP Trap QA Monitor.
For information on settings common to all Monitor types, such as Identification, Notification Control and Recovery Parameters, refer to General Monitor Settings.
< Back
![]()
Last Updated: March 30, 2007 | What did you think of this topic?