fixed some alerts

This commit is contained in:
nd 2020-11-20 22:56:28 +01:00
parent 3514624106
commit cf89224111
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 3 additions and 2 deletions

View file

@ -174,7 +174,7 @@ prometheus_agent:
severity: warning severity: warning
annotations: annotations:
title: '{%raw%}{{ $labels.instance }}: TempWarning{%endraw%}' title: '{%raw%}{{ $labels.instance }}: TempWarning{%endraw%}'
description: "Temperatur too high" description: "Temperatur raising"
TempCritical: TempCritical:
group: nodeexporter group: nodeexporter
enabled: True enabled: True
@ -187,7 +187,7 @@ prometheus_agent:
severity: critical severity: critical
annotations: annotations:
title: '{%raw%}{{ $labels.instance }}: TempCritical{%endraw%}' title: '{%raw%}{{ $labels.instance }}: TempCritical{%endraw%}'
description: "Too hot!" description: "Temperatur much too high, shutdown soon pending"
SystemdServices: SystemdServices:
group: nodeexporter group: nodeexporter
enabled: True enabled: True

View file

@ -76,6 +76,7 @@
dest: /etc/stunnel/prometheus-agent.conf dest: /etc/stunnel/prometheus-agent.conf
notify: restart stunnel notify: restart stunnel
- name: ensure stunnel is running - name: ensure stunnel is running
failed_when: False
service: service:
name: stunnel4 name: stunnel4
state: started state: started