telegraf快速安装

  sre

centos:

wget https://dl.influxdata.com/telegraf/releases/telegraf-1.9.1-1.x86_64.rpm
yum localinstall telegraf-1.9.1-1.x86_64.rpm

ubuntu:

wget https://dl.influxdata.com/telegraf/releases/telegraf_1.9.1-1_amd64.deb
dpkg -i telegraf_1.9.1-1_amd64.deb

vim /etc/telegraf/telegraf.conf
[[outputs.influxdb]]
urls = ["http://127.0.0.1:8086"]
database = "telegraf"
timeout = "5s"

service telegraf start
service telegraf stop

在grafana中导入模板,id为928

LEAVE A COMMENT

Captcha Code