Configuration verification failed.
Posted: Fri Mar 19, 2021 6:41 am
Good morning,
I have created a virtual machine using Ubuntu 20 LTS x64 and am attempting to do a restore to it. (My previous OS was CentOS and it became EOL) I have got the restore to take just fine. The instructions I have followed are here https://assets.nagios.com/downloads/nag ... ios-XI.pdf
My current nagiosxi version is 5.7.5 on my legacy centos os and on the current ubuntu os. When I attempt to make a change on any of the services or hosts I receive this error (on the new ubuntu os) " Configuration verification failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint."
This is the service I was attempting to change;
"Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/cdburn02.mis.local.cfg', starting on line 16)"
I then found this (https://support.nagios.com/kb/article.php?id=144) and have followed the steps it didn't make any difference. The cfg file has the host listed... now If I attempt to go through the gui on this service it will show that there isn't a host attached to the service. If I attempt to add the host to the service I will get this same error.
Any help on this would be most welcome.
Thanks in advance!
I have created a virtual machine using Ubuntu 20 LTS x64 and am attempting to do a restore to it. (My previous OS was CentOS and it became EOL) I have got the restore to take just fine. The instructions I have followed are here https://assets.nagios.com/downloads/nag ... ios-XI.pdf
My current nagiosxi version is 5.7.5 on my legacy centos os and on the current ubuntu os. When I attempt to make a change on any of the services or hosts I receive this error (on the new ubuntu os) " Configuration verification failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint."
This is the service I was attempting to change;
"Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/cdburn02.mis.local.cfg', starting on line 16)"
I then found this (https://support.nagios.com/kb/article.php?id=144) and have followed the steps it didn't make any difference. The cfg file has the host listed... now If I attempt to go through the gui on this service it will show that there isn't a host attached to the service. If I attempt to add the host to the service I will get this same error.
Any help on this would be most welcome.
Thanks in advance!