On 9 March 2010 14:26, Mihamina Rakotomandimby <[email protected]> wrote:
> I have a script:
>
> /usr/local/bin/ocsigen_access containing:
>
>  #!/bin/bash


> Then in my /etc/snmp/snmpd.conf, I added:
>
>  exec .1.3.6.1.4.1.2021.254 ocsigen /usr/local/bin/ocsigen_access


Try using "sh" instead of "exec"

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to