About to upgrade need some advice.
About to upgrade need some advice.
Hey guys, we are planning to upgrade Nagios from version Nagios XI 5.4.12 to the latest version. I am wondering if there a recommended way to upgrade from that version to the current one.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: About to upgrade need some advice.
Hey Ben,
Thanks for asking. You can send over a fresh copy of your system profile and we can review the logs and verify that you do not have any database corruption before proceeding.
To upgrade, you'll want to stop the main Nagios services:
....and then run the manual upgrade from the command line.
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
Thanks for asking. You can send over a fresh copy of your system profile and we can review the logs and verify that you do not have any database corruption before proceeding.
To upgrade, you'll want to stop the main Nagios services:
Code: Select all
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
systemctl stop ndo2db
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: About to upgrade need some advice.
profile sent =D
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: About to upgrade need some advice.
Hi Ben,
Thanks for sending over the profile. The database is offloaded, so it did not include the log. Can you retrieve the MySQL log from the offloaded server?
A couple more items...
1. There is not much free memory showing in the output for the top command. Make sure you have sufficient memory on the new server as you are running a larger deployment.
2. You have multiple Nagios processes running on the server. Run through the following commands to kill everything and restart.
3. Are you running a test server that will be upgraded first?
Thanks for sending over the profile. The database is offloaded, so it did not include the log. Can you retrieve the MySQL log from the offloaded server?
Code: Select all
/var/log/mysqld.log
1. There is not much free memory showing in the output for the top command. Make sure you have sufficient memory on the new server as you are running a larger deployment.
2. You have multiple Nagios processes running on the server. Run through the following commands to kill everything and restart.
Code: Select all
service nagios stop
service ndo2db stop
pkill -9 nagios
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
service ndo2db start
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: About to upgrade need some advice.
yes we have a "test" server. It is actually the secondary in our prod environment.
We are also running pnp4nagios version 0.6.24 and interface table version 3T-0.05. as for the memory do you thinkl that we need to pop a few more sticks in ?
as for the mysqld.log file I checked it on the offloaded server it is empty
We are also running pnp4nagios version 0.6.24 and interface table version 3T-0.05. as for the memory do you thinkl that we need to pop a few more sticks in ?
as for the mysqld.log file I checked it on the offloaded server it is empty
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: About to upgrade need some advice.
Hi Ben,
If the database log is empty, then I would recommend proceeding with the upgrade on the test server and then the production system. As mentioned, take a backup and run the manual upgrade instead of using the GUI.
The top command output was showing low memory, but run the following to check again. You may want to add more memory.
If the database log is empty, then I would recommend proceeding with the upgrade on the test server and then the production system. As mentioned, take a backup and run the manual upgrade instead of using the GUI.
The top command output was showing low memory, but run the following to check again. You may want to add more memory.
Code: Select all
free -h
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: About to upgrade need some advice.
ok thanks! you can lock it
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: About to upgrade need some advice.
Hi Ben,
Sounds good. Just open a ticket or another post if you need anything.ok thanks! you can lock it
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!