Nagios

On centos1, let's install Nagios from EPEL:

$ sudo yum install -y epel-release$ sudo yum install -y httpd nagios nagios-plugins-all nagios-plugins-nrpe

Now that's finished (which can take some time, as there are a lot of plugins), we should start and enable our service, along with httpd, which should be installed by default:

$ sudo systemctl enable --now nagios$ sudo systemctl enable --now httpd

Out of the box, you will get an insecure nagios-web setup. If you've connected to your Vagrant VM as suggested previously, you should now be able to navigate to the web interface on the forwarded port (http://127.0.0.1:8080/nagios):

We actually ...

Get Linux Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.