>>>>> "AV" == Alef Veld <[EMAIL PROTECTED]> writes:

AV> Hi,
AV> i'm testing out traphandlers, and i setup this little shell thing.
AV> #!/bin/bash
AV> echo $*

AV> this is what is called in snmptrapd.conf

AV> However, it doesn't 'popup' on my terminal and it doesn't log  
AV> anything to file when i add a > tofile.txt.

AV> i send traps with

AV> snmptrap -d -v 1 -c public localhost "" "" 0 0 ""

Did you set up authorization to allow traps received with the "public"
community to execute programs?

IE, is this in your file:

authCommunity log,execute public

Also, running snmptrapd with -f -Le -Dsnmptrapd may show you what is
going wrong.

-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
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