NagiosXI migration to RHEL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

NagiosXI migration to RHEL

Post by gomatze »

Hello,

since our installation of NagiosXI 5.7.5 on CentOS 6.10 cannot be updated and the CentOS cannot be upgraded we whant to migrate the whole server to RHEL.
The Plan is to set up NagiosXI on a RHEL machine and restore the last backup from the running installation.

Do you provide a ready-to-use OVA based on RHEL?
if not:
Can we simply restore a backup of a NagiosXI 5.7.5 from a CentOS6 on a new Installation of NagiosXI 5.8 on RHEL? Does that work?
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagiosXI migration to RHEL

Post by ssax »

We do not have any RHEL ova at this time, we only have CentOS.

The XI backup/restore process makes this pretty easy:

The process is this:
- Spin up new server running EL7/EL8 latest (whichever you prefer)

- Install the exact same version of XI that the old server has on the new server, no need to configure it, just install it (do not try to restore over different versions you will cause issues)

https://assets.nagios.com/downloads/nag ... Linux.pdf​

- If you have a RAMDisk installed, are using RRDCacheD, or are running Mod_Gearman on the old system, set them up before restoring:

https://assets.nagios.com/downloads/nag ... osXI.pdf​​
https://assets.nagios.com/downloads/nag ... os-XI.pdf​
https://assets.nagios.com/downloads/nag ... ios_XI.pdf

- Backup the old/transfer to new/restore to the new

- Follow the After The Restore section from the backup/restore guide completely

- Since you're changing OS versions, run the restore_repair script from the backup/restore guide

https://assets.nagios.com/downloads/nag ... os-XI.pdf​

- Shutdown (or re-IP) the old, set the old IP on the new system so you don't have to update agent configs/FW rules

https://support.nagios.com/kb/article/c ... -549.html​

That's pretty much it. Please be aware of what a single XI license entitles you to:

https://support.nagios.com/kb/article.php?id=145​

If you have any issues, please include the full install.log/upgrade.log/and any errors you are seeing.
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

Re: NagiosXI migration to RHEL

Post by gomatze »

ssax wrote: - If you have a RAMDisk installed, are using RRDCacheD, or are running Mod_Gearman on the old system, set them up before restoring:
Please forgive my ignorance, but we have used the delivered OVA File from Nagios Enterprise and an infrastructure Guy has then implemented the OVA into our system.

How do I verify If I have any of the above installed?
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagiosXI migration to RHEL

Post by ssax »

The easiest way would be to run these commands as root:

Code: Select all

ps aux | grep -i rrdcache
ps aux | grep -i gearman
grep nagiosramdisk /usr/local/nagios/etc/nagios.cfg
Locked