Hi,

again, i´m new with NetSNMP and i have some problems. I have this in my
snmptrapd.conf:

traphandle default  "/bin/sh /home/javier/copia.sh"

And that script contains this:

#!/bin/sh

cp -p /home/javier/datos.txt /home/javier/salida.txt

It´s so simple but it doesn´t works and i don´t know why. I receive traps
and it writes in my log configurated in snmptrapd with the -LF parameter,
but don´t launch this script. Anyone knows why?. What should i have
configurated?. Any help it will be appreciated.

Thanks in advance.
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to