Nagios upgrade
Nagios upgrade
Hello team,
I want to upgrade NagiosXI 5.5.9 to latest version (5.6.10) offline.
I have downloaded "xi-latest.tar.gz" , and the server has the following yum repolist:
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 1,190
!rhel-7-server-optional-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 17,914
!rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 24,539
repolist: 43,643
Is it enough to complete the Upgrade without internet connection?
I want to upgrade NagiosXI 5.5.9 to latest version (5.6.10) offline.
I have downloaded "xi-latest.tar.gz" , and the server has the following yum repolist:
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 1,190
!rhel-7-server-optional-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 17,914
!rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 24,539
repolist: 43,643
Is it enough to complete the Upgrade without internet connection?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios upgrade
Our documentation for doing this is located here:
https://assets.nagios.com/downloads/nag ... onment.pdf
You cannot convert a "normal install" to an "offline install". The only way to do this is via a backup and restore.
https://assets.nagios.com/downloads/nag ... onment.pdf
You cannot convert a "normal install" to an "offline install". The only way to do this is via a backup and restore.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios upgrade
Thank you,
I noticed that offline tarball nagiosxi-5.6.10-1.el7.x86_64.tar.gz is different than xi-latest.tar.gz.
I noticed that offline tarball nagiosxi-5.6.10-1.el7.x86_64.tar.gz is different than xi-latest.tar.gz.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios upgrade
Correct, they are the same product but delivered and installed differently.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios upgrade
Dears,
I did offline upgrade as per document, but after finishing the upgrade the version still the same on GUI "5.5.9"
could you please help?
I did offline upgrade as per document, but after finishing the upgrade the version still the same on GUI "5.5.9"
could you please help?
Re: Nagios upgrade
Double check the installed version with:
And try restarting the Apache service if that shows up to date:
Otherwise it sounds like it didn't complete the upgrade. Were there any errors when you went through the steps? Try running through them again and provide any errors that it may produce.
Code: Select all
cat /usr/local/nagiosxi/var/xiversionCode: Select all
systemctl restart httpdAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios upgrade
Hi,
attached a file of upgrade output.
I did a reboot but still the same.
cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.5.9
major=5
minor=5.9
releasedate=2019-01-17
release=5509
mariadb seams to be the issue
tailf /var/log/mariadb/mariadb.log
200124 16:17:12 InnoDB: Initializing buffer pool, size = 128.0M
200124 16:17:12 InnoDB: Completed initialization of buffer pool
200124 16:17:12 InnoDB: highest supported file format is Barracuda.
200124 16:17:12 InnoDB: Waiting for the background threads to start
200124 16:17:13 Percona XtraDB (http://www.percona.com) 5.5.59-MariaDB-38.11 started; log sequence number 56923707417
200124 16:17:13 [Note] Plugin 'FEEDBACK' is disabled.
200124 16:17:13 [Note] Server socket created on IP: '0.0.0.0'.
200124 16:17:13 [Note] Event Scheduler: Loaded 0 events
200124 16:17:13 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.60-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
attached a file of upgrade output.
I did a reboot but still the same.
cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.5.9
major=5
minor=5.9
releasedate=2019-01-17
release=5509
mariadb seams to be the issue
tailf /var/log/mariadb/mariadb.log
200124 16:17:12 InnoDB: Initializing buffer pool, size = 128.0M
200124 16:17:12 InnoDB: Completed initialization of buffer pool
200124 16:17:12 InnoDB: highest supported file format is Barracuda.
200124 16:17:12 InnoDB: Waiting for the background threads to start
200124 16:17:13 Percona XtraDB (http://www.percona.com) 5.5.59-MariaDB-38.11 started; log sequence number 56923707417
200124 16:17:13 [Note] Plugin 'FEEDBACK' is disabled.
200124 16:17:13 [Note] Server socket created on IP: '0.0.0.0'.
200124 16:17:13 [Note] Event Scheduler: Loaded 0 events
200124 16:17:13 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.60-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
You do not have the required permissions to view the files attached to this post.
Re: Nagios upgrade
Make sure you're running this as root and that you can write to /var/tmp/./var/tmp/rpm-tmp.RyyAXA: line 19: ./rpminstall: Permission denied
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios upgrade
Hi,
I am upgrading as root, but /var/tmp has noexec, I will set it to exec.
now how to redo the upgrade without losing database or cfg files.
these rpms have been installed after the upgrade , and doing upgrade again will do nothing (since they are latest)
rpm -aq|grep nagios
nagiosxi-mrtg-5.6.10-1.el7.x86_64
nagiosxi-nrds-5.6.10-1.el7.x86_64
nagiosxi-nagiosplugins-5.6.10-1.el7.x86_64
nagiosxi-pnp-5.6.10-1.el7.x86_64
nagiosxi-wmic-5.6.10-1.el7.x86_64
nagiosxi-shellinabox-5.6.10-1.el7.x86_64
nagiosxi-nsca-5.6.10-1.el7.x86_64
nagiosxi-wkhtmltox-5.6.10-1.el7.x86_64
nagiosxi-ndoutils-5.6.10-1.el7.x86_64
nagiosxi-nagiosmobile-5.6.10-1.el7.x86_64
nagiosxi-nagioscore-5.6.10-1.el7.x86_64
nagios-repo-7-3.el7.noarch
nagiosxi-nagvis-5.6.10-1.el7.x86_64
nagiosxi-nrpe-5.6.10-1.el7.x86_64
nagiosxi-nxti-5.6.10-1.el7.x86_64
nagiosxi-5.6.10-1.el7.x86_64
I am upgrading as root, but /var/tmp has noexec, I will set it to exec.
now how to redo the upgrade without losing database or cfg files.
these rpms have been installed after the upgrade , and doing upgrade again will do nothing (since they are latest)
rpm -aq|grep nagios
nagiosxi-mrtg-5.6.10-1.el7.x86_64
nagiosxi-nrds-5.6.10-1.el7.x86_64
nagiosxi-nagiosplugins-5.6.10-1.el7.x86_64
nagiosxi-pnp-5.6.10-1.el7.x86_64
nagiosxi-wmic-5.6.10-1.el7.x86_64
nagiosxi-shellinabox-5.6.10-1.el7.x86_64
nagiosxi-nsca-5.6.10-1.el7.x86_64
nagiosxi-wkhtmltox-5.6.10-1.el7.x86_64
nagiosxi-ndoutils-5.6.10-1.el7.x86_64
nagiosxi-nagiosmobile-5.6.10-1.el7.x86_64
nagiosxi-nagioscore-5.6.10-1.el7.x86_64
nagios-repo-7-3.el7.noarch
nagiosxi-nagvis-5.6.10-1.el7.x86_64
nagiosxi-nrpe-5.6.10-1.el7.x86_64
nagiosxi-nxti-5.6.10-1.el7.x86_64
nagiosxi-5.6.10-1.el7.x86_64
Re: Nagios upgrade
Box293 wrote:Our documentation for doing this is located here:
https://assets.nagios.com/downloads/nag ... onment.pdf
You cannot convert a "normal install" to an "offline install". The only way to do this is via a backup and restore.
backup/restore document says:
"The version of the fresh install of Nagios XI that you are restoring to needs to match the version of Nagios XI
that the backup was taken from. For example:
Backup was created on Nagios XI 5.2.2
The server you are restoring to must have Nagios XI 5.2.2 installed on it."
so how would I restore from backup taken from older version on new upgraded version?