Error message for failed NRPE checks
Posted: Fri May 31, 2019 2:47 am
Hi - Got a strange message displayed for my NRPE checks when I stop the nsclient service.
Running the check from the command line , the output is as expected
However, the Status Information displayed in the Nagios screen has an error message (No output on stdout) stderr: prefixed to the start of the command output. This happens on all the checks run via check_nrpe after the nsclient service is stopped. Interestingly enough, that error string is not displayed for check_nt commands.
Is there any way of getting rid of that error string as it is meaningless and just confuses the people reading the notification.
I'm running NagiosXI 5.6.2.
Thanks.... Fred
Running the check from the command line , the output is as expected
Code: Select all
# /usr/local/nagios/libexec/check_nrpe -H 192.168.11.82
connect to address 192.168.11.82 port 5666: Connection refused
connect to host 192.168.11.82 port 5666: Connection refusedCode: Select all
Service Status Duration Attempt Last Check Status Information
Check NRPE Agent - Windows Critical 10m 54s 5/5 31/05/2019 17:08:47 (No output on stdout) stderr: connect to address 192.168.11.82 port 5666: Connection refusedI'm running NagiosXI 5.6.2.
Thanks.... Fred