Hi:
I'm using net-snmp 5.6 for the development. When trying to send email
notification through traptoemail, I found following error:

/usr/bin/traptoemail not found.

I am successfully getting the traps output.
When the traps were generated I can see the logs (parameters specified
within snmptrapd.conf) on the screen. But when it comes to the traphandler
line:

I'm getting following logs:

snmptrapd: command_handler
snmptrapd: token = ' usr/bin/traptoemail -s localhost -f server
recipient@com'
snmptrapd: execute format
sh: /usr/bin/traptoemail: not found
snmptrapd: running global handlers

 I'm running the snmptrap deamon as following way:


snmptrapd -f -Le -Dsnmptrapd -Cc /usr/share/snmp/snmptrapd.conf

Any thoughts/ ideas would be appreciated.

Tushar
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to