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. The script works fine on it's own. i send traps with snmptrap -d -v 1 -c public localhost "" "" 0 0 "" which seems to work ok to. Can anyone point me in the right direction here? I want to get trap info from stdin. If i can get this working, i convert it to a c program maybe. Many thanks, Alef ------------------------------------------------------------------------- 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
