Operating System - HP-UX
1832950 Members
2806 Online
110048 Solutions
New Discussion

Re: Anyone using Big Brother to send snmp traps?

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

Anyone using Big Brother to send snmp traps?

Hi,

Anyone using Big Brother to send snmp traps?
We have BBPE 3.0 and we want to send snmp traps
to OVO/NNM. We basically want to know how to setup Big Brother to send snmp traps.

10 points to any good answer.
Thank you
Gino
1 REPLY 1
Glenn Crawford_1
New Member
Solution

Re: Anyone using Big Brother to send snmp traps?

It's easy.. you install the UCD snmptrap program and add the following lines to the bbwarnsetup.cfg:

entoid: .1.3.6.1.4.1.7058
snmptrap_pgm: /usr/local/bin/snmptrap
snmptrap_type: UCD

(NOTE: Do not change the entoid from the BB default)

Then in bbwarnrules.cfg you can just need to have the prefix trap-ip.add.re.ss eg:

*;;*;;*;*;trap-10.10.10.10

The reason I mention the UCD snmptrap program is because BB supports it out-of-the-box - other trap programs really aren't fully supported yet but if you feel daring you can play around with the bbpage.c if you know A) the arguments required for the snmptrap program and B) can recompile BB afterwards without upsetting too many people..

Another option in the bbwarnsetup.cfg are the trap codes themselves, these are defined on the line:

trapcodes: disk:2 cpu:4 ....

These trap codes define the information that will be sent when the trap is generated - this can then be correlated on the snmp trap host so that you see the same on both hosts (eg. a disk will send a trap with type 2, so HPOV must know what a trap with type 2 is...)

You can also have a look at http://support.bb4.com/archive/200307/msg00770.html and I thoroughly recommend searching through their archives at http://support.bb4.com/ as there is a wealth of information there that helped me setup our system.

Hope this helps.

Cheers,


Glenn.