I’m having a number of problems with NTP Time after an upgrade. Hosts running chrony appear to be fine, and the new timesyncd support is nice, but I have a number of hosts running ntpsec (fork of ntpd with some serious security & performance cleanup which is officially supported by some distros, such as debian).
Problem 1 was the belief expressed in check_mk_agent that if systemd is in charge of things, ntp.service and ntpd.service are the only possibilities. Adding ntpsec.service to that code fixed things to the extent that if I manually run check_mk_agent on the client machine, the /var/lib/check_mk_agent/cache/ntp.cache file gets updated and the data shows up in check_mk.
Problem 2 is the fact that while manually running check_mk_agent on the client updates the cache, it does not get updated when called over port 6556 by my check_mk server. Best I can tell, the cached data is returned everytime, but the contents of the cache are never refreshed. This may be related to…
Problem 3 is that discovery for NTP Time does not appear to be working for my clients that run ntpsec. Right now I’ve setup Enforced services → State of NTP time synchronisation → ntp_time for the servers in question.
Suggestions for where to look next?