Traps have to be defined to trapd for two reasons -- performance and
additional customization. An unformatted trap is one which does not have a
format stored in trapd.conf before it arrives at the NetView box for
processing. You will still receive it and it will still display in the
Events window, but it will be labeled as "no fmt found".
How you get that format into trapd.conf is up to you. There are several
ways. You can do it manually through the GUI using Options--> Event
Configuration (or type xnmtrap on the command line) as root. You can
construct an addtrap script (see the man page on addtrap). Or you can use
mib2trap to construct the addtrap script if you have NetView Version 5.0 or
higher. The mib2trap shipped in Version 5.1 has better defaults than the
one in 5.0 and so will work better than the one in 5.0
James Shanks
Tivoli (NetView for UNIX) L3 Support
John Luk <John.Luk@GOV.AB.CA> on 11/25/98 03:24:51 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: Differenct between SNMP trap and MIB
Note: Some recipients have been dropped due to syntax errors.
Please refer to the "$AdditionalHeaders" item for the complete headers.
Hi,
I remember from this discussion list that James Shanks emphasized
on
the difference between MIB and traps. Especially in the way that MIBs
are compiled and loaded to Netview while traps are defined through the
use of addtrap command. However, I found that most vendors have their
support limited to a download of their MIB but not much mention of
traps. It also appears that the way traps are defined to a NMS is
different for different NMS. My question is : do we always need
traps from a vendor to be "addtrap'ed" to Netview before Netview can
properly format them at the Control Desk and to perform ruleset
automation etc. against these traps from the same vendor ?
Thanks
John Luk
John.luk@gov.ab.ca
|