58 lines
1.4 KiB
Django/Jinja
58 lines
1.4 KiB
Django/Jinja
---
|
|
{{ ansible_managed | comment }}
|
|
|
|
{% macro raw(string) -%}
|
|
{{ "{{" }} {{ string }} {{ "}}" }}
|
|
{%- endmacro %}
|
|
|
|
groups:
|
|
|
|
- name: ilo.rules
|
|
rules:
|
|
|
|
- alert: IloBiosSelfTestDegraded
|
|
expr: cpqHeHWBiosCondition >= 3
|
|
for: 3m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: >-
|
|
Une erreur a été détectée lors du POST du serveur
|
|
|
|
- alert: IloTemperatureSensorDegraded
|
|
expr: cpqHeTemperatureCondition >= 3
|
|
for: 3m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: >-
|
|
Le capteur de température est dégradé
|
|
|
|
- alert: IloFanDegraded
|
|
expr: cpqHeFltTolFanCondition >= 3
|
|
for: 3m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: >-
|
|
Le ventilateur est dégradé
|
|
|
|
- alert: IloPowerSupplyDegraded
|
|
expr: cpqHeFltTolPowerSupplyStatus >= 2
|
|
for: 3m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: >-
|
|
L'alimentation est dégradée
|
|
|
|
- alert: IloOverrideSwitchState
|
|
expr: cpqSm2CntlriLOSecurityOverrideSwitchState == 2
|
|
for: 3m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: >-
|
|
Le switch de réinitialisation n'est pas à l'état d'origine
|
|
|
|
...
|