Nagios XI Centos 6 to Centos 8 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Backendsupport
Posts: 8
Joined: Tue Aug 29, 2017 1:34 am

Nagios XI Centos 6 to Centos 8 upgrade

Post by Backendsupport »

Hello,

We would like to perform an upgrade to Centos 8 with the following steps:

-Deploy Centos 8 VM
-Install NagiosXI 5.7.4
-Take NagiosXI backup from source
-Restore NagiosXI backup on Centos 8 VM
-Perform post restore checks
-Run restore_repair.sh
-Install latest version of NagiosXI

Now the problem is that our server contains installed custom software and scripts to perform checks which probably are not transferred to the new server. The problem is that I don't know what files are used by NagiosXI for these custom checks. Is there a way
(like strace) to see what files are used by NagiosXI? Or is there another way to find out what files are used by Nagios on the filesytem?

Thanks in advance,

Ronald
User avatar
kfanselow
Posts: 254
Joined: Tue Aug 31, 2021 3:25 pm

Re: Nagios XI Centos 6 to Centos 8 upgrade

Post by kfanselow »

Hi Ronald,

Just a heads up - CentOS 8 is scheduled to be end of life on December 31st of this year. Cent0S Stream 8 however will continue and we plan to support NagiosXI on stream moving forward.

https://www.centos.org/centos-linux-eol/

With regard to the files and plugins being used by Nagios you can manage plugins through the Admin page:

NagiosXI Home Page -> Admin (top) -> Manage Plugins ( left side under System Extensions )

Here's our Knowledge Base article on the subject:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The backup script should tar up the nagios and nagiosxi directories, including the plugins, however if there are dependencies outside of those directories you might have to add those manually. As far as finding them preemptively you can use tools like lsof ( list open files) to try to identify files and ps ( or pstree ) to look at the processes.

Code: Select all

lsof -nPu apache,nagios 
ps -lFu nagio 

Hope this is useful,

Thanks and Best Regards,
Keith
Backendsupport
Posts: 8
Joined: Tue Aug 29, 2017 1:34 am

Re: Nagios XI Centos 6 to Centos 8 upgrade

Post by Backendsupport »

Thank you, for your reply. I will use this information in a test migration and will let you know the outcome.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios XI Centos 6 to Centos 8 upgrade

Post by ssax »

Great, we'll keep an eye out for your update.
Locked