check_http returning 137 out of bounds


I am running Nagios 3.2.3 on Solaris 10.

I am experiencing the 137 Out of Bounds error on the Nagios web interface when using check_http. No other plugins are currently having issues.

As the user Nagios I can run manual checks like the following from libexec and receive an expected good response.

I have also scaled back on the arguments above and still receive the 137 Out of Bounds error.

I can run the ldd command on the plugins and can see that all libraries are found.

For check_http, I have the following:

# 'check_ssl_website define command{ command_name check_https command_line $USER1$/check_http -H $ARG1$ -t 60 -u $ARG2$ -p $ARG3$ -s $ARG4$ -S -4 }

My service file is using the following:

I am using the 1.4.15 versions of Nagios plugins which were compiled as follows:

./configure --prefix=/var/apps/nagios --with-nagios-user=nagios --with-nagios-group=nagios \ --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" \ --with-ps-format="%s %d %d %d %d %d %f %s %s %n" \ --with-ps-cols=10 \ --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos"


you run the check by hand from the libexec directory but in the command definition you are using libexec/nagios_checks…


I removed nagios_checks from my original post above as I did not mean to post that. It is not in the config file.

Any other suggestions as to why this doesn’t work ?


-u “/Services/com/HealthCheck.jsp”

try -u “$ARG1$” or inserting the quotes (possibly escaped) in the service def.