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