From 7ae5754b6d5f4f5ce4c4894a9d0f7247731e4d29 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Nov 2024 17:08:52 +0100 Subject: Adding upstream version 19.2.0. 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') 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