2009/11/20 Lv, Bo (EXT-Other - CN/Hangzhou) <bo.lv....@nsn.com>:
> linux:/var/log # cat /etc/snmptrapd.conf
> traphandle .1.3.6.1.6.3.1.1.5.3  /tmp/tt
>
> /tmp/tt is a bash script which will echo a hello.

What happens if you try

   traphandle .1.3.6.1.6.3.1.1.5.3  /bin/bash /tmp/tt

?


> snmptrapd -c /etc/snmptrapd.conf -d -f -Lo
> 2009-11-18 12:40:26 NET-SNMP version 5.1 Started.

Note that the 5.1.x line is *VERY* old and is no longer supported.
(and 5.1 is a very early release on that line)

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to