Search found 2 matches

by archie
Thu Dec 13, 2012 4:47 pm
Forum: Open Source Nagios Projects
Topic: Nagios Bug: ignoring waitpid() return value
Replies: 3
Views: 1467

Re: Nagios Bug: ignoring waitpid() return value

This is happening with check_by_ssh. I also just noticed this comment in the pclose() man page (Linux): Failure to execute the shell is indistinguishable from the shell's failure to execute command, or an immediate exit of the command. The only hint is an exit status of 127. It may very well be the ...
by archie
Thu Dec 13, 2012 4:30 pm
Forum: Open Source Nagios Projects
Topic: Nagios Bug: ignoring waitpid() return value
Replies: 3
Views: 1467

Nagios Bug: ignoring waitpid() return value

I am seeing this occasional error: (Return code of 127 is out of bounds - plugin may be missing) No, Nagios, the plugin is not missing! But what is the problem? It's impossible to tell because Nagios is ignoring the return value from the waitpid() system call. Until the waitpid() return value has ve...