Task #7191
closedSetup time servers and monitor time differences
0%
Description
- Setup ntpd on black* and red*
- Configure hosts to synchronise clock with the local time servers
- Raise an alert if time is > 10 second different to the average of the time servers
- node_time_seconds in promtheus
Updated by Ahmed Bilal about 5 years ago
- Assignee changed from Ahmed Bilal to Nico Schottelius
What is red* and black*?
Can I add their time difference monitoring at https://monitoring.place11.ungleich.ch
Updated by Nico Schottelius about 5 years ago
Ah - the time difference should probably better monitored on
monitoring1.place{5,6}, not on monitoring.place11.
monitoring.place11 should be mainly configured as "monitoring us from
outside".
redmine@ungleich.ch writes:
Updated by Ahmed Bilal about 5 years ago
- Assignee changed from Nico Schottelius to Ahmed Bilal
Updated by Ahmed Bilal about 5 years ago
Install ntp
apt install ntpservice ntp start
To enable, ntp collector run the following command on targets only if the file is not all commented out.
cat > /etc/default/prometheus-node-exporter << EOFARGS="--collector.ntp --collector.ntp.server ::1"EOF
service prometheus-node-exporter restart
Updated by Ahmed Bilal about 5 years ago
I think that the prometheus query node_ntp_offset
would be the one we needed. For more details, please look https://github.com/prometheus/node_exporter/blob/master/docs/TIME.md.
Updated by Ahmed Bilal about 5 years ago
- Assignee changed from Ahmed Bilal to ll nu
Please verify whether the alerts are correct according to above mentioned criteria https://monitoring.place6.ungleich.ch/d/D4dhTzgik/ceph-cluster?orgId=1&panelId=59&fullscreen&edit&tab=alert
Updated by Ahmed Bilal about 5 years ago
- Assignee changed from ll nu to Ahmed Bilal