Page 1 of 1
Configuration verification failed - VMware Nagios XI Monitor
Posted: Thu Jan 26, 2012 8:59 am
by douglagm
Hi,
I have downloaded the Nagiosxi VM image. As I would like to see how Nagiosxi monitors the VMWare environment, I download the VMware Nagios XI Monitoring Wizard. It installed fine, but when I try to add any VMWare hosts I keep on getting:
"Configuration submitted for processing...
Waiting for configuration verification....
Configuration verification failed."
I read in the wiki that I need to have a look at the "Configuration Snapshots" in the Core Config Manager and the latest snapshot which failed, but mine are all "Config OK". After this I tried to add a plain Linux server and I get the same error, so now I can't add any devices via the Wizard at all, it looks like the faulty config is stuck somewhere. So I am not sure what is the problem and how to resolve it.
Regards
Gregg
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Thu Jan 26, 2012 11:13 am
by lmiltchev
Try troubleshooting this issue by following the steps described on our wiki page:
http://support.nagios.com/wiki/index.ph ... n_Problems
Hope this helps.
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Thu Jan 26, 2012 12:48 pm
by douglagm
Hi,
Thank-you that pointed me directly the problem - The servers sits on a LAN without internet access. So in order for me to install the necessary packages I configured the proxy settings, I placed the export http_proxy setting in /etc/bashrc. The wget command in reconfigure_nagios.sh uses localhost, of coarse this request is redirected to the proxy server so the localhost of the nagiosxi server now becomes the localhost of the proxy server and it returns a 404 error.
How does one configure nagiosxi to check for updates if does not have internet access (Admin -> System Status -> Check for Updates?
Regards
Gregg
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Thu Jan 26, 2012 2:53 pm
by lmiltchev
Gregg,
You can try installing this component through Admin->System Extensions->Manage Components.
proxy.zip
It is not an official component - it is still under development. I worked for some customers. You can give it a try and see if it is going to work in your environment.
After installing it, go to: Admin->System Config->Proxy Configuration, fill in all of the necessary info, and click on "Update Settings" button.
Let me know if it helped.
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Fri Jan 27, 2012 6:42 am
by douglagm
Hi,
Thanks, I loaded the proxy module and configured, it does connect to the proxy but fails to update. The proxy server is squid with the IP address of the nagiosxi allowed to pass through without any authentication. I know the squid ACL is working as I configured yum to use the proxy server so that I could install the prerequisites for the VMWare SDK.
From the squid log file:
TCP_DENIED/403 1444 CONNECT api.nagios.com:80 - NONE/- text/html
Gregg
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Mon Jan 30, 2012 1:05 pm
by lmiltchev
Gregg,
We tested the proxy module with authentication. As I said it is still under development and all we can do at this point is to continue testing it. I will let you know if we find a solution for you.
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Fri Feb 03, 2012 11:52 am
by jgibson
I get the following when I try to set the proxy settings:
SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique constraint "xi_options_pkey" SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique constraint "xi_options_pkey" SQL: SQL Error [nagiosxi] : ERROR: duplicate key value violates unique constraint "xi_options_pkey"
Running Nagios XI 2011R1.9
Re: Configuration verification failed - VMware Nagios XI Mon
Posted: Fri Feb 03, 2012 1:43 pm
by scottwilkerson
Try running in terminal (as root):
Code: Select all
# /usr/local/nagiosxi/tools/fix_postgres_sequences.sh
Hope this helps!