[Nagiosplug-help] check_http 500 error

Javier D'Ovidio jdovidio at gmail.com
Fri Jan 21 16:46:14 CET 2011


Hello All:
This is my first post to this mailing list so be nice with me :P I'm
facing a few issues with the check_http plugin. I'm checking an apache
on a host using check_http. Looking at the Nagios CGI I can see the
service in a CRITICAL state with the following information:

Status Information:HTTP CRITICAL: HTTP/1.1 500 Internal Server Error -
720 bytes in 0.201 second response time
Performance Data:time=0.201368s;3.000000;5.000000;0.000000 size=720B;;;0


Now, when I run the check_http on the command line, I get a different answer:

./check_http -H myhost.mydomain.net
HTTP OK: HTTP/1.1 200 OK - 279 bytes in 0.002 second response time
|time=0.001871s;;;0.000000 size=279B;;;0

This is my command definition:

define command{
        command_name    check_site_http
        command_line    $USER1$/check_http -H $HOSTADDRESS$ -w 5 -c 7 -t 8
        }


As you can see, its very simple. Did anyone seen something like this
in the past? I have no idea why this might be happening

I'm running:
check_http v1.4.15 (nagios-plugins 1.4.15)
Nagios Core 3.2.3
CentOS release 5.5




More information about the Help mailing list