What I have found out so far is that this script seems to be the culprit for this:
/usr/share/univention-monitoring-client/scripts/check_univention_ntp
The above script is then executing this (Nagios-) plugin:
/usr/lib/nagios/plugins/check_ntp_time
I’m a bit confused … Nagios? is it really still in use with UCS version 5?
Any hint for how to further troubleshoot or fix this would be much appreciated.
I’m a bit confused … Nagios? is it really still in use with UCS version 5?
The plugins seem to be still used, just the NAGIOS server was dropped.
The script causing the error messages is /usr/share/univention-monitoring-client/scripts/check_univention_ntp
The script checks the clock offset with the ntp of the hostname (saved in UCR). Is it possible that the error just is raised if the clock is perfectly in sync!? Because if I trigger the command manually, the error is not always raised.
You can manually check the output in the konsole by calling /usr/lib/nagios/plugins/check_ntp_time -H $(ucr get hostname)
Output should be something like NTP OK: Offset -3,933906555e-06 secs|offset=-0,000004s;60,000000;120,000000;
but sometimes it is NTP CRITICAL: Offset unknown