Page 1 of 1

Nagios XI Centos 6 to Centos 8 upgrade

Posted: Wed Nov 10, 2021 7:17 am
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

Re: Nagios XI Centos 6 to Centos 8 upgrade

Posted: Wed Nov 10, 2021 4:41 pm
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

Re: Nagios XI Centos 6 to Centos 8 upgrade

Posted: Thu Nov 11, 2021 2:38 am
by Backendsupport
Thank you, for your reply. I will use this information in a test migration and will let you know the outcome.

Re: Nagios XI Centos 6 to Centos 8 upgrade

Posted: Thu Nov 11, 2021 6:11 pm
by ssax
Great, we'll keep an eye out for your update.