samber / awesome-prometheus-alerts

🚨 Collection of Prometheus alerting rules
https://samber.github.io/awesome-prometheus-alerts/
Other
6.62k stars 1.02k forks source link

Elaborate HostClockNotSynchronising alert #261

Closed laurivosandi closed 2 years ago

laurivosandi commented 2 years ago

I spent couple minutes trying to understand what this alert means? I ended up looking node exporter source, yet I am not still sure this is about NTP or not?

In any case alert description should elaborate more on the issue and provide solutions. A'la are you sure NTP is working on the host?

paulfantom commented 2 years ago

That alert is not really about NTP as such (the alert is based on kernel timex), but about the lack of successful time synchronization on the server. Potential causes maybe are as follows:

Side note: The original alert was created by me in https://github.com/prometheus/node_exporter/pull/1480 :) Original source lives in https://github.com/prometheus/node_exporter/blob/master/docs/node-mixin/alerts/alerts.libsonnet#L237-L252 and it has a bit better description, although not much better.

samber commented 2 years ago

Took the description for node_exporter repo => #265