From ce8ec241001b20bdcc18a574a21fb16c97367907 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 20 Dec 2018 12:12:25 -0800 Subject: [PATCH] Document using posix acl in disk input --- plugins/inputs/disk/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/inputs/disk/README.md b/plugins/inputs/disk/README.md index 5359cca62..2979a5f2e 100644 --- a/plugins/inputs/disk/README.md +++ b/plugins/inputs/disk/README.md @@ -59,6 +59,11 @@ $ sudo -u telegraf cat /proc/self/mounts | grep sda2 $ sudo -u telegraf stat /home ``` +It may be desired to use POSIX ACLs to provide additional access: +``` +sudo setfacl -R -m u:telegraf:X /var/lib/docker/volumes/ +``` + ### Example Output: ```