summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates/jobs/nut
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-25 23:36:40 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-25 23:36:40 +0200
commit063bdb70a8e8353908ca9742e05be8fac65a61bf (patch)
treeb44100afd46a4c01edb730eb58765a03036c8eef /roles/monitoring/prometheus/server/templates/jobs/nut
parentdisabling smartmon textfile collector by default since this can lead to idemp... (diff)
move away from exporter-exporter in favor for nginx
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/jobs/nut')
-rw-r--r--roles/monitoring/prometheus/server/templates/jobs/nut/ups.j25
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/monitoring/prometheus/server/templates/jobs/nut/ups.j2 b/roles/monitoring/prometheus/server/templates/jobs/nut/ups.j2
index 3a2c5c62..0cf4ae4e 100644
--- a/roles/monitoring/prometheus/server/templates/jobs/nut/ups.j2
+++ b/roles/monitoring/prometheus/server/templates/jobs/nut/ups.j2
@@ -1,8 +1,5 @@
- job_name: '{{ job }}'
- metrics_path: /proxy
- params:
- module:
- - nut
+ metrics_path: /nut/ups
scheme: https
tls_config:
ca_file: /etc/ssl/prometheus/ca-crt.pem