mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 18:06:58 +08:00
Add rule for reboot-required (#262)
This commit is contained in:
parent
ee3c878b06
commit
1a7690a1a3
1 changed files with 5 additions and 0 deletions
|
|
@ -280,6 +280,11 @@ groups:
|
||||||
query: 'min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >= 16'
|
query: 'min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >= 16'
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 2m
|
for: 2m
|
||||||
|
- name: Host requires reboot
|
||||||
|
description: '{{ $labels.instance }} requires a reboot.'
|
||||||
|
query: 'node_reboot_required > 0'
|
||||||
|
severity: info
|
||||||
|
for: 4h
|
||||||
|
|
||||||
|
|
||||||
- name: Docker containers
|
- name: Docker containers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue