How to check to see that all servers are time-synced to NTP

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
tosborne
Posts: 10
Joined: Sun Jun 22, 2003 6:00 pm

How to check to see that all servers are time-synced to NTP

Post by tosborne »

I have tests to check to see that servers are running W32Time, but I cannot seem to find a test to see if the time is actually synchronized on multiple servers.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1 NTP test item can check time on 1 server. If you need to check several servers, you need to setup test item for each server

Regards
Alex
tosborne
Posts: 10
Joined: Sun Jun 22, 2003 6:00 pm

Post by tosborne »

The NTP test works if the host is an NTP server. What i am looking to see is the time on each server on the network itself. Once i have the servers reporting their time i can check for those servers with incorrect times.

Thanks Alex.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So you need to get system time without using NTP protocol?
H'm, I think you may create VB script to retrieve system time using WMI protocol and use Shell Script test method to execute this script.

You may retrieve system time using query like
select LocalDateTime from Win32_OperatingSystem

Regards
Alex
Post Reply