This commit is contained in:
2025-06-14 08:10:23 -06:00
parent 4025520557
commit 2754722ae3
7 changed files with 24 additions and 39 deletions
+18 -18
View File
@@ -23,8 +23,8 @@
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "cenh879ru0gzkc"
"type": "datasource",
"uid": "grafana"
},
"description": "Long term average of time offset",
"fieldConfig": {
@@ -103,7 +103,7 @@
"sort": "none"
}
},
"pluginVersion": "12.0.1",
"pluginVersion": "12.0.1+security-01",
"targets": [
{
"datasource": {
@@ -152,14 +152,14 @@
},
{
"datasource": {
"type": "influxdb",
"uid": "cenh879ru0gzkc"
"type": "datasource",
"uid": "grafana"
},
"description": "Average chrony time offset over last minute in seconds",
"description": "Average chrony time offset over last minute in nonoseconds",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic-by-name"
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
@@ -194,7 +194,7 @@
"mode": "off"
}
},
"displayName": "Offset (S)",
"displayName": "Offset (ns)",
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -208,7 +208,7 @@
}
]
},
"unit": "s"
"unit": "ns"
},
"overrides": []
},
@@ -232,7 +232,7 @@
"sort": "none"
}
},
"pluginVersion": "12.0.1",
"pluginVersion": "12.0.1+security-01",
"targets": [
{
"groupBy": [
@@ -271,13 +271,13 @@
"tags": []
}
],
"title": "Last Time Offset (Seconds)",
"title": "Last Time Offset (Nanoseconds)",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "cenh879ru0gzkc"
"type": "datasource",
"uid": "grafana"
},
"description": "Chrony frequency offset over last minute in PPM",
"fieldConfig": {
@@ -356,7 +356,7 @@
"sort": "none"
}
},
"pluginVersion": "12.0.1",
"pluginVersion": "12.0.1+security-01",
"targets": [
{
"groupBy": [
@@ -400,8 +400,8 @@
},
{
"datasource": {
"type": "influxdb",
"uid": "cenh879ru0gzkc"
"type": "datasource",
"uid": "grafana"
},
"description": "Average chrony skew over past minute",
"fieldConfig": {
@@ -480,7 +480,7 @@
"sort": "none"
}
},
"pluginVersion": "12.0.1",
"pluginVersion": "12.0.1+security-01",
"targets": [
{
"groupBy": [
@@ -538,5 +538,5 @@
"timezone": "browser",
"title": "Chrony",
"uid": "69a006d6-ccaa-4e9e-a8ec-6dba0b30fa1e",
"version": 21
"version": 8
}
-6
View File
@@ -15,12 +15,6 @@ refclock SHM 0 refid NMEA offset 0.000 precision 1e-6 poll 0 filter 3
# trust means we trust this time. the NMEA will be kicked out as false ticker eventually, so we need to trust the combo
refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust
# also enable logging by uncommenting the logging line
# log tracking measurements statistics
# Update RTC from system clock periodically
makestep 0.1 3
# allow local connections to ntp
allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command
# set hardware I2C RTC hourly
0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
@reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log
-6
View File
@@ -15,12 +15,6 @@ refclock SHM 0 refid NMEA offset 0.000 precision 1e-6 poll 0 filter 3
# trust means we trust this time. the NMEA will be kicked out as false ticker eventually, so we need to trust the combo
refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust
# also enable logging by uncommenting the logging line
# log tracking measurements statistics
# Update RTC from system clock periodically
makestep 0.1 3
# allow local connections to ntp
allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command
# set hardware I2C RTC hourly
0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
@reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log
-6
View File
@@ -15,12 +15,6 @@ refclock SHM 0 refid NMEA offset 0.000 precision 1e-6 poll 0 filter 3
# trust means we trust this time. the NMEA will be kicked out as false ticker eventually, so we need to trust the combo
refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust
# also enable logging by uncommenting the logging line
# log tracking measurements statistics
# Update RTC from system clock periodically
makestep 0.1 3
# allow local connections to ntp
allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command
# set hardware I2C RTC hourly
0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
@reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log