From a1cfc324e77c991de4f349d48c2d09c02809cdc4 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 29 Oct 2025 17:49:08 -0600 Subject: [PATCH] 1.2-dev --- README.md | 10 ++++++++++ info-level-conf-huawaii/grafana.ini | 2 +- info-level-conf-huawaii/telegraf.conf | 4 ++-- time_fuckery.sh | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e9832e6..07efdbe 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,16 @@ **WILL REBOOT IN BETWEEN EACH COMMAND** 1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/time_fuckery.sh?nocache=$RANDOM | $SHELL` 2. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/time_fuckery.sh` +3. [https://grandfatherclock:3000](https://grandfatherclock:3000/login) + 1. default login: `admin` and `admin` + 2. data sources->add new->influx db + 1. name "influxdb1" + 2. query languagew: influxql + 3. http + 1. url: http://127.0.0.1:8086 + 2. timeout seconds: 3 + 4. database: Chrony_Stats + 5. user, pass: blank #### Software (Manual) Clone the repo `git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery` diff --git a/info-level-conf-huawaii/grafana.ini b/info-level-conf-huawaii/grafana.ini index 07b9fe8..75ddff0 100644 --- a/info-level-conf-huawaii/grafana.ini +++ b/info-level-conf-huawaii/grafana.ini @@ -5,7 +5,7 @@ instance_name = "Precision Timekeeping" protocol = http # The http port to use -http_port = 80 +http_port = 3000 [log] # Either "debug", "info", "warn", "error", "critical", default is "info" diff --git a/info-level-conf-huawaii/telegraf.conf b/info-level-conf-huawaii/telegraf.conf index 5d2a382..425e1fa 100644 --- a/info-level-conf-huawaii/telegraf.conf +++ b/info-level-conf-huawaii/telegraf.conf @@ -13,10 +13,10 @@ [[inputs.chrony]] metrics = ["tracking"] - timeout = "5s" + timeout = "3s" [[outputs.influxdb]] urls = ["http://127.0.0.1:8086"] database = "Chrony_Stats" - timeout = "5s" + timeout = "3s" # skip_database_creation = true diff --git a/time_fuckery.sh b/time_fuckery.sh index bcf8750..10a20e6 100644 --- a/time_fuckery.sh +++ b/time_fuckery.sh @@ -570,7 +570,7 @@ if [ -f $status_log ]; then elif [[ "$(cat $installer_status)" == 4 ]]; then phase_five else - echo -e "\nAlready installed!\n" + echo -e "\nAlready installed!\n\tUsage: time_fuckery.sh test" exit fi # if da file is not there