I’m having issues related to getting the disk usage for a azure file share mounted on my machine. [inputs.disk] [SystemPS] => unable to get disk usage (“/var/mount/drive”): permission denied.
Any ideas needs to be done?
/var/mount/drive- azure fileshare mounted on my machine.
Hi,
This is a unix permissions issue. You should run stat
on /var/mount/drive
to see what owns the folder. Then ask yourself how you are running Telegraf and what user/group is used.
Hi jpowers,
I’m getting results for my other partition only having issue on the mounted azure file share.
Inside /etc/fstab
/dev/mapper/data-node1 /var/opt/mount/drive1 xfs defaults 0 0
/dev/mapper/data-node2 /var/opt/mount/drive2 xfs defaults 0 0
//axdo1.file.core.windows.net/netval /var/opt/mount/drive0 credentials=/etc/creds/mdrive.cr
On Telegraf
[[inputs.disk]]
mount_points = [“/var/opt/mount/drive1”," /var/opt/mount/drive2",“/var/opt/mount/drive0”]
Telegraf.service status
[inputs.disk] [SystemPS] => unable to get disk usage (" /var/opt/mount/drive0"): permission denied