I want to install nagios but instead of using apache i would like to use nginx. I installed nagios-cli and it automatically brings parts of apache which puts a script into /etc/init.d/apache2 and annoy me on every bootup. I have nginx with php,cgi and mono working fine. But I am unsure how to remove apache from my system

How do I remove apache or not get it included with nagios? I am using debian squeeze (6)


If you don't want to uninstall apache2 because you don't want to mess with dependencies, you can disable it by doing:

/etc/init.d/apache2 stop
update-rc.d apache2 disable

Then configure nginx to serve nagios (I don't have experience with it to help you)


maybe this howto help:


You need be able to execute perl scripts with nginx.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy