Vladimir Kobal a129b10e58 Show error when clock synchronization state is unavailable (#12667) 2 years ago
..
Makefile.am 7de64f49ff Add a plugin for the system clock synchronization state (#10895) 3 years ago
README.md 64efa1122d feat(collectors/timex.plugin): add clock status chart (#12501) 2 years ago
plugin_timex.c a129b10e58 Show error when clock synchronization state is unavailable (#12667) 2 years ago

README.md

timex.plugin

This plugin monitors the system kernel clock synchronization state.

This plugin creates the following charts:

  • System clock synchronization state according to the system kernel
  • System clock status which gives the value of the time_status variable in the kernel
  • Computed time offset between local system and reference clock

This is obtained from the information provided by the ntp_adjtime() system call. An unsynchronized clock may indicate a hardware clock error, or an issue with UTC synchronization.

Configuration

Edit the netdata.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

Scroll down to the [plugin:timex] section to find the available options:

[plugin:timex]
    # update every = 1
    # clock synchronization state = yes
    # time offset = yes