Kepp federated datas 4 months (120 days)
parent
f17e7f7524
commit
cc3b4294ae
@ -0,0 +1,52 @@
|
||||
---
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
{% macro raw(string) -%}
|
||||
{{ "{{" }} {{ string }} {{ "}}" }}
|
||||
{%- endmacro %}
|
||||
|
||||
groups:
|
||||
|
||||
- name: environmental.rules
|
||||
rules:
|
||||
|
||||
- alert: EnvironmentalTemperature
|
||||
expr: rPDU2SensorTempHumidityStatusTempC / 10 > 30
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: >-
|
||||
Température environnementale à {{ raw('$value') }}°
|
||||
|
||||
- alert: EnvironmentalTemperature
|
||||
expr: rPDU2SensorTempHumidityStatusTempC / 10 > 40
|
||||
for: 10m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: >-
|
||||
Température environnementale à {{ raw('$value') }}°
|
||||
|
||||
|
||||
- alert: EnvironmentalTemperature
|
||||
expr: xupsEnvRemoteTemp > 30
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: >-
|
||||
Température environnementale à {{ raw('$value') }}°
|
||||
|
||||
- alert: EnvironmentalTemperature
|
||||
expr: xupsEnvRemoteTemp > 40
|
||||
for: 10m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: >-
|
||||
Température environnementale à {{ raw('$value') }}°
|
||||
|
||||
|
||||
|
||||
...
|
Loading…
Reference in New Issue