[Top] [All Lists]

RE: Netview to TEC Help

To: nv-l@lists.tivoli.com
Subject: RE: Netview to TEC Help
From: "Rob Rinear" <robr@dirigo.com>
Date: Tue, 19 Sep 2000 12:19:11 -0400
What James said is exactly right, but let me try to expand on it to help...

The process goes basically like this:  an snmp trap comes from Netfinity
manager to your Netview box.  The tecad_nv6k process watches the trap
stream, checks if a new trap is one that should be forwarded, and, if so,
formulates a TEC event to be sent to the TEC server.  On the TEC server,
when this event arrives, it needs to "understand" the information being
passed to it.  For Node Up/Node Down and other standard Netview events, all
these pieces are in place for you; for others (like Netfinity), you need to
define some things.

First, start at the TEC server.  In order for TEC to understand any new
messages, these new Event Classes need to be defined, which is done with a
BAROC file.  In the case of Netfinity, you're in luck...Tivoli offers a free
Plus Module for Netfinity Manager, which can be downloaded from their web
site I believe, and the BAROC files included in that will suffice (an Event
Class called NETF_trap can be generically used).  So find and install that.

Next, Netview needs to know to forward NETF_trap class events, which is done
through the filters in the tecad_nv6k.conf (if you have Filter=IN, then
simply add a line Filter:Class=NETF_Trap to allow those to pass).

Then Netview needs to know what snmp events are NETF_trap's and how to
formulate the TEC message, which are done through a combination of
tecad_nv6k.oid and tecad_nv6k.cds.  Every piece of information passed in an
snmp trap has an OID associated, and these need to be defined in the .oid
file.  Below is the chunk of code I've used in the past, which assigns a
name to each piece of a Netfinity trap...
# Netfinity Manager
"NETFMsg"                ""
"NETFSystem"             ""
"NETFTime"               ""
"NETFDate"               ""
"NETF5"                  ""
"NETF6"                  ""
"NETF7"                  ""
"NETF8"                  ""
"NETF9"                  ""

Then, in the .cds file, you define a NETF_trap and how to forward it on...
    2: ATTR(=,"NETFMsg");
    3: ATTR(=,"NETFSystem");
    msg = $V2;
    hostname = $V3;
    SystemName = $V3;
    severity = CRITICAL;
This code basically tells Netview: if a trap comes in with Enterprise# (Netfinity), and you also received the fields NETFMsg and
NETFSystem, then it is a NETF_trap, and it should build a TEC message with
msg = NETFMsg, hostname & SystemName = NETFSystem and severity of CRITICAL.

Put all this together and you will have a very generic pipe to funnel
Netfinity alerts to TEC.  If you filter well enough at the Netfinity
Manager, this generic setup should be sufficient.  If not, you need to read
some TEC books to get deeper.

-----Original Message-----
From: owner-nv-l@tkg.com [mailto:owner-nv-l@tkg.com]On Behalf Of Daniel
Sent: Friday, September 15, 2000 1:22 PM
To: nv-l@tkg.com
Subject: [NV-L] Netview to TEC Help

I know i have submitted this request before, but i need some help. Below you
will find the original message.

I am currently using Netfinity Manager to forward events to Netview via
SNMP. I then would like to forward to Tivoli TEC.  The NV6K adapter is setup
working properly.  I added the Netfinity MIBs and ran the mib2trap module to
add the trap settings.  The events are viewable in the event monitor log in
Netview.  No Netfinity events are showing up in TEC.  The default severity
Registered is INDETERMINATE,
any help would be appreciated.
The following was the response from a Mr. James Shanks.  I am a little
confused as to what to do, i an fairly new to Netview.  If at all possible
could someone please help for me to understand the necessary steps.  Thanks
again in advance.

The NT TEC  adapter doesn't care what you do with mib2trap.  It uses the
tecad_nv6k* files in \usr\ov\conf to determine what to do.

 In particular, if the enterprise id of these new traps is not in the cds
file, you will have to define it there, and select the data elements (trap
variables) you want sent to TEC.  Probably you will have to define a new
class or classes to get all the data you want sent over. Then you  have to
add Filter statements in the tecad_nv6k.conf to include these new classes in
what is sent.  That takes care of the NetView side. But on the TEC side, you
must make a baroc file and load that into your TEC rulebase in order for TEC
to parse these events when they arrive.

 I'd start by reading the TEC manual on adapters.  They provide
documentation on all these files and their contents.  The tecad_nv6k one
they talk about is their UNIX one, but the NT one shipped with NetView is a
cloned port of that, so all the same information applies.

There is a TEC configurator executable shipped with 6.0 but it is seriously
broken.  I wouldn't use it until you 6.0 or you will probably have to
the conf file by hand anyway.

Hurricane Technology Group, Inc.
Daniel R.  Lehman
Tivoli Architect/Consultant
NV-L List information and Archives: http://www.tkg.com/nv-l

------- End of forwarded message -------

Hurricane Technology Group, Inc.
Daniel R.  Lehman
Tivoli Architect/Consultant
NV-L List information and Archives: http://www.tkg.com/nv-l

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web