On Mon, 30 Jul 2007 13:01:20 +0100, Dave Shield wrote: > On 30/07/07, Mateus Interciso <[EMAIL PROTECTED]> wrote: >> >> But I also want it to execute the command /bin/sh /tmp/trapTst.sh >> On the host that is running the trap receiver. > > OK - what is the trap PDU that should trigger this command? > > Dave > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ > _______________________________________________ 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
Isn't this on the snmptrapd.conf that issues the command? traphandle "default" "/bin/sh /tmp/trapTst.sh" Then, whenever he gets a trap(any), it would execute /tmp/tapTst.sh? Mateus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
