Timeout shows RC 255 and full command
Posted: Wed Sep 17, 2025 3:28 am
Hi everyone,
Not 100% sure if this is a Nagios XI or a Nagios Core issue.
I’m seeing an odd combination of return-code 255 and full-command echo when a check times out, and the command line contains a clear-text password.
I’m running a distributed check setup with Nagios Core 4.5.3 on the master using Mod Gearman:
Environment
Nagios Core 4.5.3 (single master)
mod-gearman NEB: 1.0.1 on the master
mod-gearman worker: 3.3.0 on a separate node
NCPA 2.4.4 on the target host, launching a custom Bash wrapper → pytest → Selenium
What happens
A service check that ultimately calls NCPA + a custom plugin sometimes exceeds its internal timeout.
Not 100% sure if this is a Nagios XI or a Nagios Core issue.
I’m seeing an odd combination of return-code 255 and full-command echo when a check times out, and the command line contains a clear-text password.
I’m running a distributed check setup with Nagios Core 4.5.3 on the master using Mod Gearman:
Environment
Nagios Core 4.5.3 (single master)
mod-gearman NEB: 1.0.1 on the master
mod-gearman worker: 3.3.0 on a separate node
NCPA 2.4.4 on the target host, launching a custom Bash wrapper → pytest → Selenium
What happens
A service check that ultimately calls NCPA + a custom plugin sometimes exceeds its internal timeout.