diff options
Diffstat (limited to 'roles/monitoring/prometheus/exporter/nut/templates')
-rw-r--r-- | roles/monitoring/prometheus/exporter/nut/templates/service.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/prometheus/exporter/nut/templates/service.j2 b/roles/monitoring/prometheus/exporter/nut/templates/service.j2 index ffafcb3c..99613f50 100644 --- a/roles/monitoring/prometheus/exporter/nut/templates/service.j2 +++ b/roles/monitoring/prometheus/exporter/nut/templates/service.j2 @@ -4,7 +4,7 @@ Description=Prometheus nut exporter [Service] Restart=always User=prometheus-exporter -ExecStart=/usr/bin/prometheus-nut-exporter --web.listen-address="127.0.0.1:9199" +ExecStart=/usr/bin/prometheus-nut-exporter --web.listen-address="127.0.0.1:9199" --nut.vars_enable="{{ prometheus_exporter_nut_variables | join(',') }}" --nut.statuses="{{ prometheus_exporter_nut_statuses | join(',') }}" # systemd hardening-options AmbientCapabilities= |