Page 1 of 1

Timeout shows RC 255 and full command

Posted: Wed Sep 17, 2025 3:28 am
by ryleybob
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.

Re: Timeout shows RC 255 and full command

Posted: Wed Sep 17, 2025 4:03 pm
by lgute
Hi @ryleybob,

Thanks for reaching out. A bit more information would be helpful.
  1. What version of XI are you running?
  2. Are you using Mod Gearman or the bundled Nagios Mod Gearman?
  3. Are you able to successfully run the check on the command line and through the NCPA interface?