I am running netdata across 3 nodes (1x rpi, 1x small ubuntu server and 1x Synology DS920+).
I am having an issue where the Synology NAS is always showing a warning against the system_clock_sync_state metric. I have checked that the NAS is using ntp (see screenshot)
What else can I check? Is it an erroneous warning?
All netdata nodes running in docker containers using “v1.43.0-148-nightly3”.
Synology DSM is Version: 7.2-64570 Update 3
That is the system clock synchronization state according to the kernel. Netdata doesn’t do any calculation; it is just a system call that reports whatever the system clock state is according to the kernel. See this comment for technical details.
Wanted to update this with a simpler solution that builds on the reply from @buckbaggen above.
chrony seems installed by default now on Synology DSM 7.x +
I only needed to create /etc/chrony.conf.user with the following two lines only, included from the earlier solution:
makestep 1 3
rtcsyncde here
Then I did a quick restart of the service, as above:
systemctl restart chronyd
This was on a DS920+ and DS416play. The errors have went away in netdata within seconds after restarting chrony. Will see if it sticks.
netdata-parent2 netdata[13943]: ALERT 'system_clock_sync_state' of instance 'system.clock_sync_state' on node 'NODENAME', transitioned from WARNING to CLEAR