infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

Nagios: Timesync checks consistently failing

Open Willsparker opened this issue 4 years ago • 1 comments

Ref: https://adoptopenjdk.slack.com/archives/C53GHCXL4/p1615801555143800

A lot of the Nagios checks that are failing are to do with the Timesync checks failing (be that NTP, or systemd-timesyncd.service). The two plugins being run are: https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/master/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Nagios_Plugins/tasks/additional_plugins/check_timesync , For Debian/Ubuntu and https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/master/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Nagios_Plugins/tasks/additional_plugins/check_ntp_timesync For RHEL/CentOS.

The fact that these are failing right after #1990 , would imply that the playbooks aren't setup to put the right settings for the checks. So, either the playbooks need to be changed, or the checks need to be changed, if the playbooks are already setup correctly

Willsparker avatar Mar 16 '21 07:03 Willsparker

Related #2218

sxa avatar Oct 01 '21 12:10 sxa

@steelhead31 Can this be closed now? I don't think I've seen any timesync issues recently.

sxa avatar Dec 01 '22 16:12 sxa

@sxa indeed it can, the playbooks now appear to set up the ntp timesync appropriately. And this check now works.

steelhead31 avatar Dec 02 '22 08:12 steelhead31