安装grafanaapp
官方文档:http://docs.grafana.org/installation/rpm/工具
如下为个人安装步骤spa
- 获取rpm文件: wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.1.3-1.x86_64.rpm
- yum install initscripts fontconfig urw-fonts
- rpm -Uvh grafana-5.1.3-1.x86_64.rpm
配置和启动插件
- systemctl daemon-reload
- 启动服务:systemctl start grafana-server
- 设置开机启动:systemctl enable grafana-server
- 登陆:http://IP:3000,默认用户admin/admin

链接zabbix
rest
安装grafana-zabbix插件,有多种方法,如下采用grafana-cli工具安装server
- grafana-cli plugins list-remote ,获取可用插件的列表,找到zabbix
- grafana-cli plugins install alexanderzobnin-zabbix-app,安装zabbix插件
- systemctl restart grafana-server,安装完插件后须要重启grafana服务
配置:blog
- 登陆到grafana,找到插件面板,在configuration里面
- 点击zabbix图标,而后点击启用(enable)

3. 配置数据源,也在configuration里面ip

4. 填写用户名密码,须要是管理员权限rem

5,而后就能够了,设置个dashboad文档
