This script and service collects system telemetry for a Raspberry Pi.
mosquitto
>= 2.0
sudo apt update && sudo apt install mosquitto-clients
-
Clone this repository somewhere convenient.
-
Copy
pi-telemetry.env.example
topi-telemetry.env
and change the variables as appropriate. NOTE: systemd does not do variable substitution in this file! -
Edit variable
PREFIX
inMakefile
if desired. -
sudo make
This will stop and disable the systemd service and remove the installed files (including the customized configuration file).
sudo make uninstall