Page 1 of 2
Waiting for configuration verification
Posted: Tue Oct 13, 2015 4:18 pm
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?
Re: Waiting for configuration verification
Posted: Tue Oct 13, 2015 5:31 pm
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...
Re: Waiting for configuration verification
Posted: Tue Oct 13, 2015 7:23 pm
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?
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 10:51 am
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 ~]#
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 1:58 pm
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
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 4:09 pm
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]$
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 5:44 pm
by Box293
Does your Nagios XI server have a proxy server defined in /etc/wgetrc ?
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 6:04 pm
by JohnFLi
Nope
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 6:09 pm
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...
Re: Waiting for configuration verification
Posted: Wed Oct 14, 2015 6:32 pm
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