-
Notifications
You must be signed in to change notification settings - Fork 27
[dev.icinga.com #2253] add example configs for alternate webservers like nginx or lighttpd #843
Comments
Updated by ricardo on 2012-02-01 09:27:32 +00:00 Hi, this is how I got it working well
Have a look at http://wiki.nginx.org/Fcgiwrap for a fastCGI Wrapper. to launch the wrapper i used "spawn-fcgi"
If you want to use pnp4nagios you will also need a spawn-cgi for php. have a look at http://wiki.nginx.org/PHPFcgiExample . pnp4nagios has a configuration file already included in sources. Hope this helps |
Updated by mfriedrich on 2012-05-05 11:46:45 +00:00
|
Updated by fmbiete on 2012-07-20 16:38:36 +00:00 That configuration works fine, but I modified it a little. icinga.vhost server { nginx.security.conf #Basic Security nginx.icinga.conf #Icinga Classic - Configuration nginx.pnp4nagios.conf location /pnp4nagios { |
Updated by fmbiete on 2012-07-20 16:43:09 +00:00 You will need the following software: Nginx apt-get install nginx fcgiwrap php-apc php5-fpm In Debian 6 (Squeeze) you will need to add the dotdeb.org repo, since pnp5-fpm is not included and the versions are pretty old. |
Updated by mfriedrich on 2012-09-24 10:44:52 +00:00 can you create a small tarball with all needed files, plus an extended README for all nginx users out there, plus mentioning you as author? i am willing to put this straight into contrib/nginx but i need a confirmation on author and working functionality. |
Updated by fmbiete on 2012-10-01 15:10:02 +00:00
It's my working configuration, removing my server_name. Feel free to use or redistribute them. |
Updated by fmbiete on 2012-10-01 15:21:58 +00:00
Not sure if it would be better to open a new ticket, since it's not icinga classic ui but icinga-web... If you prefer a new ticket in the icinga-web, tell me and I will open it. |
Updated by mfriedrich on 2012-10-01 17:07:41 +00:00
thanks, i guess when we put that into contrib/ everyone should be lucky then. |
Updated by mfriedrich on 2012-10-02 20:09:21 +00:00
|
Updated by mfriedrich on 2012-10-03 17:59:57 +00:00
thanks - added both to core and web, plus updated the wiki entry. now, the other 50% should be doable with lighttp - anyone? |
Updated by fmbiete on 2012-10-04 14:45:31 +00:00 You could update the wiki entry for icinga-web: Sorry, I cannot help with the lighttpd part :P |
Updated by mfriedrich on 2012-10-04 14:50:44 +00:00 ah forgot that one, thx. |
Updated by ricardo on 2012-10-04 14:53:29 +00:00 gentoo has a config for icinga with lighttpd untested:
and:
|
Updated by mthode on 2012-10-04 15:59:45 +00:00 If I remove the .pl line from the gentoo one (doesn't seem needed) can we use that? |
Updated by ricardo on 2012-10-04 20:09:26 +00:00 so, tested this one and it works very well. /etc/lighttpd/lighttpd_icinga.conf
and add this to /etc/lighttpd/lighttpd.conf
Done |
Updated by ricardo on 2012-12-20 17:18:10 +00:00 can we include the lighted somehow? |
Updated by mfriedrich on 2013-03-11 20:29:04 +00:00
added to contrib/lighttp therefore resolving this now. if there's anything else, comment here and i'll reopen the issue. |
Updated by mfriedrich on 2014-12-08 09:32:56 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2253
Created by mfriedrich on 2012-01-06 10:42:04 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2013-03-11 20:29:04 +00:00)
Target Version: 1.9
Last Update: 2014-12-08 09:32:56 +00:00 (in Redmine)
like https://wiki.icinga.org/display/howtos/Setting+up+Icinga+with+Nginx provides, it will be useful to provide such example configs directly within icinga tarball.
this will requires the community to help test and verify those
Attachments
Changesets
2012-10-03 17:07:35 +00:00 by mfriedrich f976609
2013-03-11 20:28:10 +00:00 by (unknown) bae9541
The text was updated successfully, but these errors were encountered: