Page 3 of 4
Re: message "NRPE:unable to read output"
Posted: Wed Dec 30, 2015 1:33 pm
by tgriep
The group permissions for the libexec folder by default, has the set user or group ID on execution set and your folder doesn't have that.
Can you login to the AIX server as root and run the following?
Code: Select all
chmod g+rws /usr/local/nagios/libexec/
Then test to see if this works for you.
Re: message "NRPE:unable to read output"
Posted: Thu Dec 31, 2015 3:59 am
by RIDS_I2MP
Hi Team,
I executed below command on remote server as root but still I am facing the same issue.
chmod g+rws /usr/local/nagios/libexec
Re: message "NRPE:unable to read output"
Posted: Thu Dec 31, 2015 4:01 am
by RIDS_I2MP
To add up
Please find the attached snapshot.
Re: message "NRPE:unable to read output"
Posted: Mon Jan 04, 2016 11:37 am
by tgriep
Can you login to the remote server and run the following commands as root and post the output?
Code: Select all
ls -l /usr/local
ls -l /usr/local/nagios
ls -l /usr/local/nagios/libexec
Thanks
Re: message "NRPE:unable to read output"
Posted: Tue Jan 05, 2016 1:07 am
by RIDS_I2MP
Please find the attached snapshot.
Re: message "NRPE:unable to read output"
Posted: Tue Jan 05, 2016 2:34 pm
by lmiltchev
Can you run successfully the following command on the Nagios XI box from the command line?
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.147.109.30
You may need to add the "check_disk" plugin to the sudoers, i.e.
Code: Select all
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/check_disk *
Unfortunately we don't have an AIX system in house to test this.
FYI, we cannot see what the permissions are on "check_disk" from the screenshot that you provided.
Re: message "NRPE:unable to read output"
Posted: Tue Jan 12, 2016 1:07 am
by RIDS_I2MP
Hi Team,
Please find the attached snapshot
Re: message "NRPE:unable to read output"
Posted: Tue Jan 12, 2016 11:24 am
by rkennedy
lmiltchev wrote:
You may need to add the "check_disk" plugin to the sudoers, i.e.
Code: Select all
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/check_disk *
Can you make this change on the AIX system? The permissions are root:root which may be why you are seeing this issue.
Re: message "NRPE:unable to read output"
Posted: Thu Jan 21, 2016 4:27 am
by RIDS_I2MP
Hi Team,
we inserted the below provided line into the sudousers file, but still we are getting the same error:
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/check_disk *
Please suggest if any further action to be taken.
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.
Re: message "NRPE:unable to read output"
Posted: Thu Jan 21, 2016 2:04 pm
by tgriep
What is the name and IP address of the AIX server?
Does the nagios user have access to the /home folder on the AIX server?