I am tasked with migrating a complex, legacy Nagios XI architecture. My current environment is running Nagios XI 5.6.7 on RHEL 7, both of which are now End of Life (EOL) and no support, to a supported Nagiosxi and OS .
To ensure a stable transition, I am planning a multi-stage migration following the recommended path:
Stage 1: Deploy a clean instance of Nagios XI (version 5.6.7) on a similar RHEL-based OS.
Stage 2: Restore a full backup from the production server to this new instance.
Stage 3: Perform a stepped upgrade through major releases (e.g., 5.x -> 2024.x).
Stage 4: Once updated, migrate the final backup to a modern, supported OS (such as Ubuntu 24.04 or RHEL 9).
To follow the recommended migration path, I have set up a CentOS 7 instance using vault repositories. I successfully installed a clean Nagios XI 5.6.7 and I have a full backup from the production server.
However, I am encountering issues during the restore process. I ran the restore script sudo /usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/1774024999.tar.gz and, while it processes most tasks, it ends with errors. Specifically, when running the configuration verification command sudo /usr/local/nagiosxi/scripts/reconfigure_nagios.sh, I get the following:
Code: Select all
Checking objects...
Error: Service check command 'check_local_mem!30!20' specified in service 'Memory Usage' for host 'localhost' not defined anywhere!Thanks in advance for your insights!