fixes grafana

This commit is contained in:
CanbiZ (MickLesk) 2026-02-02 10:26:25 +01:00
parent 017ae759e6
commit 528ce24daa

View File

@ -30,11 +30,13 @@ setup_deb822_repo "influxdb" \
msg_info "Installing InfluxDB"
$STD apt-get install -y influxdb
curl -fsSL "https://dl.influxdata.com/chronograf/releases/chronograf_1.10.9_amd64.deb" -o /tmp/chronograf.deb
$STD dpkg -i /tmp/chronograf.deb
rm -f /tmp/chronograf.deb
msg_ok "Installed InfluxDB"
msg_info "Installing Chronograf"
CHRONOGRAF_VERSION=$(get_latest_github_release "influxdata/chronograf")
fetch_and_deploy_archive "https://dl.influxdata.com/chronograf/releases/chronograf_${CHRONOGRAF_VERSION}_amd64.deb"
msg_ok "Installed Chronograf"
msg_info "Configuring InfluxDB"
sed -i 's/# index-version = "inmem"/index-version = "tsi1"/' /etc/influxdb/influxdb.conf
$STD systemctl enable --now influxdb
@ -53,7 +55,7 @@ setup_deb822_repo "grafana" \
"main"
msg_info "Installing Grafana"
$STD apt-get install -y grafana
$STD apt install -y grafana
$STD systemctl enable --now grafana-server
sleep 20
msg_ok "Installed Grafana"