Info
Content

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
  [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 install telegraf
  sudo service telegraf start
  
  #CentOS7+,RHEL 7+:
  sudo yum install telegraf
  sudo systemctl start telegraf

Telegraf installation docs:

https://docs.influxdata.com/telegraf/v1.11/introduction/installation/

Back to top