Nagios on ubuntu
In the snereo, we have two machines, one is ubuntu server 10.04 machine(which will be used for nagios monitoring) and other is ubuntu 10.10 machine(a remote host to be monitored by nagios). I have a bare minimal installation of both machines. On Nagios server Install the required packages: root@nagios-ubuntu:~#apt-get -y install ssh php5-gd gcc make build-essential libgd2-xpm-dev libssl-dev #Adding a user for nagios process root@nagios-ubuntu:~#useradd -m nagios root@nagios-ubuntu:~#passwd nagios Usually when a new user is created if no group is assigned a group with the user_name is created & assigned to the user. But still it is a healthy practice to create a nagios group and adding nagios user to that group and to www-data i.e. apache2 group root@nagios-ubuntu:~#groupadd nagios root@nagios-ubuntu:~#usermod -G nagios nagios root@nagios-ubuntu:~#usermod -a -G nagios nagios root@nagios-ubuntu:~#usermod -a -G nagios www-data To avoid from mess, create a separate directory a