Upgrading from 2.2.3 to 2.3.0

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Upgrading from 2.2.3 to 2.3.0

Post by SteveBeauchemin »

I plan to do the upgrade soon, but before I do, are there an issues I need to know about ahead of time.

Are there any possible stumbling blocks to be aware of.

Please advise.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrading from 2.2.3 to 2.3.0

Post by tgriep »

I did a search and I found a few people having issues with custom Python installs which caused the rrdtool from building.
It is needed to display / generate the Bandwidth graph.
But other than that, I didn't find much else but make sure you do a backup first.
Be sure to check out our Knowledgebase for helpful articles and solutions!
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Upgrading from 2.2.3 to 2.3.0

Post by SteveBeauchemin »

I like ESX and vmware.

The upgrade ran clean but nothing worked after.

The sources were gone, the web pages were not found... not much fun.

I reverted the ESX to a snapshot I made a couple hours ago in case this happened.

So I am at 2.2.3 still.

I could have just reinstalled it from scratch I suppose, from the fullinstall script. I just couldn't have the down time today.

I could not find any install or upgrade log file after either.

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrading from 2.2.3 to 2.3.0

Post by tgriep »

The NNA installs / upgrades do not create a log files so you would have to scroll back in the buffer and look at the errors if any were produced.

It almost sounds like the Web server wasn't running after the upgrade.
One thing, did you try and reboot the server after the upgrade to see if things start up?

Can you run the following on the NNA server and post it here so we can get some specifics of the OS the NNA software is running on?

Code: Select all

uname -a
cat /etc/*release*
php -v
python -V
Thanks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Upgrading from 2.2.3 to 2.3.0

Post by SteveBeauchemin »

I am providing the data requested. I did not reboot the server after upgrade.

I did the manual upgrade from /tmp/nagiosna with NNA running. After the upgrade completed I stopped all related items: httpd mariadb nagiosna
I used ps -ef and made sure nothing was running, killed off any nna owned processes.
Then started up: httpd mariadb nagiosna

I will go through the upgrade again next week and do a reboot after. I just could not afford the down time today.

Results as requested:

Code: Select all

uname -a
Linux [hostname] 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/*release*
cat: /etc/lsb-release.d/: Is a directory
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.3"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.3 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.3"
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Red Hat Enterprise Linux Server release 7.3 (Maipo)
cpe:/o:redhat:enterprise_linux:7.3:ga:server

php -v
PHP 5.4.16 (cli) (built: Aug  5 2016 07:50:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

python -V
Python 2.7.5
Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrading from 2.2.3 to 2.3.0

Post by tgriep »

Thanks for the data. All of the versions look stock.

Next time you run the upgrade, screen capture the error and post it.
Run the following as root and post the output.

Code: Select all

ps -ef --cols=300
And if you cannot access the Web interface, look at the Apache log files in the following folder for any errors and post them.

Code: Select all

/var/log/httpd
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!