Monitor `apt-mirror` update status.
This commit is contained in:
parent
a0907aade4
commit
c6531b06a0
|
@ -10,3 +10,11 @@ groups:
|
|||
summary: "Instance {{ $labels.instance }} requires rebooting."
|
||||
description: "{{ $labels.instance }} requires rebooting."
|
||||
|
||||
- alert: apt-mirror
|
||||
expr: time() - file_stat_modif_time_seconds{path="/var/spool/apt-mirror/updated"} > 87000
|
||||
for: 12h
|
||||
labels:
|
||||
severity: error
|
||||
annotations:
|
||||
summary: "apt-mirror is not updated."
|
||||
description: "apt-mirror is not updated."
|
||||
|
|
Loading…
Reference in New Issue