Loading a MIB and formatting a trap are two distinct operations in NetView.
If your MIB contains trap information then you can run mib2trap on it and that
will create and addtrap script which you can then run to update trapd.conf. If
not, then you can always configure your trap manually. It is not hard. You use
the GUI (Options --> Event Configuration) or just type xnmtrap from the command
line. The unformatted trap in the events window or trapd.log tells you
everything you need to know: enterprise id, generic id, specific id, and all the
variables, so you can decide for yourself how it should look the next time.
Even if you use the first method you may want to use the second after the
addtrap, because most vendors do not provide a default format for their traps.
This is covered in Chapter 5 of the NetView Admin Guide.
James Shanks
Tivoli (NetView for UNIX) L3 Support
Jeanie Cham <yccham@NCS.COM.SG> on 09/30/99 07:48:41 AM
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/Tivoli Systems)
Subject: Cisco MIBs & Traps
Hi,
I want to monitor some Cisco Catalyst switches with Netview 5.1. I
copied CISCO-STACK-MIB.my (a Cisco MIB) into my "/usr/OV/snmp_mibs"
directory & loaded the MIB.
What else do I need to do after loading the MIB? How do I recognise
Cisco traps? I still get "trap found with no known format". I tried to
do MIB query on this new MIB but I don't get further than the
"workgroup" MIB.
Any help will be greatly appreciated.
Thanks & regards,
Jeanie
|