upgrade plan to centos 7
upgrade plan to centos 7
Hi,
I've been told that centos 6 will not be support anymore very soon.
Since my NagiosXI is on centos 6, what would be the upgrade path to centos 7?
I've been told that centos 6 will not be support anymore very soon.
Since my NagiosXI is on centos 6, what would be the upgrade path to centos 7?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: upgrade plan to centos 7
Hi,
That is correct, Cent 6 will be end-of-life at the end of November. A migration in XI is easier that it sounds, the backup and restore script will move everything over. You just need to set up a fresh server or VM with Cent 7 and then run the restore script.
If you need to change your IP address and that is covered in the guide below as well.
Backing Up And Restoring Your Nagios XI System
You get 3 activations with your Nagios XI license, production, test, and backup, so you can set this up on the side and perform the switch over when you're ready.
https://support.nagios.com/kb/article.php?id=145
Let us know if you have more questions or need further assistance.
Benjamin
That is correct, Cent 6 will be end-of-life at the end of November. A migration in XI is easier that it sounds, the backup and restore script will move everything over. You just need to set up a fresh server or VM with Cent 7 and then run the restore script.
If you need to change your IP address and that is covered in the guide below as well.
Backing Up And Restoring Your Nagios XI System
You get 3 activations with your Nagios XI license, production, test, and backup, so you can set this up on the side and perform the switch over when you're ready.
https://support.nagios.com/kb/article.php?id=145
Let us know if you have more questions or need further assistance.
Benjamin
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: upgrade plan to centos 7
That's what I tought, but it's not that easy. In place upgrade would have been more easier.
I need to go through the internal process for having a new VM
I need to go to our network provider to have a temporary IP
I need to not only transfert nagiosxi but the multiple scripts I have wrote also
Question
Centos7 image it's with mariadb. With my actual system centos6 it's mysql. When I will restore the backup of nagiosxi on my new image, what will hapen with the db?
I need to go through the internal process for having a new VM
I need to go to our network provider to have a temporary IP
I need to not only transfert nagiosxi but the multiple scripts I have wrote also
Question
Centos7 image it's with mariadb. With my actual system centos6 it's mysql. When I will restore the backup of nagiosxi on my new image, what will hapen with the db?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: upgrade plan to centos 7
HI,
We have archived versions available for download on the following page.
https://assets.nagios.com/downloads/nag ... rsions.php
Let us know if you have more questions or need assistance.
benjamin
Currently, we do not QA this type of upgrade. It probably will work but it will also take your monitoring serer down for while it downloads and re-compiles.That's what I tought, but it's not that easy. In place upgrade would have been more easier.
The restore script will take care of that. They are essentially the same programs. One thing to mention is that you'll need to migrate between the same versions of Nagios XI. I would recommend taking the backup, restoring on this version of the new system, and then upgrading.Centos7 image it's with mariadb. With my actual system centos6 it's mysql. When I will restore the backup of nagiosxi on my new image, what will hapen with the db?
We have archived versions available for download on the following page.
https://assets.nagios.com/downloads/nag ... rsions.php
Let us know if you have more questions or need assistance.
benjamin
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: upgrade plan to centos 7
Thanks, I have others questions
Ok, "script will take care of that" but what would be the final database once restore Nagios XI on the new centos 7? MySQL or MariaDB?
Once on the new server, does it's possible to change the IP and the hostname to match we we have before?
Ok, "script will take care of that" but what would be the final database once restore Nagios XI on the new centos 7? MySQL or MariaDB?
Once on the new server, does it's possible to change the IP and the hostname to match we we have before?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: upgrade plan to centos 7
Hi,
For new Cent 7, it's going to install MariaDB. For instructions on changing the IP address, please refer to page 13 of the following guide.
Backing Up And Restoring Your Nagios XI System
Let us know if you any other questions.
For new Cent 7, it's going to install MariaDB. For instructions on changing the IP address, please refer to page 13 of the following guide.
Backing Up And Restoring Your Nagios XI System
Let us know if you any other questions.
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: upgrade plan to centos 7
Hi,
During the configuration and the restore on the new NagiosXI system, how can avoid the new system to monitor Hosts and Services? Because on the new system I'm using a temporary IP adresse (once configuration over, I will used the adresse of the actual system), it will not be autorised to contact NRPE agent (because of FW of course) and I will have a bunch of alert that could potentionnaly triger paging/ticketing to support. I want avoid such scenario.
During the configuration and the restore on the new NagiosXI system, how can avoid the new system to monitor Hosts and Services? Because on the new system I'm using a temporary IP adresse (once configuration over, I will used the adresse of the actual system), it will not be autorised to contact NRPE agent (because of FW of course) and I will have a bunch of alert that could potentionnaly triger paging/ticketing to support. I want avoid such scenario.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: upgrade plan to centos 7
Hi,
My recommendation would be to disable checks in the main Nagios Core configuration file. The following settings in /usr/local/nagios/etc/nagios.cfg will turn off all processing of checks results both active and passive.
See: https://assets.nagios.com/downloads/nag ... gmain.html
You can stop the Nagios service after the migration and edit those settings or unpack the archive and edit this file before running the restore script.
Let me know if that will work for you.
Benjamin
My recommendation would be to disable checks in the main Nagios Core configuration file. The following settings in /usr/local/nagios/etc/nagios.cfg will turn off all processing of checks results both active and passive.
Code: Select all
execute_service_checks=0
execute_host_checks=0
accept_passive_service_checks=0
accept_passive_host_checks=0
You can stop the Nagios service after the migration and edit those settings or unpack the archive and edit this file before running the restore script.
Code: Select all
systemctl stop nagios
Benjamin
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: upgrade plan to centos 7
Hi,
All went well for my test servers. I will do the real monitoring server in 1-2 weeks. Should be good with what I have in hand to do it without problem.
You can close this ticket, and thanks for you help.
All went well for my test servers. I will do the real monitoring server in 1-2 weeks. Should be good with what I have in hand to do it without problem.
You can close this ticket, and thanks for you help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: upgrade plan to centos 7
Great!steph007 wrote:Hi,
All went well for my test servers. I will do the real monitoring server in 1-2 weeks. Should be good with what I have in hand to do it without problem.
You can close this ticket, and thanks for you help.
Locking thread