Today I would like to cover getting up and running with Telegraf on my SBC computers, namely most
This will be a brief post just covering the commands \ "hacks" used to get it all sorted.
I had initially done a manual installation of Telegraf which needed to be removed:
systemctl stop telegraf.service systemctl disable telegraf.service systemctl daemon-reload
Installing from influxdata.com
These steps are summarized from the official documentation.
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
Create a source entry for
echo "deb [arch=arm64] https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
Note: depending on your SBC architecture you may need to replace
[arch=armhf]! You can get your CPU architecture by running
apt-get update and install required dependencies:
sudo apt-get update && sudo apt-get install apt-transport-https
sudo apt-get update && sudo apt-get install telegraf
By default the configuration file can be found at
You will need to edit this file to point Telegraf to your local InfluxDb server and add any modules you require:
Running as a service
Enabling the telegraf service should be as easy as issuing the following commands:
systemctl start telegraf systemctl status telegraf
Optionally you can run the below command to enable the service if it was not done as part of the installation:
systemctl enable telegraf
The official repository I used for discovering the supported CPU architectures is here: https://repos.influxdata.com/debian/dists/stretch/stable/
Once running you should start seeing your hosts appearing in Chronograf.
Hopefully you found this post helpful and as always, I welcome any comments, questions and feedback.