<!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.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>Using NAGIOS 2
Nagios Plugins 1.4.2</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>If I issue the
command ./check_http -H 192.168.1.4 I get the warning HTTP/1.1 403
Fobidden</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>with the -v option I
get the content of the default web server, which is a Centos
3.5</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>On the web server
side, I got a Directory index forbidden by rule :
/var/www/html/</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>So all seems that
the server side needs to be tuned to get the right response.</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>Note that if I issue
the command check_http -H 192.168.1.4 -u /nagios the response is
OK</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial size=2>Thanks for your
help</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=003464313-17102005><FONT face=Arial
size=2>Pascal</FONT></SPAN></DIV></BODY></HTML>