prometheus_smart_exporter icon indicating copy to clipboard operation
prometheus_smart_exporter copied to clipboard

Can this exporter be simplified by using sudo

Open altmind opened this issue 5 years ago • 2 comments

Thanks for a great exporter. I see that the only reason this app is split in two subcomponents is to avoid running the whole thing as root. It seems that the only place that actually need root is running smartctl subprocess.

Dont you think exporter can be dramatically simplified if there is option to skip smart_exporter_helper and run sudo smartctl directly instead. sudo is flexible enough to allow only smartctl for designated user.

altmind avatar Jul 11 '19 16:07 altmind