intermittent CGI failure

Jonathan Call jcall at verio.net
Thu Sep 25 16:52:10 CEST 2008


-----Original Message-----
From: Jon Angliss [mailto:jon at netdork.net] 
Sent: Wednesday, September 24, 2008 5:52 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] intermittent CGI failure

On Mon, 15 Sep 2008 12:29:55 -0400 (EDT), nagios at donsbox.com wrote:

>Installed 3.0.3 from source on OpenBSD 4.3 (sparc64).  Everything
works,
>but every so often the CGI's will fail.
>
>e.g. If I refresh, say, status.cgi?host=all 10 times in a row, it'll
fail
>at least once or twice.
>
>I can reproduce using both Apache and nginx.
>
>Here's Apache error log snippet: "Premature end of script headers:
>/var/www/nagios/cgi-bin/status.cgi"
>
>Here's nginx error log snippet: "upstream closed prematurely FastCGI
>stdout while reading response header from upstream"
>
>Familiar issue to anyone?  Next steps to debug?

I keep noticing this every now and again.  I usually have the tactical
overview page open on a third monitor, and Firefox often throws a
"cannot connect" message.  I'm assuming this is probably the same
thing, just on a different page.  I've yet to go through my logs to
confirm though.

-- 
Jon Angliss

I'm running into the same issue:
[Tue Sep 23 04:49:28 2008] [error] [client xxx.xxx.xxx.xxx] Premature
end of script headers: status.cgi

My server is FreeBSD 6.3 running Nagios 2.12 and Apache 2.2.8. The error
is very intermittent, maybe two or three times a day on a 24/7
monitoring screen. Some times it is a 'cannot connect' sometimes the
screen is just blank.

Jonathan


This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free.  Thank you.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list