--===============1355510625==
Content-Type: multipart/alternative;
boundary="----=_Part_102053_33061150.1184770447438"

------=_Part_102053_33061150.1184770447438
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 dow=
n
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=EDvio Zanol Puppim

------=_Part_102053_33061150.1184770447438
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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       &=
nbsp; /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=EDvio Zanol Puppim


------=_Part_102053_33061150.1184770447438--


--===============1355510625==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1355510625==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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

--===============1355510625==--