IBM Enterprise Console Network Router User Manual


 
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.Afilter 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 Fileon
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 tecad_hpov from the bottom of the file. The following example is
similar to what you can see (the filter in this example is {CORR{default}} .*):
Trap-PDU {
enterprise {136141112171},
agent-addr internet : "\x92T$\057",
generic-trap 6,
specific-trap 59179056,
time-stamp 0,
variable-bindings {
{
name {13614111217210},
value simple : number : 14
},
{
name {13614111217270},
value simple : string : \ "{CORR{default}} .*"
},
{
name {13614111217290},
value application-wide : address : internet : "\x92T$\057"
},
{
name {13614111217280},
value simple : string : "tecad_hpov"
},
{
name {136141112172100},
value simple : number : 14128
}
}
}
% ber:Trap-PDU:
Chapter 5. OpenView Adapter 67