diff options
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2 b/roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2 index da3de3d7..d63d79a7 100644 --- a/roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2 +++ b/roles/monitoring/prometheus/server/templates/targets/nut-ups.yml.j2 @@ -1,6 +1,6 @@ -- targets: [ "{{ hostvars[target.config.exporter_hostname].prometheus_scrape_endpoint }}" ] +- targets: [ '{{ hostvars[target.config.exporter_hostname].prometheus_scrape_endpoint }}' ] labels: - instance: "{{ target.instance }}" + instance: '{{ target.instance }}' __param_ups: {{ target.config.ups }} __param_server: {{ target.config.server | default('127.0.0.1') }} {% if 'username' in target.config %} |