waiting for configuration verification...... never ends.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: waiting for configuration verification...... never ends.

Post by abrist »

Are you using https?
Have you changed any of the database credentials?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
yjchennagios
Posts: 19
Joined: Tue Dec 10, 2013 4:52 pm

Re: waiting for configuration verification...... never ends.

Post by yjchennagios »

No, I only use http.
Did not change any thing on database credential.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: waiting for configuration verification...... never ends.

Post by lmiltchev »

Run the following two commands and post the output:

Code: Select all

ll -d /usr/local/nagiosxi/scripts
ll /usr/local/nagiosxi/scripts
Be sure to check out our Knowledgebase for helpful articles and solutions!
yjchennagios
Posts: 19
Joined: Tue Dec 10, 2013 4:52 pm

Re: waiting for configuration verification...... never ends.

Post by yjchennagios »

[root@itmon scripts]# ll -d /usr/local/nagiosxi/scripts
drwxr-xr-x. 2 nagios nagios 4096 Dec 12 15:06 /usr/local/nagiosxi/scripts
[root@itmon scripts]# ll /usr/local/nagiosxi/scripts
total 524
-rwxr-x---. 1 nagios nagios 4217 Dec 10 14:25 backup_xi.sh
-rw-r--r-- 1 root root 24400 Dec 12 18:57 cmd.txt
-rw-r--r-- 1 root root 1775 Dec 12 15:05 cmd.txt.old
-rw-r-----. 1 nagios nagios 2507 Dec 10 14:25 contact_notification_handler.php
-rwxr-x---. 1 nagios nagios 649 Dec 10 14:25 export_nagiosql.sh
-rwxr-x---. 1 nagios nagios 821 Dec 10 14:25 handle_nagioscore_event.php
-rwxr-x---. 1 nagios nagios 829 Dec 10 14:25 handle_nagioscore_notification.php
-rwxr-x---. 1 nagios nagios 429 Dec 10 14:25 import_nagiosql.sh
-rwxr-x---. 1 nagios nagios 149 Dec 10 14:25 kill_rrdtool.sh
-rw-r--r-- 1 root root 153 Dec 12 14:52 nagiosql.cookies
-rw-r-----. 1 nagios nagios 272368 Dec 10 14:25 nagiosql_defaults.sql
-rwxr-x---. 1 nagios nagios 970 Dec 10 14:25 nagiosql_delete_contact.php
-rwxr-x---. 1 nagios nagios 2010 Dec 10 14:25 nagiosql_delete_host.php
-rwxr-x---. 1 nagios nagios 505 Dec 10 14:25 nagiosql_delete_object.sh
-rwxr-x---. 1 nagios nagios 2867 Dec 10 14:25 nagiosql_delete_service.php
-rwxr-x---. 1 nagios nagios 993 Dec 10 14:25 nagiosql_delete_timeperiod.php
-rw-r--r-- 1 root root 7400 Dec 12 14:52 nagiosql.export.additional
-rwxr-x---. 1 nagios nagios 1637 Dec 10 14:25 nagiosql_exportall.php
-rw-r--r-- 1 root root 7096 Dec 12 14:52 nagiosql.export.monitoring
-rwxr-x---. 1 nagios nagios 1323 Dec 10 14:25 nagiosql_importall.php
-rw-r--r-- 1 root root 12483 Dec 12 14:52 nagiosql.import.monitoring
-rw-r--r-- 1 root root 5286 Dec 12 14:52 nagiosql.login
-rwxr-x---. 1 nagios nagios 1847 Dec 10 14:25 nagiosql_login.php
-rwxr-x---. 1 nagios nagios 2246 Dec 10 14:25 nagiosql_snapshot.sh
-rwxr-x---. 1 nagios nagios 258 Dec 10 14:25 nagiosql_trim_backups.sh
-rwxr-x---. 1 nagios nagios 515 Dec 10 14:25 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-x---. 1 nagios nagios 826 Dec 10 14:25 nom_create_nagioscore_checkpoint.sh
-rwxr-x---. 1 nagios nagios 632 Dec 10 14:25 nom_create_nagioscore_errorpoint.sh
-rwxr-x---. 1 nagios nagios 784 Dec 10 14:25 nom_restore_nagioscore_checkpoint.sh
-rwxr-x---. 1 nagios nagios 839 Dec 10 14:25 nom_restore_nagioscore_checkpoint_specific.sh
-rwxr-x---. 1 nagios nagios 2972 Dec 10 14:25 nom_trim_nagioscore_checkpoints.sh
-rwxr-x---. 1 nagios nagios 4592 Dec 10 14:25 parse_core_eventlog.php
-rwxr-x---. 1 nagios nagios 6074 Dec 10 14:25 patch_ndoutils.php
-rw-r--r-- 1 root root 11581 Dec 12 14:52 reconfig.txt
-rwxr-x---. 1 nagios nagios 597 Dec 10 14:25 reconfigure_nagios.sh
-rwxr-x---. 1 nagios nagios 1037 Dec 10 14:25 repairmysql.sh
-rwsr-xr-x. 1 root nagios 6846 Dec 10 14:25 reset_config_perms
-rw-r-----. 1 nagios nagios 280 Dec 10 14:25 reset_config_perms.c
-rwsr-xr-x. 1 root nagios 1187 Dec 10 14:25 reset_config_perms.sh
-rwxr-x---. 1 nagios nagios 1155 Dec 10 14:25 reset_nagiosadmin_password.php
-rwxr-x---. 1 nagios nagios 964 Dec 10 14:25 restart_nagios_with_export.sh
-rwxr-x---. 1 nagios nagios 765 Dec 10 14:25 restore_defaults.sh
-rwxr-x---. 1 nagios nagios 5342 Dec 10 14:25 restore_xi.sh
-rwxr-x---. 1 nagios nagios 1847 Dec 10 14:25 send_to_auditlog.php
-rw-r-----. 1 nagios nagios 2379 Dec 10 14:25 uninstall_xi.sh
-rwxr-x---. 1 nagios nagios 321 Dec 10 14:25 upgrade_to_latest.sh
[root@itmon scripts]#
yjchennagios
Posts: 19
Joined: Tue Dec 10, 2013 4:52 pm

Re: waiting for configuration verification...... never ends.

Post by yjchennagios »

Weird. I just saw the host appearing in Nagios console view now after reset command. The one I had problem on adding it by applying configuration. Why? Should I try adding another host to see if same problem happens? Or need to check a few more things before doing so?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: waiting for configuration verification...... never ends.

Post by abrist »

yjchennagios wrote:Why?
So now it's working? Did you do anything else over the weekend?
yjchennagios wrote:Should I try adding another host to see if same problem happens? Or need to check a few more things before doing so?
Add another host and check back with us with your results.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
yjchennagios
Posts: 19
Joined: Tue Dec 10, 2013 4:52 pm

Re: waiting for configuration verification...... never ends.

Post by yjchennagios »

Hi,

I just tested again adding one host, and got the error right away.

Waiting for configuration verification....
Backend login to the Core Config Manager failed.

The host obviously was not added in successfully. Please help.

Jenny
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: waiting for configuration verification...... never ends.

Post by lmiltchev »

Run the following commands in terminal:

Code: Select all

cd /usr/local/nagiosxi/scripts
chown nagios:nagios nagiosql*
If this doesn't solve your issue, go to: Admin->Reset Security Credentials, and click on "Update Credentials", without changing anything else on this page.
Be sure to check out our Knowledgebase for helpful articles and solutions!
yjchennagios
Posts: 19
Joined: Tue Dec 10, 2013 4:52 pm

Re: waiting for configuration verification...... never ends.

Post by yjchennagios »

Hi,

I just added one windows 2008 server and one Centos system to be monitored hosts successfully. Thank you. However, the windows 2008 server's monitored services/items have the status showning "cannot fetch the information from server" warning, so no status info for these items. These items are disk usage, memory usage and UPtime. Only ping has the response with currect status info.

Another question is for Ubuntu system, can I install the same nrpe agent with Centos/RedHat on it to make it working?

Please advice. Thank you.

Jenny
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: waiting for configuration verification...... never ends.

Post by slansing »

"cannot fetch the information from server"
This is a whole different issue. Did you install the agent on the remote server and open ports 12489 and 5666?
Locked