Time Sync via WMI Intermittent Offset
Posted: Tue Jul 20, 2021 12:51 pm
Good Afternoon,
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:
I was wondering if there have been any other reports of this intermittent behavior with Windows Server 2019?
We will also be submitting a support ticket with Microsoft.
Best,
Paul
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