Re: Problem with snmptrap

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.