ceph/sudoers.d/ceph-osd-smartctl

5 lines
197 B
Plaintext

## allow ceph-osd (which runs as user ceph) to collect device health metrics
ceph ALL=NOPASSWD: /usr/sbin/smartctl -a --json /dev/*
ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/*