Eduardo Saavedra Cea wrote: > I want to receive traps with snmptrapd, but It doesn't work. > This demon dont print anything to standar out neither to syslog when I > send the trap whit sendtrap: > snmptrap -v 1 -c zweicom_notav 192.168.1.168:162 > .1.3.6.1.4.1.19408.2.1 localhost 6 303 .1.3.6.1.4.1.19408.1.1.2.0 > > I start with: > condor:~ # snmptrapd -m all -f -Lo -C -c /etc/snmp/snmpd.conf > NET-SNMP version 5.4 > > I know the traps arrive because I try strace: > condor:~ # strace snmptrapd -m all -f -Lo -C -c /etc/snmp/snmpd.conf > .....
What's the content of /etc/snmp/snmpd.conf (a somewhat strange config file name for snmptrapd, btw) and /etc/hosts.{allow,deny}? If you add "-d" to the snmptrapd invocation, does it log the incoming packet? Have you read the "ACCESS CONTROL" section in the snmptrapd manual page? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users