Server Clock Drift (Perl)

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


Perl must be installed on the target server.


Root on target server.

This template is based on the following script:

Component monitors

To learn more about default component monitors included in SAM, see SAM online help.

Clock Drift

This monitor shows the clock drift on the target server 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:

Following is an example of how to use the Scripts Arguments field: perl ${SCRIPT}