Time.lan.nurd.space: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→what it is) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
This is the main time server for NURDSpace. "Connect" using NTP (or SNTP) - most (if not all) operating systems support NTP in some form. | This is the main time server for NURDSpace. "Connect" using NTP (or SNTP) - most (if not all) operating systems support NTP in some form. | ||
And as we have UNLIMITED (well almost) internet bandwidth, it is also part of https://www.ntppool.org/ (configured at half a megabit). | |||
=== pro tip === | === pro tip === | ||
| Line 49: | Line 51: | ||
* it (the pi) is also the "emergency"-gateway for when the regular internet connection is not available | * it (the pi) is also the "emergency"-gateway for when the regular internet connection is not available | ||
* CPU clock frequency scaling has been disabled as scaling negatively affects time keeping | |||
== monitoring == | == monitoring == | ||
| Line 54: | Line 58: | ||
* as it is part of the global NTP-pool, statistics can be viewed at https://www.ntppool.org/scores/185.2.240.92 | * as it is part of the global NTP-pool, statistics can be viewed at https://www.ntppool.org/scores/185.2.240.92 | ||
* also [[folkert]] has a monitoring server: https://gateway.vanheusden.com/ntp/show-server?host=space.nurdspace.nl | * also [[folkert]] has a monitoring server: https://gateway.vanheusden.com/ntp/show-server?host=space.nurdspace.nl | ||
* every minute the script /root/bin/monitor-ntp-traffic.sh is invoked by cron. The script reads the iptables-rule statistics (an ACCEPT rule added by a @reboot-rule in the root-crontab) and sends those values to influx.vm.nurd.space:2012 (a graphite receiver for the influx NTP database). This data is graphed at metrics.nurd.space (grafana): https://metrics.nurd.space/d/bfhlkmlss8d1ca/time-lan-nurd-space?orgId=1&from=now-24h&to=now&timezone=browser&refresh=5s Also the temperature is monitored by monitor-sys-temp.sh | |||
Latest revision as of 20:02, 30 March 2026
| time - THE time-source for NURDSpace | |
|---|---|
| Participants | |
| Skills | ntp, gps, ptp |
| Status | In progress |
| Niche | Time |
| Purpose | Use for infra |
| Tool | Yes |
| Location | bij de bar |
| Cost | |
| Tool category | General |
time - THE time-source for NURDSpace
Time.lan.nurd.space pica.png {{#if:Yes | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:Yes | [[Tool Cost::{{{Cost}}} | }}
what it is
This is the main time server for NURDSpace. "Connect" using NTP (or SNTP) - most (if not all) operating systems support NTP in some form.
And as we have UNLIMITED (well almost) internet bandwidth, it is also part of https://www.ntppool.org/ (configured at half a megabit).
pro tip
On ESP32, do not use some vague NTP library: the IDF/Arduino SDK on that platform contains a very capable NTP implementation by itself (google for configTime).
where?
Currently (2026/03/30) it is on a shelf next to the serverrack in the old printer-corner.
who?
This thing is managed by folkert & melan.
specs
- gpsd - GPS: GY-GPSV3-NEO-M8N GNSS-GPS Module
- ntpsec
networking
- hostname: time.lan.nurd.space
- ip-adress: 10.208.0.10
notes
- the system runs a special 'realtime kernel', please be careful not to replace it when updating raspberryos!
- special settings:
- 100 Hz interrupt
- nohz=off
- realtime kernel
- preemptible kernel
- special settings:
- it (the pi) is also the "emergency"-gateway for when the regular internet connection is not available
- CPU clock frequency scaling has been disabled as scaling negatively affects time keeping
monitoring
- as it is part of the global NTP-pool, statistics can be viewed at https://www.ntppool.org/scores/185.2.240.92
- also folkert has a monitoring server: https://gateway.vanheusden.com/ntp/show-server?host=space.nurdspace.nl
- every minute the script /root/bin/monitor-ntp-traffic.sh is invoked by cron. The script reads the iptables-rule statistics (an ACCEPT rule added by a @reboot-rule in the root-crontab) and sends those values to influx.vm.nurd.space:2012 (a graphite receiver for the influx NTP database). This data is graphed at metrics.nurd.space (grafana): https://metrics.nurd.space/d/bfhlkmlss8d1ca/time-lan-nurd-space?orgId=1&from=now-24h&to=now&timezone=browser&refresh=5s Also the temperature is monitored by monitor-sys-temp.sh