NRPE Unable to read output can' t fix

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bolsohc
Posts: 1
Joined: Mon May 13, 2013 2:19 am

NRPE Unable to read output can' t fix

Post by bolsohc »

Hi all,

I am having the NRPE unable to read output error for only some of the checks in one server.
I' ve checked permissions, plugins, etc. but can t fix the erroir.

Does anyone has a workaround for this. Is there any other directory rather than nagios dir where to check permissions (e.g. /var/)

In monitor server:

[root@unix-monitor libexec]# ./check_nrpe_new -H hostname -n -c check_disk_usage
NRPE: Unable to read output

But if I run it on the client it works.

[root@hostname:/opt/nagios/libexec]# /opt/nagios/libexec/check_disk -w 20% -c 10% -p /usr
DISK OK - free space: /usr 1992 MB (39% inode=75%);| /usr=3001MB;4035;4539;0;5044



Thanks!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE Unable to read output can' t fix

Post by lmiltchev »

This is usually caused by incorrect plugin paths in the nrpe.cfg file. What path do you have in the command definition in the nrpe.cfg file, "/opt/nagios/libexec/check_disk" or "/usr/local/nagios/libexec/check_disk"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked