message "NRPE:unable to read output"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: message "NRPE:unable to read output"

Post by RIDS_I2MP »

Hi Team,

Below is the input for the requested data:
1) Name :eu2ndbu592
IP : (10.147.109.30)

2) Nagios user have access to /home

Please suggest further.
Thanks & Regards,
I2MP Team.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: message "NRPE:unable to read output"

Post by rkennedy »

Just to inform that for any other server, we are not adding this line into the sudousers file but we are able to monitor it successfully.
can you please confirm on this query as well.
So did you, or did you not add the line to the sudousers file?

What are the permissions of ls -l /home/
Former Nagios Employee
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: message "NRPE:unable to read output"

Post by RIDS_I2MP »

HI Team,

We did the changes in sudoers file as suggested by you but that didn't fixed the issue.

permission as below:

drwxr-xr-x

we can have a screenshare if you want to have a look for the settings at Nagios and Remote server.
Thanks & Regards,
I2MP Team.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: message "NRPE:unable to read output"

Post by tgriep »

Login to the eu2ndbu592 system, run the following commands and post the output here.

Code: Select all

su nagios
/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p  /home
/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p  /tmp
ls -l /usr/local/nagios/libexec/check_disk
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: message "NRPE:unable to read output"

Post by RIDS_I2MP »

Hi Team,

After running the command, we got the actual problem.

Nagios was not having proper permission.

Thanks for helping us in fixing this issue.
Thanks & Regards,
I2MP Team.
Locked