===========================
influxdb官方指导
http://docs.influxdata.com/influxdb/v1.5/introduction/installation/
telegraf官方指导
http://docs.influxdata.com/telegraf/v1.6/introduction/installation/
#安装
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
yum install influxdb -y
service influxdb start # systemctl start influxdb.service
yum install telegraf -y
service telegraf start # systemctl start telegraf.service
grafana 模板
https://grafana.com/dashboards?dataSource=influxdb&collector=Telegraf
https://www.reddit.com/r/unRAID/comments/7c2l2w/howto_monitor_unraid_with_grafana_influxdb_and/