Getting "Configuration Verification Failed"
Posted: Wed Nov 09, 2016 1:52 pm
Hello:
We are running Nagios XI 5.2.7 on RHEL 6.5 (Santiago).
Nagios XI and monitoring has been working with no issues until this morning when I noted a service displaying a (benign) warning.
I checked on the respected Host and service(s) and all appeared to be working with no issues (Host is Windows 2008 R2). I noted that the NSClient++ client on the Host was still running version 0.3.9, so I decided to update the client to 0.4.3.
I think that since I did not delete the service(s) and then Host in Nagios XI first is why I am having the following bigger issue.
PROBLEM: After upgrading the NSClient++ on the server, I deleted the associated service(s) and host in Nagios XI and then Applied Configuration. I received the following warning/error after: "Configuration Verification Failed".
What I have attempted to do:
1). I have found this - https://support.nagios.com/kb/article.php?id=39
a). and ran the following command from the Nagios server console:
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
b). Then ran "Apply Configuration" in the web manager console.
c). I copied/pasted the output from the Nagios server console, and attached it to this post (filename "Apply_Configuration_error_20161109.docx").
d). The host and its associated service(s) do not appear in the Nagios XI web manager console (appear to all be deleted), however, the host and service ".cfg" files exist on the Nagios server:
1). "/usr/local/nagios/etc/hosts/<HOSTNAME>.cfg"
-rw-rw-r-- 1 apache nagios 1302 Nov 9 11:09 <HOSTNAME>.cfg
2). "/usr/local/nagios/etc/services/<HOSTNAME>.cfg"
-rw-rw-r-- 1 apache nagios 5270 Nov 9 11:09 <HOSTNAME>.cfg
This is a Production server which resides on a physical box, so we can't do a VM snapshot. Management will be concerned.
Please assist with getting this issue resolved.
Thank you in advance for your assistance!
We are running Nagios XI 5.2.7 on RHEL 6.5 (Santiago).
Nagios XI and monitoring has been working with no issues until this morning when I noted a service displaying a (benign) warning.
I checked on the respected Host and service(s) and all appeared to be working with no issues (Host is Windows 2008 R2). I noted that the NSClient++ client on the Host was still running version 0.3.9, so I decided to update the client to 0.4.3.
I think that since I did not delete the service(s) and then Host in Nagios XI first is why I am having the following bigger issue.
PROBLEM: After upgrading the NSClient++ on the server, I deleted the associated service(s) and host in Nagios XI and then Applied Configuration. I received the following warning/error after: "Configuration Verification Failed".
What I have attempted to do:
1). I have found this - https://support.nagios.com/kb/article.php?id=39
a). and ran the following command from the Nagios server console:
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
b). Then ran "Apply Configuration" in the web manager console.
c). I copied/pasted the output from the Nagios server console, and attached it to this post (filename "Apply_Configuration_error_20161109.docx").
d). The host and its associated service(s) do not appear in the Nagios XI web manager console (appear to all be deleted), however, the host and service ".cfg" files exist on the Nagios server:
1). "/usr/local/nagios/etc/hosts/<HOSTNAME>.cfg"
-rw-rw-r-- 1 apache nagios 1302 Nov 9 11:09 <HOSTNAME>.cfg
2). "/usr/local/nagios/etc/services/<HOSTNAME>.cfg"
-rw-rw-r-- 1 apache nagios 5270 Nov 9 11:09 <HOSTNAME>.cfg
This is a Production server which resides on a physical box, so we can't do a VM snapshot. Management will be concerned.
Please assist with getting this issue resolved.
Thank you in advance for your assistance!