Waiting for configuration verification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Waiting for configuration verification

Post by JohnFLi »

I just updated to the latest version of XI.

When I make a change to a service (or anythign else) and click APPLY CHANGES.... I just get the spining circle saying "Waiting for configuration verification.........................................."

yet, If I go to CCM then click on the new blue button that says "Verify configuration"
it tells me

Code: Select all

Running pre-flight check on configuration data... 

Checking objects... 
Checked 140 services. 
Checked 24 hosts. 
Checked 2 host groups. 
Checked 0 service groups. 
Checked 22 contacts. 
Checked 8 contact groups. 
Checked 125 commands. 
Checked 16 time periods. 
Checked 0 host escalations. 
Checked 0 service escalations. 
Checking for circular paths... 
Checked 24 hosts 
Checked 0 service dependencies 
Checked 0 host dependencies 
Checked 16 timeperiods 
Checking global event handlers... 
Checking obsessive compulsive processor commands... 
Checking misc settings... 

Total Warnings: 0 
Total Errors: 0 

Things look okay - No serious problems were detected during the pre-flight check 

if i do /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
it tells me

Code: Select all

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 140 services.
        Checked 24 hosts.
        Checked 2 host groups.
        Checked 0 service groups.
        Checked 22 contacts.
        Checked 8 contact groups.
        Checked 125 commands.
        Checked 16 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 24 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 16 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

Any idea what the deal with the gui is?
Everybody is somebody else’s weirdo
jwelch
Posts: 225
Joined: Wed Sep 05, 2012 12:49 pm

Re: Waiting for configuration verification

Post by jwelch »

Have you tried another browser or clearing the cache on your browser? Maybe it's
something from the previous version that's cached in your browser.

If that's not it, you might check to make sure you only have two nagios processes running.
ps -eaf | grep "nagios -d"

I've had some problems where I had two sets of nagios processes running and was getting
really weird stuff on the sceen...like data for hosts that I'd deleted...
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification

Post by Box293 »

Can you run the following in an ssh session on your Nagios XI host.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Then go into XI and Apply Configuration.

What output is produced in the SSH session?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Waiting for configuration verification

Post by JohnFLi »

Code: Select all

PROCESSED 0 COMMANDS
A=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2015-10-14 08:38:25--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

     0K .......... .......... .......... .....                 1.22M=0.03s

2015-10-14 08:38:26 (1.22 MB/s) - “nagiosql.login” saved [36107]

/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=c5vnh6' -O nagiosql.loginLOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2015-10-14 08:38:26--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

     0K .......... .......... .......... .....                 1.75M=0.02s

2015-10-14 08:38:27 (1.75 MB/s) - “nagiosql.login” saved [36107]

/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=c5vnh6' -O nagiosql.loginLOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2015-10-14 08:38:27--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”

     0K .......... ....                                        43.0K=0.3s

2015-10-14 08:38:27 (43.0 KB/s) - “nagiosql.export.monitoring” saved [14681]

WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 140 services.
        Checked 24 hosts.
        Checked 2 host groups.
        Checked 0 service groups.
        Checked 22 contacts.
        Checked 8 contact groups.
        Checked 125 commands.
        Checked 16 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 24 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 16 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
OUTPUT=Starting nagios: done.
RETURNCODE=0
..........................^C
[root@G1VPPCINAG ~]#
Everybody is somebody else’s weirdo
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Waiting for configuration verification

Post by tgriep »

Can you run the following in an ssh session on your Nagios XI host and post the output.

Code: Select all

cd /usr/local/nagiosxi/scripts/
su nagios
./reconfigure_nagios.sh
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Waiting for configuration verification

Post by JohnFLi »

Code: Select all

[root@G1VPPCINAG ~]# cd /usr/local/nagiosxi/scripts/
[root@G1VPPCINAG scripts]# su nagios
[nagios@G1VPPCINAG scripts]$ ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=c5vnh6' -O nagiosql.login--2015-10-14 13:57:35--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

    [ <=>                                   ] 36,107      --.-K/s   in 0.04s

2015-10-14 13:57:36 (949 KB/s) - “nagiosql.login” saved [36107]

LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=c5vnh6' -O nagiosql.login--2015-10-14 13:57:36--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

    [ <=>                                   ] 36,107      --.-K/s   in 0.02s

2015-10-14 13:57:37 (1.79 MB/s) - “nagiosql.login” saved [36107]

LOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2015-10-14 13:57:37--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”

    [  <=>                                  ] 14,681      25.9K/s   in 0.6s

2015-10-14 13:57:37 (25.9 KB/s) - “nagiosql.export.monitoring” saved [14681]

WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 140 services.
        Checked 24 hosts.
        Checked 2 host groups.
        Checked 0 service groups.
        Checked 22 contacts.
        Checked 8 contact groups.
        Checked 125 commands.
        Checked 16 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 24 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 16 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
[nagios@G1VPPCINAG scripts]$

Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification

Post by Box293 »

Does your Nagios XI server have a proxy server defined in /etc/wgetrc ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Waiting for configuration verification

Post by JohnFLi »

Nope
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for configuration verification

Post by Box293 »

Can you confirm you are on XI 5.2.0.

Can you respond to @jwelch suggestions.
jwelch wrote:Have you tried another browser or clearing the cache on your browser? Maybe it's
something from the previous version that's cached in your browser.

If that's not it, you might check to make sure you only have two nagios processes running.
ps -eaf | grep "nagios -d"

I've had some problems where I had two sets of nagios processes running and was getting
really weird stuff on the sceen...like data for hosts that I'd deleted...
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Waiting for configuration verification

Post by JohnFLi »

Code: Select all

Your Nagios XI installation is up to date.
 
Latest Available Version: 5.2.0 
Installed Version: 5.2.0 
Last Update Check: 10/14/2015 13:59:03 

Code: Select all

yes...cleared chache, even restarted the machine

Code: Select all

[root@G1VPPCINAG ~]# ps -eaf | grep "nagios -d"
nagios    6707     1  0 16:20 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    6758  6707  0 16:20 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root      7313  7273  0 16:21 pts/0    00:00:00 grep nagios -d
[root@G1VPPCINAG ~]#


something I just noticed in the browser IE 8 (in the lower right hand corner of the browser window, there is a yellow triangle that says "Done, but with errors on the page")

Code: Select all

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Timestamp: Wed, 14 Oct 2015 23:33:16 UTC


Message: Object doesn't support this action
Line: 1
Char: 709
Code: 0
URI: http://g1vppcinag/nagiosxi/includes/js/d3/d3.v3.min.js?5.2.0

Everybody is somebody else’s weirdo
Locked