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
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 {1 3 6 1 4 1 11 2 17 1},
agent-addr internet : "\x92T$\057",
generic-trap 6,
specific-trap 59179056,
time-stamp 0,
variable-bindings {
{
name {1 3 6 1 4 1 11 2 17 2 1 0},
value simple : number : 14
},
{
name {1 3 6 1 4 1 11 2 17 2 7 0},
value simple : string : \
"{CORR{default}} .*"
},
{
name {1 3 6 1 4 1 11 2 17 2 9 0},
value application-wide : address : internet : "\x92T$\057"
},
{
name {1 3 6 1 4 1 11 2 17 2 8 0},
value simple : string : "tecad_hpov"
},
{
name {1 3 6 1 4 1 11 2 17 2 10 0},
value simple : number : 14128
}
}
}
% ber:Trap-PDU:
Chapter 5. OpenView Adapter
67
Содержание Enterprise Console
Страница 1: ...IBM Tivoli Enterprise Console Adapters Guide V ersion 3 8 GC32 0668 01...
Страница 2: ......
Страница 3: ...IBM Tivoli Enterprise Console Adapters Guide V ersion 3 8 GC32 0668 01...
Страница 8: ...vi IBM Tivoli Enterprise Console Adapters Guide...
Страница 66: ...54 IBM Tivoli Enterprise Console Adapters Guide...
Страница 76: ...64 IBM Tivoli Enterprise Console Adapters Guide...
Страница 90: ...78 IBM Tivoli Enterprise Console Adapters Guide...
Страница 138: ...126 IBM Tivoli Enterprise Console Adapters Guide...
Страница 156: ...144 IBM Tivoli Enterprise Console Adapters Guide...
Страница 176: ...164 IBM Tivoli Enterprise Console Adapters Guide...
Страница 180: ...168 IBM Tivoli Enterprise Console Adapters Guide...
Страница 192: ...180 IBM Tivoli Enterprise Console Adapters Guide...
Страница 193: ......
Страница 194: ...Program Number 5698 TEC Printed in U S A GC32 0668 01...