NRPE: Unable To Read Output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
davidrk
Posts: 7
Joined: Sat Feb 01, 2020 9:44 pm
Location: Oak Ridge, TN

NRPE: Unable To Read Output

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE: Unable To Read Output

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked