Page 1 of 1

Centos7 to Ubuntu 22.04

Posted: Mon Feb 03, 2025 2:37 pm
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)

Re: Centos7 to Ubuntu 22.04

Posted: Mon Feb 03, 2025 5:20 pm
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.