prometheus_smart_exporter
prometheus_smart_exporter copied to clipboard
Can this exporter be simplified by using sudo
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.