Skip to content

Instantly share code, notes, and snippets.

@tkuennen
Last active March 2, 2018 14:48
Show Gist options
  • Select an option

  • Save tkuennen/eeb21328084e35a3973ca963eb4822d9 to your computer and use it in GitHub Desktop.

Select an option

Save tkuennen/eeb21328084e35a3973ca963eb4822d9 to your computer and use it in GitHub Desktop.
cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL \$releasever
baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF
sudo yum -y install telegraf
sudo systemctl start telegraf
sudo systemctl enable telegraf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment