To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: snmp trap and forward trap to T/ec / try #2 |
From: | "James Shanks" <jshanks@us.ibm.com> |
Date: | Fri, 14 Dec 2001 10:08:48 -0500 |
This is a multipart message in MIME format. Dominic - You must walk before you can run, and you must read before you can successfully configure NetView to do this. Did you install the on-line books that came with NetView? There are books included just for new users like you. And some which veryone has to consult from time to time. Answers: 1. You can add a trap definition to NetView in one of two ways, with or without a MIB. With a MIB, you run the mib2trap command (type in "man mib2trap" in a command window and you will learn how that works). The outptut of mib2trap is a script file containing addtrap commands, one for each trap defined in the MIB. You just execute the script when mib2trap produces it. If you want to understand what it is doing see the man page on addtrap (type in "man addtrap"). Without a MIB you use the Trap Configuration dialog. There are two ways to invoke it. You can get it off the main NetView GUI (Options --> Event Configuration ---> Trap Customization) or just by typing in "xnmtrap" from a command window. You must be root to do this or you will not be allowed to save your changes. xnmtrap has a help button which you can invoke at any time, but you have to have installed the books and have Netscape available in order for it to work. That was covered in the Installation Guide and release notes when the product was installed. If you did not install the books, I suggest you do it now. Once in the Trap Customization tool, you will see Enterprises at the top and specific traps on the bottom. If you are doing a manual entry you will click "Add" at the top and enter the enterprise id and the name you want it known by. Then you can click "Add" at the bottom ad add your specific trap. Try looking at other enterprises to see how this is done. And by all means read about it in the NetView Administration manual in the online books. You will find a very large chapter on Event Configuration. My advice is to spend some time with it. 2. You cannot invent an enterprise id. It has to be the one the vendor is using, which will be the one assigned to him by the Internet Authority. If you have a MIB, then mib2trap will obtain it from the MIB. If you don't, then just configure the remote box to send you the trap you want and when it arrives, you will see it in the /usr/OV/log/trapd.log and in the event window with a big "NO FMT FOUND" message. Then all the trap contents will be displayed and you can use them in the Trap Customization dialog to specify what you want to see. 3. Enterprise ids are assigned by the Internet Authority. The follow the standard MIB tree iso(1) org(3) dod(6) internet(1) private (4) enterprises(1) or 1.3.6.1.4.1. The Authority assigns the next number. IBM is 2. Cisco is 9. Microsoft is 311. From then on it is up to that vendor to say what comes next. If you look at the NetView enterprise, you will see that it is 1.3.6.1.4.1.2.6.3 and sometimes 1.3.6.1.4.1.2.6.3.1 The second "6" IBM assigned to NetView. The "3" we originally assigned to netmon, but now it is used for everything internal. The same for the final "1" in our traps. That's what we use, but it no longer has a special meaning. Other vendors have their own convention. So you have to find out from the vendor what enterprise he is using wen he sends this trap. The easiest way to do that is to just have the device send it, and then you can see it in the window or trapd.log. Next: Once you have the trap formatted in trapd.conf, then you can build your ruleset to forward it to TEC. The Trap Settings box in the ruleset will pul the trap definitions from trapd.conf and you can then use it in your ruleset. If all this is just to much for you o handle all at once, then I suggest you see about getting some help. IBM Global Services has people who can come to your site and help you do this kind of thing, as well as customize NetView in a more advanced way. There are other independent vendors, many of whom are on this forum, who can do the same thing and help you get started. You might also want to contact IBM/Tivoli education about attending their classes on NetView, which are quite good. James Shanks Level 3 Support for Tivoli NetView for UNIX and NT Tivoli Software / IBM Software Group "D'Apice, Dominic" <D.D'Apice@SAQ.qc.ca> Sent by: owner-nv-l@tkg.com 12/14/2001 09:00 AM Please respond to IBM NetView Discussion To: "'nv-l@tkg.com'" <nv-l@tkg.com> cc: "'donald.davis@firstcitizens.com'" <donald.davis@firstcitizens.com> Subject: [NV-L] snmp trap and forward trap to T/ec / try #2 Hello, i would like to add a snmp trap to Netview and forward this trap to the T/ec . ps : we use netview 7.1 on aix, the trap should come from a gateway server that support Radio frequency incoming snmp trap. This gateway should then forward to netview the snmp trap and then Netview will forwarded this event to the tec (event console) i think i must use mib2trap or xnmp... 1- My first question is , how to add a snmp trap with or without MIB ? 2- My second question is : for forward a event (trap) to the event console i need a enterprise ID (in the rules set editor), how can i create a enterprise ID for this trap ? does it create itself when i add the new trap with mib2trap ? in case or the provider of this trap does not have a mib, what can i do ? 3- What is exactly a enterprise id ? it represent only one objet in the network or it a group of objets ? thank to reply (sorry i'm new ) Dominic D'Apice Technicien informatique d.d'apice@saq.qc.ca _________________________________________________________________________ NV-L List information and Archives: http://www.tkg.com/nv-l Dominic - You must walk before you can run, and you must read before you can successfully configure NetView to do this. Did you install the on-line books that came with NetView? There are books included just for new users like you. And some which veryone has to consult from time to time. Answers: 1. You can add a trap definition to NetView in one of two ways, with or without a MIB. With a MIB, you run the mib2trap command (type in "man mib2trap" in a command window and you will learn how that works). The outptut of mib2trap is a script file containing addtrap commands, one for each trap defined in the MIB. You just execute the script when mib2trap produces it. If you want to understand what it is doing see the man page on addtrap (type in "man addtrap"). Without a MIB you use the Trap Configuration dialog. There are two ways to invoke it. You can get it off the main NetView GUI (Options --> Event Configuration ---> Trap Customization) or just by typing in "xnmtrap" from a command window. You must be root to do this or you will not be allowed to save your changes. xnmtrap has a help button which you can invoke at any time, but you have to have installed the books and have Netscape available in order for it to work. That was covered in the Installation Guide and release notes when the product was installed. If you did not install the books, I suggest you do it now. Once in the Trap Customization tool, you will see Enterprises at the top and specific traps on the bottom. If you are doing a manual entry you will click "Add" at the top and enter the enterprise id and the name you want it known by. Then you can click "Add" at the bottom ad add your specific trap. Try looking at other enterprises to see how this is done. And by all means read about it in the NetView Administration manual in the online books. You will find a very large chapter on Event Configuration. My advice is to spend some time with it. 2. You cannot invent an enterprise id. It has to be the one the vendor is using, which will be the one assigned to him by the Internet Authority. If you have a MIB, then mib2trap will obtain it from the MIB. If you don't, then just configure the remote box to send you the trap you want and when it arrives, you will see it in the /usr/OV/log/trapd.log and in the event window with a big "NO FMT FOUND" message. Then all the trap contents will be displayed and you can use them in the Trap Customization dialog to specify what you want to see. 3. Enterprise ids are assigned by the Internet Authority. The follow the standard MIB tree iso(1) org(3) dod(6) internet(1) private (4) enterprises(1) or 1.3.6.1.4.1. The Authority assigns the next number. IBM is 2. Cisco is 9. Microsoft is 311. From then on it is up to that vendor to say what comes next. If you look at the NetView enterprise, you will see that it is 1.3.6.1.4.1.2.6.3 and sometimes 1.3.6.1.4.1.2.6.3.1 The second "6" IBM assigned to NetView. The "3" we originally assigned to netmon, but now it is used for everything internal. The same for the final "1" in our traps. That's what we use, but it no longer has a special meaning. Other vendors have their own convention. So you have to find out from the vendor what enterprise he is using wen he sends this trap. The easiest way to do that is to just have the device send it, and then you can see it in the window or trapd.log. Next: Once you have the trap formatted in trapd.conf, then you can build your ruleset to forward it to TEC. The Trap Settings box in the ruleset will pul the trap definitions from trapd.conf and you can then use it in your ruleset. If all this is just to much for you o handle all at once, then I suggest you see about getting some help. IBM Global Services has people who can come to your site and help you do this kind of thing, as well as customize NetView in a more advanced way. There are other independent vendors, many of whom are on this forum, who can do the same thing and help you get started. You might also want to contact IBM/Tivoli education about attending their classes on NetView, which are quite good. James Shanks Level 3 Support for Tivoli NetView for UNIX and NT Tivoli Software / IBM Software Group
Hello, i would like to add a snmp trap to Netview and forward this trap to the T/ec . ps : we use netview 7.1 on aix, the trap should come from a gateway server that support Radio frequency incoming snmp trap. This gateway should then forward to netview the snmp trap and then Netview will forwarded this event to the tec (event console) i think i must use mib2trap or xnmp... 1- My first question is , how to add a snmp trap with or without MIB ? 2- My second question is : for forward a event (trap) to the event console i need a enterprise ID (in the rules set editor), how can i create a enterprise ID for this trap ? does it create itself when i add the new trap with mib2trap ? in case or the provider of this trap does not have a mib, what can i do ? 3- What is exactly a enterprise id ? it represent only one objet in the network or it a group of objets ? thank to reply (sorry i'm new ) Dominic D'Apice Technicien informatique d.d'apice@saq.qc.ca _________________________________________________________________________ NV-L List information and Archives: http://www.tkg.com/nv-l |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: Nvcorrd error checking, Stephen Hochstetler |
---|---|
Next by Date: | RE: Nvcorrd error checking, Jorge Jiles |
Previous by Thread: | snmp trap and forward trap to T/ec / try #2, D'Apice, Dominic |
Next by Thread: | SUN Enterprise MIB CPU, t04706a |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web