I followed the instructions according to https://assets.nagios.com/downloads/nag ... ctions.pdf
The "Quick" upgrade failed, so I tried the "Manual Download" method.
The manual upgrade failed twice so I installed the following 2 packages in hopes that the install would continue:
snmptt-1.4-0.9.beta2.el7.noarch.rpm
shellinabox-2.20-5.el7.x86_64.rpm
The upgrade script runs for a while, then just stops after:
NRPE installed OK
Updating NRDP..
There's simply nothing else written in the upgrade instructions.
I've attached the upgrade.log; does anyone know why the upgrade failed?
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
NagiosXI Upgrade 5.4.13 to 5.5 failed
NagiosXI Upgrade 5.4.13 to 5.5 failed
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Upgrade 5.4.13 to 5.5 failed
This issue will be fixed in the next release of Nagios XI. As a "workaround", comment out the following section in the "upgrade" script:
so that it would look like this:
Save, exit, and rerun the upgrade script:
Code: Select all
# Uninstall ajaxterminal to install shellinabox
rpmcheck=$(rpm -q Ajaxterm)
if [ $? -eq 0 ]; then
rpm -e Ajaxterm
cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
rm -f $proddir/html/admin/ajaxterm.php
fiCode: Select all
# Uninstall ajaxterminal to install shellinabox
#rpmcheck=$(rpm -q Ajaxterm)
#if [ $? -eq 0 ]; then
# rpm -e Ajaxterm
# cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
# sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
# rm -f $proddir/html/admin/ajaxterm.php
#fiCode: Select all
cd /tmp/nagiosxi
./upgradeRe: NagiosXI Upgrade 5.4.13 to 5.5 failed
It looks like commenting out that bit did the trick.
However, I did notice now that I'm on 5.5, many of my sslcert checks are failing.
I tried replacing check_http with the a plugin from my backup of XI 5.4.13, but it seemed to have the same behavior.
I don't understand why check_http says "CRITICAL - Socket timeout" when, if I add --verbose, I can see the answer I'm expecting within a few seconds. It gives the sslcert expiration date, but doesn't return it to Nagios; instead it hangs till the 30 second timeout hits.
$ time /usr/local/nagios/libexec/check_http -H auvpngw.multiservice.com -S --sni -C 7 -t 30 -f ok --verbose
SSL initialized
SSL OK - Certificate 'auvpngw.multiservice.com' will expire on 2019-03-28 13:49 -0500/CDT. GET / HTTP/1.1
User-Agent: check_http/v2.2.1 (nagios-plugins 2.2.1)
Connection: close
Host: auvpngw.multiservice.com
Accept: */*
CRITICAL - Socket timeout
real 0m30.004s
user 0m0.004s
sys 0m0.005s
Do you know why my sslcert checks fail after the upgrade to 5.5?
However, I did notice now that I'm on 5.5, many of my sslcert checks are failing.
I tried replacing check_http with the a plugin from my backup of XI 5.4.13, but it seemed to have the same behavior.
I don't understand why check_http says "CRITICAL - Socket timeout" when, if I add --verbose, I can see the answer I'm expecting within a few seconds. It gives the sslcert expiration date, but doesn't return it to Nagios; instead it hangs till the 30 second timeout hits.
$ time /usr/local/nagios/libexec/check_http -H auvpngw.multiservice.com -S --sni -C 7 -t 30 -f ok --verbose
SSL initialized
SSL OK - Certificate 'auvpngw.multiservice.com' will expire on 2019-03-28 13:49 -0500/CDT. GET / HTTP/1.1
User-Agent: check_http/v2.2.1 (nagios-plugins 2.2.1)
Connection: close
Host: auvpngw.multiservice.com
Accept: */*
CRITICAL - Socket timeout
real 0m30.004s
user 0m0.004s
sys 0m0.005s
Do you know why my sslcert checks fail after the upgrade to 5.5?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Upgrade 5.4.13 to 5.5 failed
We just released 5.5.1 today that has a fix for this as well as a few others.
Re: NagiosXI Upgrade 5.4.13 to 5.5 failed
Thanks, 5.5.1 fixed all the issues I had!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Upgrade 5.4.13 to 5.5 failed
Excellent!jaroork wrote:Thanks, 5.5.1 fixed all the issues I had!
Closing