Centos7 to Ubuntu 22.04

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
Harshwinder
Posts: 1
Joined: Mon Feb 03, 2025 2:33 pm

Centos7 to Ubuntu 22.04

Post by Harshwinder »

Hi,

We took the backup from Centos7 and restored it to Ubuntu 22.04.

It was successfully done and while accessing the new Ubuntu VM, we observed differences in no of hots/services from our actual prod env.
A lot of them have the status of (Return code of 127 is out of bounds. Check if plugin exists)
bbahn
Posts: 385
Joined: Thu Jan 12, 2023 5:42 pm

Re: Centos7 to Ubuntu 22.04

Post by bbahn »

Hello @Harshwinder,

A return code of 127 out of bounds is usually a result of the plugins missing from your /usr/local/nagios/libexec folder.
If you look at our backup and restore documentation, any third party plugins or modified plugins will need to have any dependencies installed on your new system. https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I recommend verifying that your plugins are in the /usr/local/nagios/libexec folder and that their dependencies are installed. Any plugins that were added to the system path, but were not located in /usr/local/nagios/ will also need to be copied over manually.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply