Determining The Ovsnmpeventopen Filter Value - IBM Enterprise Console Manual

Ibm enterprise console adapters guide
Table of Contents

Advertisement

on the adapter in proportion to the number of events discarded by the NNM
circuit settings and therefore not forwarded to the adapter. If you are running
NNM 5 or earlier, the adapter calls OVsnmpTrapOpen to open a session; with
NNM 6 or later, the adapter calls OVsnmpEventOpen. Only OVsnmpEventOpen
allows for event correlation of the events before they are forwarded to the adapter.
OVsnmpEventOpen contains a filter parameter that defines which events the
application receives from ovspmd. A filter value of NULL or the empty string ("")
prevents the adapter from receiving any events and makes the session a send-only
session; therefore, this is not a recommended configuration. See the manual page
for OVsnmpEventOpen for more information.
The configuration file keyword HPOVFilter passes the filter value you specify to
OVsnmpEventOpen. HPOVFilter specifies what kind of events are forwarded to
the adapter from ovspmd and contains the value that will be used for the filter
parameter when calling the OVsnmpEventOpen API. If you have NNM 6 and
HPOVFilter is not specified or is commented out, the adapter receives all events
by default. For more information about HPOVFilter, see "Configuration File" on
page 70.

Determining the OVsnmpEventOpen Filter Value

The following examples show two ways to see how the value in HPOVFilter is
passed to OVsnmpEventOpen.
v Example 1: NNM input event tracing is turned on and adapter tracing is turned
off.
Look in the file $OV_LOG/ecs/<ecs-instance#>/ecsin.evt# and do a find on
previous
similar to what you can see (the filter in this example is {CORR{default}} .*):
from the bottom of the file. The following example is
Chapter 5. OpenView Adapter
67

Advertisement

Table of Contents
loading

Table of Contents