Can't save configuration anymore

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
robvandenbos
Posts: 3
Joined: Mon Jan 27, 2014 4:16 am

Can't save configuration anymore

Post 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?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Can't save configuration anymore

Post by avandemore »

Please follow the steps here and report the results:

https://support.nagios.com/kb/article.php?id=34
Previous Nagios employee
robvandenbos
Posts: 3
Joined: Mon Jan 27, 2014 4:16 am

Re: Can't save configuration anymore

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Can't save configuration anymore

Post 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.
Previous Nagios employee
Locked