From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- sudoers.d/ceph-smartctl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sudoers.d/ceph-smartctl (limited to 'sudoers.d/ceph-smartctl') diff --git a/sudoers.d/ceph-smartctl b/sudoers.d/ceph-smartctl new file mode 100644 index 000000000..2649cea2b --- /dev/null +++ b/sudoers.d/ceph-smartctl @@ -0,0 +1,4 @@ +## allow ceph daemons (which run as user ceph) to collect device health metrics + +ceph ALL=NOPASSWD: /usr/sbin/smartctl -x --json=o /dev/* +ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/* -- cgit v1.2.3