muninでハードディスクの温度を取得しようとすると,
権限が足らず以下のようにエラーが出てしまう.
yasuharu% sudo munin-run hddtemp_smartctl
ad10.value U
ad10.extinfo Command /usr/local/sbin/smartctl -A /dev/ad10 on drive ad10 failed: 256. The plugin needs to have read permission on all monitored devices.
[ERROR] Command /usr/local/sbin/smartctl -A /dev/ad10 on drive ad10 failed: 256. The plugin needs to have read permission on all monitored devices.
ただ,プラグインごとに実行ユーザを設定できるので以下のようにすればよい.
faq - Munin - Trac
http://munin-monitoring.org/wiki/faq#Q:CanImakethepluginrunasanotherusergroupthannobodynogroup