Last active
April 7, 2021 18:02
-
-
Save BoxingOctopus/f432054acc0d24a400f3e12f585fc3b8 to your computer and use it in GitHub Desktop.
Telegraf Setup Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - | |
source /etc/lsb-release | |
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list | |
apt-get -y update | |
apt-get -y install telegraf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment