Alef Veld wrote:
> Hi,
> i'm testing out traphandlers, and i setup this little shell thing.
> #!/bin/bash
> echo $*
> 
> this is what is called in snmptrapd.conf
> 
> However, it doesn't 'popup' on my terminal and it doesn't log  
> anything to file when i add a > tofile.txt.

When you say you tried with > tofile.txt, do you mean:

#!/bin/bash
echo $* > /tmp/tofile.txt

Alex




-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to