Server Clock Drift (Perl)

Version 5

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

     

    Prerequisites: Perl must be installed on the target server. Ntp package should be installed on the target server.
    Credentials: Root 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 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. 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:

    perl ${SCRIPT} 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. This monitor also returns the current time on the target server. 

    In the Scripts Arguments field you should provide full path to ntpdate (ntp package should be installed on the target server) command and 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:

    perl ${SCRIPT} /sbin/ntpdate pool.ntp.org

     

    Last updated: 2/5/2016