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
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
offline nagiosxi upgrade issue
-
- Posts: 24
- Joined: Mon Jul 20, 2020 11:07 am
offline nagiosxi upgrade issue
You do not have the required permissions to view the files attached to this post.
-
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Re: offline nagiosxi upgrade issue
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.
-
- Posts: 24
- Joined: Mon Jul 20, 2020 11:07 am
Re: offline nagiosxi upgrade issue
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.
-
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Re: offline nagiosxi upgrade issue
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:
Run:
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:
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip.
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/*
Code: Select all
ls -alhR /usr/local/nagios/share/perfdata > listing.txt
Code: Select all
/usr/local/nagiosxi/scripts/components/getprofile.sh 60090
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.