intermittent CGI failure

nagios at donsbox.com nagios at donsbox.com
Mon Sep 15 18:29:55 CEST 2008


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 cannot reproduce by running, manually from command shell:
export REQUEST_METHOD=GET
./status.cgi




-------------------------------------------------------------------------
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