NRPE unable to read output default return : expected ERROR ?
Posted: Mon May 12, 2014 11:55 am
Hi
I'm usign a custom plugin executed through NRPE, and it returns the famous "NRPE: Unable to read output".
Ok, my script doesn't returns anything so I accept the NRPE thing.
But why do I have a 0 exit code ? Shouldn't I expect 2 ?
Do I have a way to force return 2 if I have the "unable to read output" return ?
(for me it's an error, even if it's on the plugin side)
Thanks !
I'm usign a custom plugin executed through NRPE, and it returns the famous "NRPE: Unable to read output".
Ok, my script doesn't returns anything so I accept the NRPE thing.
But why do I have a 0 exit code ? Shouldn't I expect 2 ?
Do I have a way to force return 2 if I have the "unable to read output" return ?
(for me it's an error, even if it's on the plugin side)
Thanks !