<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=065063612-07112002><FONT face=Arial color=#0000ff size=2>what 
is the result of check_http from the command line?</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> msimon@adartis.de 
  [mailto:msimon@adartis.de]<BR><B>Sent:</B> Thursday, November 07, 2002 8:29 
  AM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> 
  [Nagios-users] Geting warning, but can't find 
  reason<BR><BR></FONT></DIV><BR><FONT face=sans-serif size=2>I'm using nagios 
  to check if some HTTP-Pages are still up and reachable.</FONT> <BR><FONT 
  face=sans-serif size=2>At the moment I am monitoring two pages, on of them (A) 
  is just a simple</FONT> <BR><FONT face=sans-serif size=2>index.html without 
  frames,etc.</FONT> <BR><BR><FONT face=sans-serif size=2>The other one (B) has 
  frames on it.</FONT> <BR><BR><FONT face=sans-serif size=2>The checkcommands 
  for that pages are:</FONT> <BR><FONT face=sans-serif size=2>A:</FONT> 
  <BR><FONT face=sans-serif size=2>define command{</FONT> <BR><FONT 
  face=sans-serif size=2>        command_name     
     check_http_A</FONT> <BR><FONT face=sans-serif size=2>  
        command_line             
     $USER1$/check_http -I 10.100.0.3 -s entsteht }</FONT> 
  <BR><BR><BR><FONT face=sans-serif size=2>B:</FONT> <BR><FONT face=sans-serif 
  size=2>define command{</FONT> <BR><FONT face=sans-serif size=2>    
      command_name        check_http_A</FONT> 
  <BR><FONT face=sans-serif size=2>        command_line 
                 $USER1$/check_http -I 
  10.100.0.7 -u home.html -s neugierig }</FONT> <BR><BR><BR><FONT 
  face=sans-serif size=2>While bothe pages are up and reachable by browser, 
  </FONT><BR><FONT face=sans-serif size=2>nagios tells me that page A is up and 
  o.k.</FONT> <BR><FONT face=sans-serif size=2>while page B gives back a 
  warning-message and "</FONT><FONT size=1>HTTP WARNING: HTTP/1.1 400 Bad 
  Request</FONT><FONT face=sans-serif size=2>"</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Any ideas what the reason might be ??</FONT> <BR>
  <TABLE width="100%">
    <TBODY>
    <TR>
      <TD width="100%" bgColor=#feffc1><FONT color=white 
    size=1> </FONT></TR></TBODY></TABLE><BR><FONT face=sans-serif color=white 
  size=2><BR></FONT>
  <TABLE>
    <TBODY>
    <TR>
      <TD vAlign=top>
      <TD><FONT face=Arial size=2><B><BR>Marco Simon</B> 
        <BR>Consultant<BR><BR>adARTIS e.K.<BR>Im Hansengarten 9<BR>D-56412 
        Hübingen <BR>Tel: 02602/10688-10 <BR></FONT><FONT face=Arial 
        color=#333896 size=2><U><BR></U></FONT><A href="www.adartis.de"><FONT 
        face=Arial color=#333896 size=2><U>www.adartis.de</U></FONT></A><FONT 
        face=Arial color=#333896 size=2><U><BR></U></FONT><A 
        href="mailto:msimon@adartis.de"><FONT face=Arial color=#333896 
        size=2><U>msimon@adartis.de</U></FONT></A><FONT size=3> 
  </FONT></TR></TBODY></TABLE><BR></BLOCKQUOTE></BODY></HTML>