Commit 2d7046b4 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

ceph calls smartctl with -a, not with -x

parent 4af66bd5
......@@ -125,7 +125,7 @@ ceph-sudoer:
define CEPH_SUDOER
## 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/smartctl -a --json=o /dev/*
ceph ALL=NOPASSWD: /usr/sbin/nvme * smart-log-add --json /dev/*
endef
export CEPH_SUDOER
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment