summaryrefslogtreecommitdiffstats
path: root/sudoers.d/ceph-smartctl
blob: 2649cea2b32462d74f5dfb6ecf09a6cdd0089225 (plain)
1
2
3
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/*