Nagios on nginx & Ubuntu 12.04
Before you begin installing Nagios, you must first install several prerequisites. Issue the following command:
You will need to create a new system user account to run Nagios under. Issue the following commands:
apt-get install libperl-dev libpng12-dev libgd2-xpm-dev build-essential php5-gd wget libgd2-xpm
adduser --system --no-create-home --disabled-login --group nagios groupadd nagcmd usermod -G nagcmd nagios usermod -a -G nagcmd www-data