You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just tried out the smartctl exporter role without further configuration and it didn't work. It works after setting smartctl_exporter_system_user and smartctl_exporter_system_group to root.
From prometheus-community/smartctl_exporter#146, the upstream package is intended to be run as root, and the provided SystemD unit files in the upstream package are configured to have root as the user as well. There is some extra steps required in order to allow non-root users to run the exporter.
Therefore, I would suggest changing the defaults to smartctl_exporter_system_user and smartctl_exporter_system_group to root for a better out-of-the-box experience
The text was updated successfully, but these errors were encountered:
Just tried out the smartctl exporter role without further configuration and it didn't work. It works after setting
smartctl_exporter_system_user
andsmartctl_exporter_system_group
to root.From prometheus-community/smartctl_exporter#146, the upstream package is intended to be run as root, and the provided SystemD unit files in the upstream package are configured to have root as the user as well. There is some extra steps required in order to allow non-root users to run the exporter.
Therefore, I would suggest changing the defaults to
smartctl_exporter_system_user
andsmartctl_exporter_system_group
to root for a better out-of-the-box experienceThe text was updated successfully, but these errors were encountered: