Skip to content
Snippets Groups Projects
Verified Commit c274db2a authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Monitor systemd services

parent 17d3d0c9
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,16 @@ groups:
summary: "Charge CPU élevée sur {{ $labels.instance }}"
description: "La charge CPU (moyenne de 15mn) est élevée."
# Check systemd unit (> buster)
- alert: SystemdServiceFailed
expr: node_systemd_unit_state{state="failed"} == 1
for: 10m
labels:
severity: warning
annotations:
summary: "{{ $labels.name }} a échoué sur {{ $labels.instance }}"
description: "Le service {{ $labels.name }} a échoué."
# NTP (need NTP plugin in node)
# - alert: ntp_drifting
# expr: node_ntp_drift_seconds > 0.05
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment