In this article I will show you how I installed the latest version of the Nagios from sources, and how to serve it with NginX. Nagios is an open-source monitoring application with a very strong community and a huge set of plugins that can help you monitor every aspect of your servers. At the time of writing this article the latest version is 3.4.1. The platform used is Ubuntu Precise 12.04 LTS, but except dependencies, it should be the same for older distributions. It doesn't hurt to check them first.
We will start by installing the dependencies: