Page 1 of 1

Can't save configuration anymore

Posted: Thu Dec 01, 2016 3:44 am
by robvandenbos
When trying to save the configuration using "Apply Configuration" from the CCM it fails. We are on version Nagios XI 2014R2.6

When viewing the error I get:
"Error: Service check command 'check_xi_service_http:q!! -H webshop.essc.eur.nl -f ok -I 130.115.2.243 -u "/" -S -p 443' specified in service 'HTTP' for host 'webshop.essc.eur.nl' not defined anywhere!"

The problem is that I can't find this check anywhere in the GUI

A config check, using "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" show 0 warnings and 0 errors.

How can I fix this?

Re: Can't save configuration anymore

Posted: Thu Dec 01, 2016 11:16 am
by avandemore
Please follow the steps here and report the results:

https://support.nagios.com/kb/article.php?id=34

Re: Can't save configuration anymore

Posted: Mon Dec 05, 2016 2:59 am
by robvandenbos
Waht steps do you mean? I can't find anything on this page related to our problem. The "apply configuration" doesn't give timeouts and we don't have problems with our "sudoers" file.
The "apply configuration" does finish, but comes up with the error I described.

Re: Can't save configuration anymore

Posted: Mon Dec 05, 2016 10:44 am
by avandemore
Please try this:

XI > Configure > Core Config Manager > Config File Management > Delete Files > Write Configs > Verify Files > Restart Nagios Core

The wording is a bit different in older XI versions but you should be able to interpret it accordingly. If that doesn't work, please revert the last known good snapshot in

XI > Configure > Core Config Manager > Configuration Snapshots

Let us know if that helped.