We are currently experiencing a problem with an NTP service check against Windows Server 2019 servers via WMIC.
Most of the time, they show an acceptable time offset, but every few minutes it will flip to a -1 hour NTP offset, causing a critical alert.
This check is being performed via a .bash script which executes the following command to retrieve the NTP offset:
Code: Select all
wmic --option="client ntlmv2 auth"=Yes -U $USERNAME%$PASSWORD //$HOSTNAME "select LocalDateTime from win32_operatingsystem"
We will also be submitting a support ticket with Microsoft.
Best,
Paul