summaryrefslogtreecommitdiffstats
path: root/sudoers.d/ceph-osd-smartctl
blob: 882e8b68121ba7763c41282484b97b34ce45f85d (plain)
1
2
3
4
## allow ceph-osd (which runs as user ceph) to collect device health metrics

ceph ALL=NOPASSWD: /usr/sbin/smartctl -a --json=o /dev/*
ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/*