Add alert for load usage
continuous-integration/drone/push Build is failing Details

pull/24/head
pz2891 3 years ago
parent a5b4deacee
commit 61001e09f5

@ -59,6 +59,15 @@ groups:
severity: warning
annotations:
summary: "{{ $labels.name }} a échoué sur {{ $labels.instance }}"
# Check load of instance
- alert: LoadUsage
expr: node_load1 > 5
for: 2m
labels:
severity: warning
annotations:
summary: "La charge de {{ $labels.instance }} est à {{ $value }} % !"
# Check UPS
- alert: UpsOutputSourceChanged

@ -60,6 +60,15 @@ groups:
annotations:
summary: "Federate : {{ $labels.name }} a échoué sur {{ $labels.exported_instance }}"
# Check load of instance
- alert: LoadUsage
expr: node_load1 > 5
for: 2m
labels:
severity: warning
annotations:
summary: "Federate : la charge de {{ $labels.exported_instance }} est à {{ $value }} % !"
# Check UPS
- alert: UpsOutputSourceChanged
expr: upsOutputSource != 3

Loading…
Cancel
Save