offline nagiosxi upgrade issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
LM-PP1
Posts: 24
Joined: Mon Jul 20, 2020 11:07 am

offline nagiosxi upgrade issue

Post by LM-PP1 »

Hello NAGIOS team,
I run an offline instance of Nagios 5.6.14. I have issues when moving to 5.7.1 or 5.7.2. It starts with the monitoring engine not working. When implemented fix in the forums, I have issues acknowledging the issues that appear in Nagios. These are the known issues before i have given up.

If i do the full install of 5.7.2 (not the upgrade) it works, but i lose all my performance graph history.

Is there a way to upgrade successfully from 5.6.14 to 5.7.2? I will do all the prep work (including updating the OS), but i do not want to implement reverting the NDo to the one used in 5.6.14.

If not, is there a way to get my performance graph history and move it to a fresh install of 5.7.2?

The datas:
CentOS 7.4
64 Bit
Manual install
No special configuration
nagios_tarball_upgrade_errors.txt
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: offline nagiosxi upgrade issue

Post by cdienger »

I suspect that fresh install over an upgrade will yield the same results regarding the ndo behavior, but if you'd like to give this a go then transferring the perfdata is simply a mater of moving the folders found in /usr/local/nagios/share/perfdata/ on the old machine to the same directory on the new machine.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
LM-PP1
Posts: 24
Joined: Mon Jul 20, 2020 11:07 am

Re: offline nagiosxi upgrade issue

Post by LM-PP1 »

Sorry for the delayed response. I did do what you recommended and the duration of the the checks did not move over when i moved the perfdata over.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: offline nagiosxi upgrade issue

Post by cdienger »

I'm not sure what you mean by duration, but I assume the you can't see the graphs after copying the files over. Did you make sure the permissions stayed the same? Try setting the permissions:

Code: Select all

chown -R nagios:nagios /usr/local/nagios/share/perfdata/
chmod 664 -R /usr/local/nagios/share/perfdata/
chmod 775 /usr/local/nagios/share/perfdata/*
Run:

Code: Select all

ls -alhR /usr/local/nagios/share/perfdata > listing.txt
and send me the listing.txt file if setting the permissions didn't help. Please also private message me a profile. A profile can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:

Code: Select all

/usr/local/nagiosxi/scripts/components/getprofile.sh 60090
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.