Telegraf on CentOS/RHEL

Telegraf can be easily downloaded by following the download instructions here. Make sure to select the right version for your distribution. At the time of this page's creation, Telegraf is at version 1.11.0.

Proper CentOS/RHEL steps need to be added to this page.

cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
  name = InfluxDB Repository - RHEL \$releasever
  baseurl =\$releasever/\$basearch/stable
  enabled = 1
  gpgcheck = 1
  gpgkey =
  sudo yum install telegraf
  sudo service telegraf start
  #CentOS7+,RHEL 7+:
  sudo yum install telegraf
  sudo systemctl start telegraf

Telegraf installation docs:

Back to top