You messed up some configuration in nagios and need to revert back to last known good configuration.
Solution:
Navigate to the directory where nagios configuration backups are kept. Normally they should be in gunzip format.
Once inside that directory run restore command.
# check_mk --restore check_mk.11-Mar-2016.tar.gz
After restore to make sure ownership is well in place, run below command
# chown -R apache:nagcmd /etc/check_mk/conf.d/wato/
Lastly restart nagios to take up restored configuration.
# check_mk -R --restart nagios-check_mk
No comments
Post a Comment
Any thoughts?