This is a discussion on Re: SNMPTRAP Problems - SNMP ; Livio Zanol Puppim wrote: > Everytime I receive a trap the "traphandle" command executes two times. > > snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log Your config file /etc/snmp/snmptrapd.conf probably gets parsed twice. Either add "-C" or start as env SNMPCONFPATH=/etc/snmp:"`net-snmp-config --persistent-directory`" ...
Livio Zanol Puppim wrote:
> Everytime I receive a trap the "traphandle" command executes two times.
>
> snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log
Your config file /etc/snmp/snmptrapd.conf probably gets parsed twice.
Either add "-C" or start as
env SNMPCONFPATH=/etc/snmp:"`net-snmp-config --persistent-directory`"
snmptrapd -Lf /var/log/trap.log
+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/...net-snmp-users