Monday 27 February 2017

Installing Nagios on Ubuntu 14.04

sudo -i

Restarting Apache & Nagios in Ubuntu 14.04

update-rc.d <service> enable

https://assets.nagios.com/downloads/nagioscore/docs/Installing_Nagios_Core_From_Source.pdf

Equivalent to chkconfig

update-rc.d nagios enable

starting Apache at startup

sudo /etc/init.d/apache2 start

Restarting Apache   service apache restart

Verifying nagios config

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
tail -f /var/log/syslog  (checking log file)
https://support.nagios.com/kb/article.php?id=515
sudo ufw reload
NRPE 5666


NRPE STATUS
sudo start nrpe
sudo stop nrpe
sudo restart nrpe
sudo status nrpe

checking 
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_load


Restarting Nagios
/etc/init.d/nagios



No comments:

Post a Comment