Install Nagios Core latest version 4.x.x on Raspbian - RasberryPi

Its now possible to install latest Nagios CORE version on Raspbian by following the steps in this article. Before writing this article I Googled for the same but couldn't find a single article covering install of latest version of Nagios on RasberryPi hence this guide. It has been fully tested and working on my personal RasPi.

This guide was originally written for Ubuntu but will work for Raspbian (Debian Wheezy) flavour for RasberryPi as well. It might work for all debian distros but not guranteed, you can try it out yourself.