Server Clock Drift (PowerShell)

Version 7

    The template allows you to check the server clock drift by comparing the target server time with internet time.

     

    Prerequisites: None.

    Credentials: Administrator on the target server.


    Component Monitors

    Clock Drift (Internet Time Service)

    This monitor shows the clock drift between the target client (target node) and the target Internet Time Service server (argument) in seconds. Positive values of clock drift in the message field indicates that the time on the target server is running faster than it should. Negative values indicate time on the target server is running slower than it should. This monitor also returns the current time on the target server. 

    In the Scripts Arguments field you should provide the hostname of the time server. Time servers can be found here: http://tf.nist.gov/tf-cgi/servers.cgi.

    Following is an example of how to use the Scripts Arguments field:

    time.nist.gov

     

    Clock Drift (NTP)

    This monitor shows the clock drift between the target client (target node) and the target NTP server (argument) in seconds. Positive values of clock drift in the message field indicates that time on the target server is running faster than it should. Negative values indicates time on the target server is running slower than it should.

     

    In the Scripts Arguments field you should provide the hostname of the NTP server. Time servers can be found here: http://www.pool.ntp.org/.

    Following is an example of how to use the Scripts Arguments field:

    pool.ntp.org


    Portions of this document were originally created by and are excerpted from the following sources:

    Microsoft Corporation, “Microsoft Support:  Windows Management Framework Core,” Copyright © 2012 Microsoft Corporation.  All rights reserved. Available at http://support.microsoft.com/kb/968930.
    PowerShell.com, “Set Internet Time,” Copyright © 2011-2012 PowerShell.com.  All rights reserved. Available at
    http://powershell.com/cs/media/p/9869.aspx.
    Cardiff University, “Using the Time Service,” Copyright © 2012
    .  All rights reserved. Available at http://www.cs.cf.ac.uk/Dave/PERL/node174.html.

    Last updated: 11/19/2014 (Rounding error fixed)