Running nagios on nginx -- I guess I need a cgi wrapper, any recommendations?

Hi All,

I didn’t realize that I needed a CGI wrapper for the nagios CGI scripts,
oops…

found this article:

http://www.matejunkie.com/howto-let-nginx-serve-the-nagios-web-interface/

Before I go this route, any better / easier suggestions /
recommendations?

On Sun, 3 Oct 2010 00:59:34 -0400, Ilan B. [email protected]
wrote:

Hi All,

I didn’t realize that I needed a CGI wrapper for the nagios CGI scripts, oops…

found this article:

http://www.matejunkie.com/howto-let-nginx-serve-the-nagios-web-interface/ [1]

Before I go this route, any better / easier suggestions / recommendations? !DSPAM:4ca80de8110851118274457!

Hi,
I did it with fcgiwrap a while ago.
Sorry, the setup is in french, but it might help:
http://wiki.linuxwall.info/doku.php/fr:ressources:dossiers:supervision:nagios3?s[]=nagios#configurer_nginx

Julien

I got it working, thanks!

I’m happy to say that fcgiwrap has been packaged for Debian sid/squeeze
and will be in Ubuntu 10.10 as well.

iberkner Wrote:

for the nagios CGI scripts,
suggestions /
dossiers:supervision:nagios3?s[]=nagios#configurer
_nginx

Julien

Posted at Nginx Forum:

On Sun, 2010-10-03 at 00:59 -0400, Ilan B. wrote:

Hi All,

I didn’t realize that I needed a CGI wrapper for the nagios CGI
scripts, oops…

When I am forced to run CGI, I usually choose one of the tiny HTTP
servers such as thttpd (see http://wiki.nginx.org/ThttpdCGI) and proxy
to it from Nginx. This keeps the memory footprint small (no Apache
required) and still lets me used the more advanced features of Nginx for
non-CGI tasks.

Cliff

On nie, paź 03, 2010 at 11:09:28 -0700, Cliff W. wrote:

When I am forced to run CGI, I usually choose one of the tiny HTTP
servers such as thttpd (see http://wiki.nginx.org/ThttpdCGI) and proxy
to it from Nginx. This keeps the memory footprint small (no Apache
required) and still lets me used the more advanced features of Nginx for
non-CGI tasks.

I’m not exactly sure you can go much lighter than fcgiwrap (especially
with several instances running, the per-process overhead is minimal –
84 KB last time I checked on i386).

Best regards,
Grzegorz N.