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 reloadNRPE 5666NRPE STATUSsudo start nrpe sudo stop nrpe sudo restart nrpe sudo status nrpechecking/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_loadRestarting Nagios/etc/init.d/nagios
No comments:
Post a Comment