Upgrading NagiosXI
Upgrading NagiosXI
Hi Team,
Current version of Nagios xi in our environment is 5.4.11. I want to upgrade NagiosXI to Latest version. Please let me know which latest version is better to upgrade so that that version don't have any issue or bugs . Our current version is behaving weirdly and not detecting Host down status when any host is really down .
Please let me know all the instructions and pre-procedures and things needs to be done before and after upgrade of NagiosXI.
Also let me know by Upgrading NagiosXI , will I get latest version of Nagvis? or Do I need to do any thing to get install Nagvis latest version.
Regards,
Mohan Gandhi
Current version of Nagios xi in our environment is 5.4.11. I want to upgrade NagiosXI to Latest version. Please let me know which latest version is better to upgrade so that that version don't have any issue or bugs . Our current version is behaving weirdly and not detecting Host down status when any host is really down .
Please let me know all the instructions and pre-procedures and things needs to be done before and after upgrade of NagiosXI.
Also let me know by Upgrading NagiosXI , will I get latest version of Nagvis? or Do I need to do any thing to get install Nagvis latest version.
Regards,
Mohan Gandhi
Re: Upgrading NagiosXI
Nagios XI 5.4.11 is quite old. I would recommend upgrading to the latest (5.5.9 at the moment). There have been a numerous bugs that were fixed since 5.4.11. You can view the changelog here:Current version of Nagios xi in our environment is 5.4.11. I want to upgrade NagiosXI to Latest version. Please let me know which latest version is better to upgrade so that that version don't have any issue or bugs.
https://www.nagios.com/downloads/nagios-xi/change-log/
Here's our official documentation on upgrading Nagios XI:Please let me know all the instructions and pre-procedures and things needs to be done before and after upgrade of NagiosXI.
https://assets.nagios.com/downloads/nag ... ctions.pdf
Latest XI ships with NagVis 1.9.8.Also let me know by Upgrading NagiosXI , will I get latest version of Nagvis? or Do I need to do any thing to get install Nagvis latest version.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
What will happen to existing Performance data post upgrade? Will this existing performance data will be available after upgrade .
Also is there any mechanism to keep only last 1 or 2 or 3 months performance data and delete rest of the performance data.
Also is there any mechanism to keep only last 1 or 2 or 3 months performance data and delete rest of the performance data.
Re: Upgrading NagiosXI
Yes, the performance data is backed up and restored. Keep in mind that you may run into some issues if you are changing the architecture, e.g. migrating from a 32-bit to a 64-bit system. See more on the issue here:What will happen to existing Performance data post upgrade? Will this existing performance data will be available after upgrade .
https://support.nagios.com/kb/article/n ... a-166.html
If you are not changing the architecture, there is nothing to worry about.
There is no way of doing that as far as I know. The RRDs are already created and you can't change them. You will have to remove them and recreate them with a different settings. For example, if you wanted to keep only let's say 3 months of performance data, you could modify the /usr/local/nagios/etc/pnp/rra.cfg file by commenting out the "360 minute step" lines:Also is there any mechanism to keep only last 1 or 2 or 3 months performance data and delete rest of the performance data.
Code: Select all
#
# PNP default RRA config
#
# you will get 400kb of data per datasource
#
# 2880 entries with 1 minute step = 48 hours
#
RRA:AVERAGE:0.5:1:2880
#
# 2880 entries with 5 minute step = 10 days
#
RRA:AVERAGE:0.5:5:2880
#
# 4320 entries with 30 minute step = 90 days
#
RRA:AVERAGE:0.5:30:4320
#
# 5840 entries with 360 minute step = 4 years
#
#RRA:AVERAGE:0.5:360:5840
RRA:MAX:0.5:1:2880
RRA:MAX:0.5:5:2880
RRA:MAX:0.5:30:4320
#RRA:MAX:0.5:360:5840
RRA:MIN:0.5:1:2880
RRA:MIN:0.5:5:2880
RRA:MIN:0.5:30:4320
#RRA:MIN:0.5:360:5840Code: Select all
cd /usr/local/nagios/share/perfdata
rm -rf *Read more on performance data averaging here:
https://support.nagios.com/kb/article/n ... g-768.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
Thanks for providing above information . If I want to keep last 6 months data instead of 3 months after XI upgrade. what changes needs to be done in rra.cfg. Could you please let me know
Re: Upgrading NagiosXI
You would need to modify the rra.cfg as such:
You would still need to delete all of the old RRDs, so that they would be recreated with the "new" settings. Hope this helps.#
# PNP default RRA config
#
# you will get 400kb of data per datasource
#
# 2880 entries with 1 minute step = 48 hours
#
RRA:AVERAGE:0.5:1:2880
#
# 2880 entries with 5 minute step = 10 days
#
RRA:AVERAGE:0.5:5:2880
#
# 4320 entries with 30 minute step = 90 days
#
#RRA:AVERAGE:0.5:30:4320
# 8640 entries with 30 minute step = 180 days
RRA:AVERAGE:0.5:30:8640
#
# 5840 entries with 360 minute step = 4 years
#
#RRA:AVERAGE:0.5:360:5840
RRA:MAX:0.5:1:2880
RRA:MAX:0.5:5:2880
RRA:MAX:0.5:30:8640
#RRA:MAX:0.5:360:5840
RRA:MIN:0.5:1:2880
RRA:MIN:0.5:5:2880
RRA:MIN:0.5:30:8640
#RRA:MIN:0.5:360:5840
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
Thank you very much for sharing information. We will upgrade XI and come back to you in case of any issues.
But lets keep this thread open for a week or so.
But lets keep this thread open for a week or so.
Re: Upgrading NagiosXI
I am not going to close the topic but keep in mind that topics do "auto-close" after some time. If this happens, you could just start a new thread, and reference this one, or you could PM me, and ask me to unlock the topic. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrading NagiosXI
I'm trying to upgrade to latest version and I see upgrade is getting break at below step
Package wkhtmltox-0.12.1.3.el7.x86_64.rpm is not signed
Uploading Enabled Repositories Report
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
even we have tried upgrading manually , we are getting same issue and we have downloaded 5.5.9 tar files and tried to upgrade and we are getting same error
can you help me on how to get this fixed and upgrade xi successfully.
Package wkhtmltox-0.12.1.3.el7.x86_64.rpm is not signed
Uploading Enabled Repositories Report
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered with RHN Classic or Red Hat Satellite.
You can use rhn_register to register.
Red Hat Satellite or RHN Classic support will be disabled.
even we have tried upgrading manually , we are getting same issue and we have downloaded 5.5.9 tar files and tried to upgrade and we are getting same error
can you help me on how to get this fixed and upgrade xi successfully.
Re: Upgrading NagiosXI
Is your system registered with RedHat? Let's try to rerun the upgrade. Run the following commands from the command line:
If the upgrade fails again, post the entire upgrade.log on the forum.
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.5.9.tar.gz
tar xvf xi-5.5.9.tar.gz
cd nagiosxi
./upgrade
Be sure to check out our Knowledgebase for helpful articles and solutions!