Configuration verification failed - VMware Nagios XI Monitor

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
douglagm
Posts: 6
Joined: Thu Jan 26, 2012 8:37 am

Configuration verification failed - VMware Nagios XI Monitor

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
douglagm
Posts: 6
Joined: Thu Jan 26, 2012 8:37 am

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
douglagm
Posts: 6
Joined: Thu Jan 26, 2012 8:37 am

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jgibson
Posts: 3
Joined: Fri Feb 03, 2012 11:49 am

Re: Configuration verification failed - VMware Nagios XI Mon

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Configuration verification failed - VMware Nagios XI Mon

Post by scottwilkerson »

Try running in terminal (as root):

Code: Select all

# /usr/local/nagiosxi/tools/fix_postgres_sequences.sh
Hope this helps!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked