PDA

View Full Version : snmp trap


mathias
08-19-2008, 11:23 AM
hi!

can anyone explain to me how snmptraps work with centreon and is there any possibility to test it. Like using a testcommand (snmptrap -v 1 -c public localhost ...?)

I am a little bit confused with the usage of snmp traps :confused:

I tried to send an snmptrap test with the following command i found on the internet:

snmptrap -v 1 -c public localhost .1.3.6.1.6.3.1.1.5.3 10.9.10.195 2 0 1.3.6.1.2.1.2.2.1.1

I get the following error message in the message log:

snmptrapd[30670]: No access configuration - dropping trap.

Any idea?

mathias
08-19-2008, 12:50 PM
Problem solved:

added the following line to snmptrad.conf

disableAuthorization yes

surcouf
08-19-2008, 02:20 PM
Problem solved:

added the following line to snmptrad.conf

disableAuthorization yes

This directive is needed (or ACL configuration) since Net-SNMP 5.3.x.y.

mathias
08-21-2008, 10:14 AM
could someone explain to me how centreon handles traps?
It works (can see changes on the webinterface) but there is nothing written into any database that exists after the centreon installation

g
mathias