Hi everyone, I'm having a little problem with SNMPTRAPD.CONF:

Everytime I receive a trap the "traphandle" command executes two times. The
log is written only one time.

Has anyone else see this happend?


snmptrapd.conf:
------------------------------------------------------------------------------------------------------------------
traphandle IF-MIB::linkDown         /usr/local/bin/link_down_up_trap.sh down
traphandle IF-MIB::linkUp           /usr/local/bin/link_down_up_trap.sh up
------------------------------------------------------------------------------------------------------------------

snmptrapd start command:
------------------------------------------------------------------------------------------------------------------
snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log
------------------------------------------------------------------------------------------------------------------


Thank you,
LĂ­vio Zanol Puppim
-------------------------------------------------------------------------
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

Reply via email to