On 06/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am using a external script for getting the output of the stats of a
> application... but whenever i try snmpwalk on the given oid it gives me
>
>
> Command : snmpwalk -v 1 -c public localhost 1.3.6.1.4.1.2021.8.1.101
>
> UCD-SNMP-MIB::extOutput.1 = STRING: /bin/sh: /opt/DSC/Scripts/test.sh
> Permission denied
> UCD-SNMP-MIB::extOutput.1 = STRING: /bin/sh: Permission denied
>
> Can somebody help me out with this....
What version of Net-SNMP?
What operating system/version?
What is the snmpd.conf directive used to invoke this command?
What are the permissions on the file /opt/DSC/Scripts/test.sh?
What is the output of running
/bin/sh /opt/DSC/Scripts/test.sh
manually, on that particular box?
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users