ceph/sudoers.d/ceph-osd-smartctl
Patrick Seidensal 44068fc941 osd: add common smartctl output to JSON output
Enables consumers like the dashboard to provide the regular smartctl
output to users.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-09-18 14:34:06 +02:00

5 lines
199 B
Plaintext

## 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/*