fixed some alerts
This commit is contained in:
parent
3514624106
commit
cf89224111
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue