docs/node-mixin/alerts: add max error condition to alert about desynchronized clock

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom 2020-09-23 11:23:51 +02:00 committed by Johannes 'fish' Ziemke
parent 306a365377
commit f81747e608

View file

@ -238,6 +238,8 @@
alert: 'NodeClockNotSynchronising', alert: 'NodeClockNotSynchronising',
expr: ||| expr: |||
min_over_time(node_timex_sync_status[5m]) == 0 min_over_time(node_timex_sync_status[5m]) == 0
and
node_timex_maxerror_seconds >= 16
||| % $._config, ||| % $._config,
'for': '10m', 'for': '10m',
labels: { labels: {