Network Management - TrippCC/Sys-265 GitHub Wiki

Nagios

Installation: https://www.tecmint.com/install-nagios-in-linux/

Disable SELinux

vi /etc/selinux/config set: SELinux to disabled instead of enforcing

make sure to add port 80 to the firewall

adding hosts: https://kifarunix.com/add-hosts-to-nagios-server-for-monitoring/

Use: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to check if everything is working properly

Check the local services in /usr/local/nagios/etc/object/localhost.cfg and copy those into one /hosts-service-template.cfg

Check the gui in wks01 by inputting http://IP-Address-of-server/nagios

make sure the other hosts are there and are up. Additionally, that you can see the services defined on the servers.