Add mdadm monitoring

certbot_on_virtu
Alexandre Iooss 2020-01-26 21:24:29 +01:00
parent 9755bf3c49
commit e884f11045
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 9 additions and 0 deletions

View File

@ -51,6 +51,15 @@ groups:
annotations: annotations:
summary: "CPU sur {{ $labels.instance }} à {{ $value }}%." summary: "CPU sur {{ $labels.instance }} à {{ $value }}%."
# Check mdadm software RAID
- alert: SoftwareRAIDDegraded
expr: node_md_disks-node_md_disks_active > 0
for: 3m
labels:
severity: warning
annotations:
summary: "Le RAID sur {{ $labels.instance }} a perdu {{ $value }} disque(s)."
# Check systemd unit (> buster) # Check systemd unit (> buster)
- alert: SystemdServiceFailed - alert: SystemdServiceFailed
expr: node_systemd_unit_state{state="failed"} == 1 expr: node_systemd_unit_state{state="failed"} == 1