<div dir="ltr">Why are you using fast cgi with nagios? Is your nagios being accessed several times a second? </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 2:57 AM, b2 <span dir="ltr"><<a href="mailto:b2@playtime.bg" target="_blank">b2@playtime.bg</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">is that possible?<br>
<br>
i got working apache2+mod_fcgid setup, but nagios cgi's isnt working. in<br>
apache error logs i got:<br>
<br>
<br>
<br>
getcgivars(): Unsupported REQUEST_METHOD -> ''<br>
<br>
I'm guessing you're trying to execute the CGI from a command line.<br>
In order to do that, you need to set the REQUEST_METHOD environment<br>
variable to either "GET", "HEAD", or "POST".  When using the<br>
GET and HEAD methods, arguments can be passed to the CGI<br>
by setting the "QUERY_STRING" environment variable.  If you're<br>
using the POST method, data is read from standard input.  Also of<br>
note: if you've enabled authentication in the CGIs, you must set the<br>
"REMOTE_USER" environment variable to be the name of the user you're<br>
"authenticated" as.<br>
<br>
[Mon Aug 19 12:56:58 2013] [warn] [client x.x.x.x] (104)Connection reset<br>
by peer: mod_fcgid: error reading data from FastCGI server<br>
[Mon Aug 19 12:56:58 2013] [error] [client x.x.x.x] Premature end of<br>
script headers: status.cgi<br>
<br>
<br>
<br>
can i do something to get it work?<br>
thanks in advance.<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Get 100% visibility into Java/.NET code with AppDynamics Lite!<br>
It's a free troubleshooting tool designed for production.<br>
Get down to code-level detail for bottlenecks, with <2% overhead.<br>
Download for free and get started troubleshooting in minutes.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br></div>