iberci
October 3, 2010, 7:00am
1
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?
iberci
October 3, 2010, 1:07pm
2
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
iberci
October 3, 2010, 3:45pm
3
I got it working, thanks!
iberci
October 3, 2010, 5:34pm
4
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:
http://forum.nginx.org/read.php?2,136478,136567#msg-136567
iberci
October 3, 2010, 8:10pm
5
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 GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub ) 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
–
iberci
October 4, 2010, 10:40am
6
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 GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub ) 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.