blob: 053dc92909ed357ba94eb00be38708bf61d949f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# It can take several minutes before ntpd selects a server to synchronize with;
# try checking after 17 minutes (1024 seconds).
alarm: system_clock_sync_state
on: system.clock_sync_state
class: Errors
type: System
component: Clock
host labels: _os=linux
calc: $state
units: synchronization state
every: 10s
warn: $system.uptime.uptime > 17 * 60 AND $this == 0
delay: down 5m
summary: System clock sync state
info: When set to 0, the system kernel believes the system clock is not properly synchronized to a reliable server
to: silent
|