Page 1 of 1
SNMP checks
Posted: Tue Oct 23, 2012 4:30 pm
by mbrowning
I am trying to setup some snmp checks against our Windows 2008 server. I am getting error:
Return code of 126 is out of bounds - plugin may not be executable
Is this referring to the snmp plugin? And how do I make it executable?
Re: SNMP checks
Posted: Tue Oct 23, 2012 4:52 pm
by slansing
Could you please elaborate a bit more on what method you are using for SNMP checks? Also what plugin are you attempting to use.
Re: SNMP checks
Posted: Wed Oct 24, 2012 3:01 pm
by mbrowning
Just basic, CPU, disk utilization, etc. Going into the monitoring wizard and using the Windows SNMP.
I believe that it is using the check_snmp_win plugin.
Re: SNMP checks
Posted: Wed Oct 24, 2012 5:09 pm
by scottwilkerson
Can you run the following
Code: Select all
chmod +x /usr/local/nagios/libexec/check_snmp*
this should resolve the issue
Re: SNMP checks
Posted: Thu Oct 25, 2012 3:00 pm
by mbrowning
Yes that did the trick!
Thanks!