summaryrefslogtreecommitdiffstats
path: root/sudoers.d/ceph-osd-smartctl
blob: f53f6af9bc0b44d75f5dcce7b1f63ea409ce7bd4 (plain)
1
2
3
4
## allow ceph-osd (which runs 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/*