This document provides details and examples about how to add and modify
traps in Netview and HP OpenView.
There are no specific requirements for this document.
The information in this document is based on these software
The information in this document was created from the devices in a
specific lab environment. All of the devices used in this document started with
a cleared (default) configuration. If your network is live, make sure that you
understand the potential impact of any command.
Technical Tips Conventions for more information on document
The most recent versions of the popular network management system (NMS)
applications load traps in the event management portion when you load the MIBs
Compilers and Loading MIBs). This method is by far the easiest, but you
can also load only the traps directly into the NMS if you follow this
Download the latest Cisco Network Management Integration Data
Bundle (NMIDB) from the
(registered customers only)
Get the trapd.41x Cisco traps definition file, which resides in the
/traps directory of the archive.
This file contains trap definitions for HP OpenView and IBM
Merge the trapd.41x file with your existing trapd.conf file.
In order to do so in HP OpenView, use the
xnmevents command. In order to do so in IBM NetView,
use the nvaddtrapdconf command. Consult your HP or
IBM documentation for more details, as the products can change.
In both HP OpenView and IBM NetView, you can add and modify traps with
the GUI, which you can access with either of these methods:
Type xnmtrap at the command
From the menu, choose Options > Event customization >
Trap customization: SNMP.
This example uses the GUI to add the
demandNbrCallInformation trap in
Bring up the GUI and look for the name of the enterprise in the top
area. In this example, the name is cisco-isdn.
Next, complete these steps:
If the enterprise is not present, choose
Type the relevant details in the Enterprise Name and Enterprise ID
In this case, cisco-isdn is the
enterprise name and 22.214.171.124.126.96.36.199.26.2 is the
Click Add when you are
Highlight the enterprise in the top area (which is
cisco-isdn in this
If the name of the trap is not in the bottom area, click
Add and complete the fields.
For this example:
Event name is
The trap is enterprise-specific.
The specific trap number is
This description is taken from the MIB:
This trap-inform is sent to the manager whenever a successful call
clears, or a failed call attempt is determined to have ultimately
failed. In the event that call retry is active, then this is after
all retry attempts have failed. However, only one such trap is sent
in between successful call attempts; subsequent call attempts result
in no trap.
Leave the Event Source field blank.
You can configure the Event Category, Status, and Severity
fields. (Click Help or look at the HP OpenView or IBM NetView
documentation for an explanation of these fields.)
You can configure the Event Log Message field, but you can
complete this information in this example as:
Trap received from enterprise $E with $# arguments:
The Popup Notification and Command for Automatic Action fields
are optional and are described in the HP OpenView or IBM NetView
Click Add when you are done.