Page 2 of 3
Re: Access denied message while monitoring filesystems.
Posted: Fri Mar 18, 2016 2:11 am
by RIDS_I2MP
Hi Team,
I have executed the below command but still the issue persists:
chmod ug+rws /usr/local/nagios/libexec/check_disk
I believe that there is no issue with the permissions of check_disk plugin as we are able to monitor other filesystems and facing issue only for concurrent filesystems, refer the attached snapshot:
Please find the output of commands suggested by you as well.
Re: Access denied message while monitoring filesystems.
Posted: Fri Mar 18, 2016 10:32 am
by tgriep
Something is blocking the NRPE agent from access that folder. It should run that command as the nagios user and it doesn't seem to be doing this.
From what you posted, the other permissions for your home folder is set to read/execute, lets set the /MQHA folder to the same and see if that works.
Run this on the AIX server and see if the check works for you.
Re: Access denied message while monitoring filesystems.
Posted: Mon Mar 21, 2016 7:14 am
by RIDS_I2MP
Hi Team,
Filesystem /MQHA/PRFGMQA4/data already has o+rx permission, refer the below snapshot:
Re: Access denied message while monitoring filesystems.
Posted: Mon Mar 21, 2016 10:44 am
by rkennedy
What are the permissions of the parent folder? ls -ld /MQHA/
Re: Access denied message while monitoring filesystems.
Posted: Tue Mar 22, 2016 12:13 am
by RIDS_I2MP
Hi Team,
Main folder /MQHA/ has drwxr-x--- permission, please find the attached snapshot for /MQHA/ folder permissions:
Re: Access denied message while monitoring filesystems.
Posted: Tue Mar 22, 2016 10:30 am
by lmiltchev
Filesystem /MQHA/PRFGMQA4/data already has o+rx permission...
The "data" directory may have the "o+rx" permissions, but you will have to have the same (or at least "o+x" permissions) of the "PRFGMQA4", and "MQHA" directories too.
Run the following command:
then test your check again.
Re: Access denied message while monitoring filesystems.
Posted: Wed Mar 23, 2016 6:56 am
by RIDS_I2MP
Hi Team,
We have changed the permissions but still we are facing the same issue.
Note: We are monitoring same type of filesystems on other host, we have checked directories are not having o+rx permission, please refer the attached snapshot:
Re: Access denied message while monitoring filesystems.
Posted: Wed Mar 23, 2016 2:32 pm
by lmiltchev
Can you show the output of the following command?
Is opening a new support ticket in our email ticketing system an option for you? We may need to schedule a remote to further troubleshoot this issue.
Re: Access denied message while monitoring filesystems.
Posted: Tue Mar 29, 2016 3:56 am
by RIDS_I2MP
Hi team,
I didn't receive any output of below cmd, refer the snapshot:
grep -i WBIAA4 /etc/group
Re: Access denied message while monitoring filesystems.
Posted: Tue Mar 29, 2016 4:10 pm
by rkennedy
Can you post your /etc/group file for us to look at?
Additionally, as Ludmil mentioned - Is opening a new support ticket in our email ticketing system an option for you? We may need to schedule a remote to further troubleshoot this issue.