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": [ "panels": [
{ {
"datasource": { "datasource": {
"type": "influxdb", "type": "datasource",
"uid": "cenh879ru0gzkc" "uid": "grafana"
}, },
"description": "Long term average of time offset", "description": "Long term average of time offset",
"fieldConfig": { "fieldConfig": {
@@ -103,7 +103,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "12.0.1", "pluginVersion": "12.0.1+security-01",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -152,14 +152,14 @@
}, },
{ {
"datasource": { "datasource": {
"type": "influxdb", "type": "datasource",
"uid": "cenh879ru0gzkc" "uid": "grafana"
}, },
"description": "Average chrony time offset over last minute in seconds", "description": "Average chrony time offset over last minute in nonoseconds",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic-by-name" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false, "axisBorderShow": false,
@@ -194,7 +194,7 @@
"mode": "off" "mode": "off"
} }
}, },
"displayName": "Offset (S)", "displayName": "Offset (ns)",
"mappings": [], "mappings": [],
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
@@ -208,7 +208,7 @@
} }
] ]
}, },
"unit": "s" "unit": "ns"
}, },
"overrides": [] "overrides": []
}, },
@@ -232,7 +232,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "12.0.1", "pluginVersion": "12.0.1+security-01",
"targets": [ "targets": [
{ {
"groupBy": [ "groupBy": [
@@ -271,13 +271,13 @@
"tags": [] "tags": []
} }
], ],
"title": "Last Time Offset (Seconds)", "title": "Last Time Offset (Nanoseconds)",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": { "datasource": {
"type": "influxdb", "type": "datasource",
"uid": "cenh879ru0gzkc" "uid": "grafana"
}, },
"description": "Chrony frequency offset over last minute in PPM", "description": "Chrony frequency offset over last minute in PPM",
"fieldConfig": { "fieldConfig": {
@@ -356,7 +356,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "12.0.1", "pluginVersion": "12.0.1+security-01",
"targets": [ "targets": [
{ {
"groupBy": [ "groupBy": [
@@ -400,8 +400,8 @@
}, },
{ {
"datasource": { "datasource": {
"type": "influxdb", "type": "datasource",
"uid": "cenh879ru0gzkc" "uid": "grafana"
}, },
"description": "Average chrony skew over past minute", "description": "Average chrony skew over past minute",
"fieldConfig": { "fieldConfig": {
@@ -480,7 +480,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "12.0.1", "pluginVersion": "12.0.1+security-01",
"targets": [ "targets": [
{ {
"groupBy": [ "groupBy": [
@@ -538,5 +538,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Chrony", "title": "Chrony",
"uid": "69a006d6-ccaa-4e9e-a8ec-6dba0b30fa1e", "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 # 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 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 local connections to ntp
allow 10.0.0.0/24 allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command # m h dom mon dow command
# set hardware I2C RTC hourly # 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 # 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 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 local connections to ntp
allow 10.0.0.0/24 allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command # m h dom mon dow command
# set hardware I2C RTC hourly # 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 # 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 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 local connections to ntp
allow 10.0.0.0/24 allow 10.0.0.0/24
+2 -1
View File
@@ -1,3 +1,4 @@
# m h dom mon dow command # m h dom mon dow command
# set hardware I2C RTC hourly # 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