Access denied message while monitoring filesystems.

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: Access denied message while monitoring filesystems.

Post 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.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Access denied message while monitoring filesystems.

Post 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.

Code: Select all

chmod o+rx /MQHA
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: Access denied message while monitoring filesystems.

Post by RIDS_I2MP »

Hi Team,

Filesystem /MQHA/PRFGMQA4/data already has o+rx permission, refer the below snapshot:
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Access denied message while monitoring filesystems.

Post by rkennedy »

What are the permissions of the parent folder? ls -ld /MQHA/
Former Nagios Employee
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Access denied message while monitoring filesystems.

Post by RIDS_I2MP »

Hi Team,

Main folder /MQHA/ has drwxr-x--- permission, please find the attached snapshot for /MQHA/ folder permissions:
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Access denied message while monitoring filesystems.

Post 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:

Code: Select all

chmod o+rx /MQHA /MQHA/PRFGMQA4
then test your check again.
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: Access denied message while monitoring filesystems.

Post 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:
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Access denied message while monitoring filesystems.

Post by lmiltchev »

Can you show the output of the following command?

Code: Select all

grep -i wbiaa4 /etc/group
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.
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: Access denied message while monitoring filesystems.

Post by RIDS_I2MP »

Hi team,

I didn't receive any output of below cmd, refer the snapshot:
grep -i WBIAA4 /etc/group
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Access denied message while monitoring filesystems.

Post 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.
Former Nagios Employee
Locked