Re: Upgrade from 5.4.0 to 5.4.4 failure
Posted: Wed May 17, 2017 10:36 am
The log files may not have shown the transition from 200 to 500 this time as they were from the last upgrade. The previous logs contained that transition.
Here is the output from the reconfigure_nagios.sh, the warning at the end is normal and expected:
Here is the output from the reconfigure_nagios.sh, the warning at the end is normal and expected:
Code: Select all
11:31:00 [root@xi-test ~]# cd /usr/local/nagiosxi/scripts
11:31:07 [root@xi-test scripts]# su nagios
11:31:09 [nagios@xi-test scripts]$ ./reconfigure_nagios.sh
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=xxxxxx' -O nagiosql.login--2017-05-17 11:31:16-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
[ <=> ] 36,896 --.-K/s in 0.01s
2017-05-17 11:31:16 (3.24 MB/s) - ‘nagiosql.login’ saved [36896]
LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: https://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=xxxxxx' -O nagiosql.login--2017-05-17 11:31:17-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
[ <=> ] 36,896 --.-K/s in 0.008s
2017-05-17 11:31:17 (4.28 MB/s) - ‘nagiosql.login’ saved [36896]
LOGIN SUCCESSFUL!
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'backend=1&cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2017-05-17 11:31:17-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.export.monitoring’
[ <=> ] 22,340 --.-K/s in 0.01s
2017-05-17 11:31:19 (2.11 MB/s) - ‘nagiosql.export.monitoring’ saved [22340]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
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 3257 services.
Warning: Host 'it-windows-vm-1' has no default contacts or contactgroups defined!
Checked 1376 hosts.
Checked 17 host groups.
Checked 9 service groups.
Checked 47 contacts.
Checked 29 contact groups.
Checked 177 commands.
Checked 17 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1376 hosts
Checked 2578 service dependencies
Checked 0 host dependencies
Checked 17 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 1
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0