How to Set the System Clock

This article explains the commands necessary to set your system's clock. Login to Server and run one of the following commands

1. When Metric Insights has outbound access to the internet, use NTP

1.1. Commands for CentOS instances:

service ntpd stop
ntpd -gq
service ntpd start

1.2. Commands for Debian instances:

service ntp stop
ntp -gq
service ntp start

2. When Metric Insights does not have outbound access to the internet

Use a Shell prompt:

date -s "OCT 7 2015 18:00:00"

inserting the correct data and time