Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

to install a trap file

Status
Not open for further replies.

astin

MIS
Jun 20, 2002
87
GB
how do i do it ? anyone ? i know i do not take out the text and include it in the trapd.conf file...
 
The best way is to load the MIBs, which include the trapd.conf defenitions and are added to trapd.conf automatically when loaded.
 
If you've downloaded a trap file from a vendor site such as cisco, you can do a "xnmevents -merge 'trapfilenamehere'"

if you've got a few systems that you that you want to keep in sync (I've got 14 boxes running NNM6.31).. load up all your mib's and get the events setup like you want them, then;

copy snmpmib (ascii), snmpmib.bin (bin) to the new box(s),
mv trapd.conf -> trapd.conf.orig (or whatever you want to call it), then copy over the trapd.conf from the system you loaded the mibs on, next 'xnmevents -merge trapd.conf.orig' (or whatever you called the backup file).

This saves alot of time and headache trying to keep which evenents you've added/modified even accross the board.

hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top