Page 1 of 1

NRPE: Unable To Read Output

Posted: Sat Feb 01, 2020 10:40 pm
by davidrk
/usr/local/nagios/libexec/check_nrpe -H 192.168.1.4 -t 30 -c check_init_service -a 'amavisd'
NRPE: Unable to read output

Running Nagios XI 5.6.10
CentOS 7

Found a FAQ with this error, and tried those fixes already, and nada.

NRPE had to be installed via YUM, since the agent installer failed.

Any help would be greatly appreciated.

Re: NRPE: Unable To Read Output

Posted: Tue Feb 04, 2020 4:12 pm
by benjaminsmith
Hello David,

Thanks for joining the support forum. Welcome Aboard!

Did you add the command definition to the nrpe.cfg file and re-start nrpe? Also, let's verify the paths are set correctly? What is the output to the following command:

Code: Select all

find / -name check_init_service
Log in as nagios , su - nagios, user and test the check command locally on the host running NRPE. Are you able to get the correct output?

Reference
NRPE - NRPE: Unable To Read Output