Skip to content

Instantly share code, notes, and snippets.

@BoxingOctopus
Last active April 7, 2021 18:02
Show Gist options
  • Save BoxingOctopus/f432054acc0d24a400f3e12f585fc3b8 to your computer and use it in GitHub Desktop.
Save BoxingOctopus/f432054acc0d24a400f3e12f585fc3b8 to your computer and use it in GitHub Desktop.
Telegraf Setup Script
#!/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