Chapter 5. OpenView Adapter
The IBM Tivoli Enterprise Console adapter for the Hewlett-Packard OpenView
(HPOV) product forwards events from OpenView to the event server. The adapter
is registered with the startup configuration of the OpenView operating system
using ovaddobj, so it is started along with all the other applications that use the
operating system. The OpenView ovspmd process manages the adapter and
forwards all preferred events to the event server.
This chapter explains how to configure and start the OpenView adapter.
OpenView Driver
The OpenView adapter collects OpenView trap messages that have been sent by
OpenView trap daemon (ovtrapd) and processed by the ovspmd daemon. The
adapter translates the trap messages into the appropriate IBM Tivoli Enterprise
Console class based on the entry that the trap matches in the .cds file.
Reception of OpenView Messages
In order to receive events generated by the OpenView Network Node Manager
(NNM) and any events from all possible OpenView agents, the OpenView adapter
registers itself into the NNM SUF startup file using the ovaddobj command. The
ovspmd daemon reads SUF at startup and manages all the registered processes it
finds, then receives events from the ovtrapd process and forwards the specified
events to the appropriate registered applications (such as the OpenView adapter).
The OpenView adapter must run as a well-behaved daemon process using the
OVsPMD API (application programming interface) functions provided with
OpenView. The OVsPMD API functions are used by object managers (agents) that
must run as background processes in the OpenView program in order to be
managed by ovspmd, the process management daemon. The adapter interacts with
ovspmd using the SNMP API functions provided with OpenView NNM. This
involves the following steps:
v In NNM 5, calling OVsnmpTrapOpen to establish a logical session with the
OVsnmpAPI to receive SNMP events through the OpenView Event Framework.
v In NNM 6, calling OVsnmpEventOpen to establish a logical session with the
OVsnmpAPI to receive SNMP events through the OpenView Event Framework.
v Calling OVsinit to get a socket for communication with the ovspmd process.
v Calling OVslnitComplete to notify at the end of the initialization, the status of
the initialization process.
v Calling OVsReceive to receive commands from the ovspmd process.
v Calling OVsDone to notify ovspmd that the adapter is being shut down.
Determining the OpenView NNM Version
To determine which version of OpenView NNM you are running, use the
following command:
$OV_BIN/ovnnmversion
© Copyright IBM Corp. 2002 65