Follow these steps to install and configure Nagios on a Debian, Mint, or Ubuntu monitoring server:
- Execute these commands as a root-level user to install Nagios and useful plugins:
sudo apt-get install nagios3 nagios-plugins-extra Sudo apt-get install nagios-nrpe-plugin
- When prompted, enter a password for the nagiosadmin user.
Follow these steps to install Nagios on a Red Hat, Fedora, CentOS, and Scientific Linux monitoring server:
- Open the /etc/selinux/config file and change the SELINUX parameter to match the following:
SELINUX=permissive
- Execute the following command as a root-level user:
sudo setenforce 0
- Execute this command as a root-level user to install Nagios:
sudo yum install nagios nagios-plugins-all ...