<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2>I am in the process
of deploying a new Nagios installation running version 3.2. I currently
have v2.7 running on another machine and have imported my config to the 3.2
server using NagiosQL. So far almost everything works, but I'm having a
problem with any commands which use the "check_http" option.</FONT></SPAN></DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2>We have a number of
web applications which I'm checking with various custom commands. These
commands usually check a specific javascript page on the target server
which queries the site's database back end and returns "OK" if everything is
working (this lets me ensure that the webserver is able to access the database
as well as serve web requests).</FONT></SPAN></DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2>My command syntax
is:</FONT></SPAN></DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2> ./check_http
-H <hostname or IP> -S -u '<name of the javascript page>'
-s OK -w 20 -c 30 -t 40<BR></FONT></SPAN></DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2>This works
completely fine on my 2.7 server, but always returns "Connection refused HTTP
CRITICAL - Unable to open TCP socket" when run from the 3.2 server against the
same target.</FONT></SPAN></DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2></FONT></SPAN><SPAN
class=367222715-05112009><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=367222715-05112009><FONT face=Arial size=2>Any idea what could
be going on here?</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT><SPAN class=367222715-05112009><FONT face=Arial
size=2>Thanks</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=367222715-05112009><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=367222715-05112009><FONT face=Arial
size=2>-Joseph</FONT></SPAN></DIV>
<DIV><FONT face=Arial><BR></FONT></DIV><FONT
size=2></FONT></FONT></SPAN></BODY></HTML>