<!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.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#f1f0ed>
<DIV><FONT face="Courier New" size=2>Subhendu,</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Here's the output you
requested:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><BR><FONT face="Courier New" size=2>$/apps/nagios/libexec> ./check_http
-V<BR>check_http (nagios-plugins 1.3.0-beta2) 1.12</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>$/apps/nagios/libexec>
/apps/nagios/libexec/check_http -v -S -I hosta.mydomain.com -H
intranet.mydomain.com -u </FONT><FONT face="Courier New"
size=2>'/eqo/auction?act=login&cusip=45673456' -t 40 -e 200</FONT></DIV>
<DIV><FONT face="Courier New" size=2><BR>Page is 5882 characters<BR>STATUS:
HTTP/1.0 200 OK<BR>**** HEADER ****<BR>Server: Resin/2.1.s021217<BR>Pragma:
no-cache<BR>Expires: -1<BR>Cache-Control: no-cache<BR>P3P: CP="NON DSP COR CURa
ADMa IVAa IVDa CONa OUR NOR UNI PUR COM NAV STA"<BR>Set-Cookie:
JSESSIONID=aKepta_IHR-4; Path=/<BR>Content-Type: text/html<BR>Date: Tue, 04 Feb
2003 21:58:21 GMT<BR>**** CONTENT ****<BR><html><BR>
<head><BR> <script
src="/eqo/web-content/jscript/eqo.js"></script><BR>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"><BR> <title>OpenFollowOn
45673456: Login</title><BR> </head><BR> <body
bgcolor="#ffffff" link="#0000ff" vlink="#0000ff"
alink="#0000ff"<BR> marginwidth="0" marginheight="0"
topmargin="0" leftmargin="0"<BR>
onLoad="javascript:assertTopFrame();"><BR><map name="Map"><BR>
<area shape="rect" coords="111,2,164,21" <BR>
href="javascript:SpawnWindow('/eqo/terms?cusip=45673456','termsWin','102014252910118172714');"><BR>
<area shape="rect" coords="169,2,217,22" <BR> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>href="javascript:SpawnWindow('/eqo/static?class=perDeal&cusip=45673456&content=rules','contentWin','1020142529</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>10118172714');"><BR> <area
shape="rect" coords="222,2,308,21" <BR> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>href="javascript:SpawnWindow('/eqo/static?class=perProduct&cusip=45673456&content=hiw/overview','contentWin','</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>102014252910118172714');"><BR>
<area shape="rect" coords="313,2,351,21" <BR> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>href="javascript:SpawnWindow('/eqo/static?class=perProduct&cusip=45673456&content=hiw/faq','contentWin','10201</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>4252910118172714');"><BR> <area
shape="rect" coords="356,2,433,21" <BR> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>href="javascript:SpawnWindow('/eqo/static?class=perDeal&cusip=45673456&content=contacts','contentWin','1020142</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>52910118172714')"><BR></map>
<BR><table border="0" cellspacing="0" cellpadding="0" width="100%" <BR>
background="/eqo/web-content/images/horiz_bg_pat.gif"><BR>
<tr><BR> <td align="left" valign="middle"><img
src="/eqo/web-content/images/logo_nav_02.gif"
vspace="4"></td><BR>
<td> </td><BR> <td align="right"
valign="middle"><img src="/eqo/web-content/images/openfollowon_logo.gif"
vspace="4"></td><BR> </tr><BR></table><BR><table
border="0" cellspacing="0" cellpadding="0" width="100%"><BR>
<tr><BR> <td align="center" valign="bottom"
colspan="3"><img src="/eqo/web-content/images/navbar_deal.gif"
</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>usemap="#Map"
border="0"></td><BR>
</tr><BR></table><BR> <table border="0"
cellpadding="1" cellspacing="0" width="100%"
bordercolor="#cccccc"><BR>
<tr><BR> <td
bgcolor="#b5bcd6"><BR>
<font size="3" face="Verdana, Arial, Helvetica, sans-serif"><b>Login
to the OpenFollowOn<BR>
Auction for:<br><BR>
4,000,000 shares of Acme
Inc.<BR>
(NASDAQ:ACME)</b></font></td><BR>
<td align="right"
bgcolor="#b5bcd6"><BR>
<font size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b>Current
Time:<BR> 02/04/03,
04:58PM
EST</b></font><br><BR>
<font color="#cc0000" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b>Auction open
time:<BR> 02/04/03 at
05:00PM EST</b></font></td><BR>
</tr><BR>
<tr><BR> <td align="left"
bgcolor="#b5bcd6"><BR>
<font color="#CC0000" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b><BR>
</b></font><BR>
</td><BR> <td align="right"
bgcolor="#b5bcd6"><BR>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">The auction is
<b><BR> Not
Open</b></font><BR>
</td><BR> </tr><BR>
</table><BR> <form method="POST"
action="/eqo/auction" name="loginForm"><BR>
<table border="0" cellpadding="4" cellspacing="0"
width="100%"><BR>
<tr><BR> <td
bgcolor="#ffffff" width="20%"
align="right"><BR>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b>User
ID</b></font><BR>
</td><BR> <td
bgcolor="#ffffff"><BR>
<input type="text" size="30" maxlength="30" name="acct"
value=""><BR>
</td><BR>
</tr><BR>
<tr><BR> <td
bgcolor="#ffffff" width="20%"
align="right"><BR>
<font size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b>Password</b></font><BR>
</td><BR> <td
bgcolor="#ffffff"><BR>
<input type="password" size="30" maxlength="30" name="securityKey"
value=""><BR>
</td><BR>
</tr><BR>
<tr><BR> <td
bgcolor="#ffffff" width="20%"
align="right"> </td><BR>
<td><BR>
<input type="hidden" name="act"
value="login"><BR>
<input type="hidden" name="cmd"
value="exec"><BR>
<input type="hidden" name="cusip"
value="45673456"><BR>
<input type="submit" name="goButton"
value="Login"><BR>
</td><BR>
</tr><BR>
</table><BR> </form><BR>
<table width="75%" border="0"><BR>
<tr><BR>
<td><BR> <font
color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><a
<BR>
href="javascript:SpawnWindow('/eqo/terms?cusip=45673456','termsWin','102014252910118172714');"><BR>
Click here to view Auction
Terms</a><BR>
</font><br><br><BR>
</td><BR>
<tr><BR>
<td><BR> <font
color="#cc0000" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b>Very Important:</b> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>After<BR>
submitting or changing a bid in the auction, you will always be asked
for<BR>
<b>confirmation. </b>If you do not indicate confirmation by clicking
a<b> confirmation button</b>, </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>your<BR> bidding
action will <b>not</b> be recorded by the
system.</font><br><br><BR>
</td><BR>
</tr><BR>
<tr><BR>
<td><BR> <font
color="#000000" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><b>Reminder:</b> Your </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>browser
must<BR> have "cookies"
enabled in order to access the auction. If you have trouble accessing the
system, </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>please
contact<BR> your local
technical support personnel or <a <BR> </FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"
size=2>href="javascript:SpawnWindow('/eqo/static?class=perDeal&cusip=45673456&content=contacts','contentWin','1020142</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>52910118172714');">contact
<BR>
us</a>.</font><BR>
</td><BR> </tr><BR>
</table><BR>
<script><BR>
document.loginForm.goButton.focus();<BR>
document.loginForm.acct.select();<BR>
</script><BR> </body><BR></html></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>HTTP OK: Status line output matched
"200"</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>HTTP ok: HTTP/1.0 200 OK -
0.293 second response time |time= 0.293<BR>$/apps/nagios/libexec> echo
$?<BR>0</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><BR><FONT face="Courier New" size=2>> -----Original Message-----<BR>>
From: Subhendu Ghosh [mailto:sghosh@sghosh.org]<BR>> Sent: Tuesday, February
04, 2003 1:18 PM<BR>> To: </FONT><A
href="mailto:nagios-users@lists.sourceforge.net"><FONT face="Courier New"
size=2>nagios-users@lists.sourceforge.net</FONT></A><BR><FONT face="Courier New"
size=2>> Subject: Re: [Nagios-users] Stange problem checking https<BR>>
<BR>> <BR>> <BR>> Can you post the command (add the verbose option) and
the output...<BR>> <BR>> -sg<BR>> <BR>> On Fri, 31 Jan 2003, DM
wrote:<BR>> <BR>> > <BR>> > Following Subhendu's suggestion, I've
installed the latest <BR>> check_http plugin, <BR>> > but
unfortunately, Nagios is still issuing a "warning" <BR>> status for a
seemingly fine<BR>> > reponse from the web server.<BR>> >
<BR>> > check_http (nagios-plugins 1.3.0-beta2) 1.12<BR>> > <BR>>
> Current Status: WARNING (Has been
acknowledged) <BR>> > Status Information: HTTP ok: HTTP/1.0
200 OK - 0.240 second <BR>> response time <BR>> > Current Attempt: 3/3
<BR>> > State Type: HARD <BR>> > Last Check Type: ACTIVE <BR>>
> Last Check Time: 01-31-2003 10:55:22 <BR>> > Status Data Age: 0d 0h
2m 6s <BR>> > Next Scheduled Active Check: 01-31-2003 11:00:22
<BR>> > Latency: < 1 second <BR>> > Check Duration: < 1 second
<BR>> > Last State Change: 01-27-2003 10:27:32 <BR>> > Current State
Duration: 4d 0h 29m 56s <BR>> > Last Service Notification: 01-27-2003
12:27:32 <BR>> > Current Notification Number: 3 <BR>> > Is This
Service Flapping? N/A <BR>> > Percent State Change: N/A <BR>> > In
Scheduled Downtime? NO <BR>> > Last Update:
01-31-2003 10:57:20 <BR>> > <BR>> > <BR>> > All details from
below are still the same, with the <BR>> exception that I now have the latest
version of the <BR>> > check_http plugin.<BR>> > <BR>> > Any
ideas?<BR>> > <BR>> > -David<BR>> > <BR>> > <BR>>
> > -----Original Message-----<BR>> > > From: Subhendu Ghosh
[mailto:sghosh@sghosh.org]<BR>> > > Sent: Monday, January 27, 2003 2:01
PM<BR>> > > To: </FONT><A
href="mailto:nagios-users@lists.sourceforge.net"><FONT face="Courier New"
size=2>nagios-users@lists.sourceforge.net</FONT></A><BR><FONT face="Courier New"
size=2>> > > Subject: Re: [Nagios-users] Stange problem checking
https<BR>> > > <BR>> > > <BR>> > > On Mon, 27 Jan
2003, DM wrote:<BR>> > > <BR>> > > > Hi All,<BR>> >
> > <BR>> > > > I've got a problem with Nagios returning a
"warning status" when<BR>> > > > checking https on a Resin http
server. Resin is a <BR>> servlet/JSP engine<BR>> > > > which can
also serve up static pages as well as dynamic. <BR>> > > (details can
be<BR>> > > > had at </FONT><A
href="http://www.caucho.com/resin/"><FONT face="Courier New"
size=2>http://www.caucho.com/resin/</FONT></A><FONT face="Courier New"
size=2>)<BR>> > > > <BR>> > > > The problem is that
Nagios keeps generating a "warning" <BR>> > > status for the<BR>>
> > > http service, even though the service is up. Nagios doesn't
<BR>> > > even seem to<BR>> > > > indicate a problem, other
than indicating a warning <BR>> status. (i.e.<BR>> > > > response
time is good, etc.)<BR>> > > > <BR>> > > > The Resin
server is serving up the https pages just <BR>> fine. Hitting it<BR>> >
> > with different browsers (IE6, Konqueror) works fine. <BR>> Also
Nagios is<BR>> > > > working fine with other web servers (Zeus,
IIS). I've <BR>> > > checked the syntax<BR>> > > > and run
the check_http manually with the command line and <BR>> > > it works
fine<BR>> > > > too. The response from the plugin is always "HTTP
ok: <BR>> > > HTTP/1.0 200 OK -<BR>> > > > 0 second
response time"<BR>> > > > <BR>> > > > The only
difference I can come up with is that the http <BR>> > > response
from<BR>> > > > the Resin server comes back as "HTTP/1.0" as opposed
to all <BR>> > > the other<BR>> > > > web servers which
return a "HTTP/1.1" Could this be causing <BR>> > > a problem<BR>>
> > > for Nagios?<BR>> > > > <BR>> > > > Below
are full details about platforms, versions, relevant <BR>> > > lines
from<BR>> > > > config files, etc. As mentioned above, this Nagios
<BR>> config works just<BR>> > > > fine with my other
servers.<BR>> > > > <BR>> > > > Any ideas are
appreciated.<BR>> > > > <BR>> > > > -David<BR>> >
> > <BR>> > > > <BR>> > > > Nagios
version:<BR>> > > > <BR>> > > > Nagios 1.0<BR>>
> > > Copyright (c) 1999-2002 Ethan Galstad (</FONT><A
href="mailto:nagios@nagios.org"><FONT face="Courier New"
size=2>nagios@nagios.org</FONT></A><FONT face="Courier New" size=2>)<BR>>
> > > Last Modified: 11-24-2002<BR>> > > >
License: GPL<BR>> > > > <BR>> > > > Nagios server is
running on Solaris 8.0 with latest <BR>> > > Maintenance Updates/
patch<BR>> > > > clusters.<BR>> > > > <BR>> > >
> check_http plugin version:<BR>> > > > <BR>> > >
> </FONT><A href="mailto:admin@nagios:>check_http"><FONT
face="Courier New" size=2>admin@nagios:>check_http</FONT></A><FONT
face="Courier New" size=2> -V<BR>> > > > check_http
(netsaint-plugins 1.2.9-4) 1.32.2.6<BR>> > > > <BR>> > >
> services.cfg:<BR>> > > > <BR>> > > >
check_command<BR>> > > > <BR>>
check_https!hosta.mydomain.com!/test/test?act=login&id=45673456<BR>> >
> > <BR>> > > > commands.cfg:<BR>> > > > <BR>>
> > > # 'check_https' command definition<BR>> > > >
define command{<BR>> > >
>
command_name check_https<BR>> > >
>
command_line /apps/nagios/libexec/check_http -S <BR>> >
> -I $HOSTADDRESS$ -H $<BR>> > > > ARG1$ -u $ARG2$ -t
40 -e 200<BR>> > >
> }<BR>> > >
> <BR>> > > > hosts.cfg:<BR>> > > > <BR>> >
> > # 'hosta' host definition<BR>> > > > define host{<BR>>
> > >
use
generic-host ;
<BR>> > > Name of host template <BR>> > > > to use<BR>>
> > > <BR>> > >
>
host_name
hosta<BR>> > > >
alias
AliasA<BR>> > > >
address
2.3.4.5<BR>> > > >
parents
parenta<BR>> > > >
check_command
check-host-alive<BR>> > >
>
max_check_attempts 10<BR>> > >
>
notification_interval 120<BR>> > >
>
notification_period normal<BR>> > >
>
notification_options d,u,r<BR>> > >
> }<BR>> > > >
<BR>> > > > <BR>> > > > Running the check_http command
manually using the<BR>> > > > same parameters that Nagios uses,
works fine:<BR>> > > > <BR>> > > > check_http \<BR>>
> > > -S -I hosta.mydomain.com \<BR>> > > > -H
web.mydomain.com \<BR>> > > > -u
'/test/test?act=login&id=45673456' -t 40 -e 200<BR>> > > >
<BR>> > > > It returns a normal status:<BR>> > > >
<BR>> > > > "HTTP ok: HTTP/1.0 200 OK - 0 second response
time"<BR>> > > > <BR>> > > > >From the "Service State
Information" page on Nagios:<BR>> > > > <BR>> > > >
Current Status: WARNING <BR>> > >
> Status Information: HTTP ok: HTTP/1.0 200 OK - 0 second <BR>> > >
response time <BR>> > > > Current Attempt: 3/3 <BR>> > >
> State Type: HARD <BR>> > > > Last Check Type: ACTIVE <BR>>
> > > Last Check Time: 01-27-2003 12:07:23 <BR>> > > >
Status Data Age: 0d 0h 2m 11s <BR>> > > > Next Scheduled Active
Check: 01-27-2003 12:12:23 <BR>> > > > Latency: 1 second
<BR>> > > > Check Duration: < 1 second <BR>> > > >
Last State Change: 01-27-2003 10:27:32 <BR>> > > > Current State
Duration: 0d 1h 42m 2s <BR>> > > > Last Service Notification:
01-27-2003 11:27:32 <BR>> > > > Current Notification Number: 2
<BR>> > > > Is This Service Flapping? N/A <BR>> > > >
Percent State Change: N/A <BR>> > > > In Scheduled
Downtime? NO <BR>> > > > Last Update:
01-27-2003 12:09:22 <BR>> > > > <BR>> > > > >From the
"Alert History" on Nagios:<BR>> > > > <BR>> > > >
[01-27-2003 10:27:32] SERVICE ALERT: <BR>> > >
hosta;HTTPS;WARNING;HARD;3;HTTP ok: HTTP/1.0 200 OK - 0 <BR>> > >
second response time<BR>> > > > [01-27-2003 10:26:32] SERVICE ALERT:
<BR>> > > hosta;HTTPS;WARNING;SOFT;2;HTTP ok: HTTP/1.0 200 OK - 0
<BR>> > > second response time<BR>> > > > [01-27-2003
10:25:33] SERVICE ALERT: <BR>> > > hosta;HTTPS;WARNING;SOFT;1;HTTP ok:
HTTP/1.0 200 OK - 1 <BR>> > > second response time<BR>> > >
> <BR>> > > > <BR>> > > <BR>> > > <BR>> >
> <BR>> > > On the command line - do n "echo $?" after the plugin to
<BR>> see what the <BR>> > > return code is.<BR>> > >
<BR>> > > Also may want to try a newer check_http - lots of changes
<BR>> > > since 1.2.9-4 <BR>> > > release.<BR>> > >
<BR>> > > -- <BR>> > > -sg</FONT></DIV></BODY></HTML>