Hi Team,
We are using Nagios XI 2014R2.7 and we want to update it online.
Kindly let us know the procedure and risk factors included in this upgrade as we are using Nagios XI to monitor large number of our production servers. So will this online update will include some downtime? How much time will it take to update? If the update fails how can we recover from it?
Nagios Update from Nagios XI 2014R2.7
Nagios Update from Nagios XI 2014R2.7
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: Nagios Update from Nagios XI 2014R2.7
The upgrade instructions I always recommend are here:
https://assets.nagios.com/downloads/nag ... nstall.pdf
And we always suggest either taking a VM snapshot if you can, or at the least taking an XI-level backup before doing so:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Downtime should be minimal, honestly the actual monitoring engine is only down for a few seconds during a normal upgrade. Make sure before you do the upgrade that you are able to apply config successfully without any errors, as the upgrade will assume this as a requirement.
How long the update will take depends on many factors, mostly your network speed for the package management. Normally I say set aside half an hour or so, but it generally does not take that long.
Finally, if it fails you can use the second link to restore from a backup you took, otherwise you can revert back to a VM snapshot.
https://assets.nagios.com/downloads/nag ... nstall.pdf
And we always suggest either taking a VM snapshot if you can, or at the least taking an XI-level backup before doing so:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Downtime should be minimal, honestly the actual monitoring engine is only down for a few seconds during a normal upgrade. Make sure before you do the upgrade that you are able to apply config successfully without any errors, as the upgrade will assume this as a requirement.
How long the update will take depends on many factors, mostly your network speed for the package management. Normally I say set aside half an hour or so, but it generally does not take that long.
Finally, if it fails you can use the second link to restore from a backup you took, otherwise you can revert back to a VM snapshot.
Former Nagios employee
Re: Nagios Update from Nagios XI 2014R2.7
Hi Team,
Can we update the Nagios XI from the GUI console as well other than through commands ? Kindly refer attached snapshot.
Can we update the Nagios XI from the GUI console as well other than through commands ? Kindly refer attached snapshot.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: Nagios Update from Nagios XI 2014R2.7
You can, but there have been problems in the past with GUI-based upgrades so I always suggest doing so from the command line.
Former Nagios employee
Re: Nagios Update from Nagios XI 2014R2.7
Hi ,
Is the attached steps is fine to upgrade from Nagios XI 2014R2.7 to 5.3.X.
Our DB details is below:
grep -R 'dbtype' /usr/local/nagiosxi/html/config.inc.php
$cfg['dbtype'] = ''; // this setting is no longer used - use settings below
"dbtype" => 'pgsql',
"dbtype" => 'mysql',
"dbtype" => 'mysql',
Is the attached steps is fine to upgrade from Nagios XI 2014R2.7 to 5.3.X.
Our DB details is below:
grep -R 'dbtype' /usr/local/nagiosxi/html/config.inc.php
$cfg['dbtype'] = ''; // this setting is no longer used - use settings below
"dbtype" => 'pgsql',
"dbtype" => 'mysql',
"dbtype" => 'mysql',
You do not have the required permissions to view the files attached to this post.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Nagios Update from Nagios XI 2014R2.7
Yes, it looks good, I would add when running the upgrade if you have issues, please include the upgrade.log file and any error output from the command line.
Also, make sure that you test applying configuration once it's back up.
Thank you
Also, make sure that you test applying configuration once it's back up.
Thank you
Re: Nagios Update from Nagios XI 2014R2.7
Hi ,
Can you please re-confirm. On existing version "dbtype" => 'pgsql', will not affect on this upgrade.
Can you please re-confirm. On existing version "dbtype" => 'pgsql', will not affect on this upgrade.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Nagios Update from Nagios XI 2014R2.7
It will not affect the upgrade. If you were to do a backup and restore, you would be affected because newer versions expect mysql. Otherwise the nagiosxi db will continue to run as pgsql and things will work fine.sgoffar wrote:Hi ,
Can you please re-confirm. On existing version "dbtype" => 'pgsql', will not affect on this upgrade.
Former Nagios Employee
Re: Nagios Update from Nagios XI 2014R2.7
Hi Kennedy,
But after the upgrade, if at some point of time we needs to restore from backup.
What should be the result?
But after the upgrade, if at some point of time we needs to restore from backup.
What should be the result?
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios Update from Nagios XI 2014R2.7
In the case of needing a restore, just spin up a clean version of 2014R2.7, then upgrade from there. If you go back to a version that has pgsql, then that db will be brought along with the updates. It's not ideal, but it works.
Does that answer your question?
Does that answer your question?