1、wget https://dl.grafana.com/oss/release/grafana-6.1.1-1.x86_64.rpm
sudo yum localinstall grafana-6.1.1-1.x86_64.rpm
yum install fontconfig freetype* urw-fonts -y
2 启动:
service grafana-server start
3、配置文件:
/etc/grafana/grafana.ini
//支持的数据源:Graphite,InfluxDB,OpenTSDB,Prometheus,Elasticsearch,CloudWatch
4、登录:http://ip:3000

image.png
账号admin 密码admin
5、add database source:influxdb数据原

image.png
6、设置仪表盘:
添加influxdb的展示数据:

image.png

image.png

image.png
保存。
设置查询的变量:

image.png
保存。
7、添加zabbix插件和数据源:https://blog.csdn.net/tony_bo/article/details/54095616
8、汉化版本:https://github.com/WangHL0927/grafana-chinese?spm=a2c4e.11153940.blogcont687085.8.253e7809AD4JgO
9、添加prometheus插件:https://www.iamle.com/archives/2130.html
