Some Bits: Nelson's log

My Grafana / Starlink setup

I did a bunch of work setting up Grafana to track my Starlink system and promptly forgot about it! Documenting it now.

I’m graphing Starlink stats using InfluxDB and Grafana. Telegraf is not involved.

The data collector is from starlink-gprc-tools. It runs as a background process and writes data in to InfluxDB. I haven’t changed the code from sparky8512’s repo, although I do have my own fork on Github.

I’ve installed a frozen copy in /usr/local/src on my Grafana server. Here’s the “collect” script that fires off the background process. This runs forever, no need for cron:

#!/bin/bash
stats="status usage obstruction_detail alert_detail ping_drop ping_run_length ping_latency"
interval=60

cd /usr/local/src/starlink-grpc-tools
source venv/bin/activate

python ./dish_grpc_influx.py -U starlinkstats -P PASSWORD -t $interval $stats

I haven’t really configured Grafana yet. I found some stock dashboard (in the repo?) that looks like the screenshot below. But it’s storing a lot more stats and I should drill into it at some point.