grafana+influxdb+telegraf监控系统

基本原理

colletd/telegraf(收集数据) —> influxdb(保存数据) —> grafana(展示数据)

安装配置

influxdb安装

  1. cd /opt
  2. 下载官网的RPM包
  3. yum localinstall influxdb-1.4.2.x86_64.rpm
  4. systemctl enable influxdb
  5. systemctl start influxdb

telegraf

  1. cd /opt
  2. 下载官网的RPM包
  3. yum localinstall ~
  4. vim /etc/telegraf/telegraf.conf
  5. 编辑配置文件的[[outputs.influxdb]]
  6. 编辑配置文件的[[inputs.*]]
  7. systemctl enable telegraf
  8. systemctl start telegraf

grafana

  1. cd /opt
  2. 下载官网的RPM包
  3. yum localinstall ~
  4. systemctl enable grafana-server
  5. systemctl start grafana-server

默认启动端口3000,账户密码均为admin

--------------------本文结束,感谢您的阅读--------------------

本文标题:grafana+influxdb+telegraf监控系统

文章作者:弓昭

发布时间:2018年12月23日 - 20:22

最后更新:2020年04月08日 - 22:20

原始链接:https://gongzhao1.gitee.io/grafana+influxdb+telegraf监控系统/

联系邮箱:gongzhao1@foxmail.com