I'm attempting to use check_nrpe in order to gather some more in-depth data form a remote system but I'm getting an error in the web portal of "Return code of 127 is out of bounds - plugin may be missing"
I've verified that running check_nrpe from the remote system locally works fine (the config on the remote system appears ok).
I've verified that manually running check_nrpe works fine from the Nagios server (the config on the local and remote system further appears ok).
I've checked the 'Command Expansion' field to verify the path and executable of my command definitions and the result command can be copy and pasted into the terminal (replacing $HOSTADDRESS$ as appropriate) and the command executes just fine.
I've run the command under the nagios user in the terminal and it executes just fine.
So what is this error and why am I getting it ONLY in the GUI?
Thanks!
check_nrpe returning with error 'Return code of 127...'
Re: check_nrpe returning with error 'Return code of 127...'
Since being posted I was able to resolve this issue. It was due to the check_nrpe plugin path not being defined properly in the config files.
I've also since moved to check_by_ssh.
I've also since moved to check_by_ssh.
Re: check_nrpe returning with error 'Return code of 127...'
Were you able to get the check_by_ssh command working to your needs or do you have any questions?
Former Nagios Employee