操作系统
[root@localhost ~]# cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m
- 1
- 2
- 3
安装grafana软件包
yum install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm
- 1
启动grafana,并设置开机启动
service grafana-server start
chkconfig grafana-server on
- 1
- 2
下载并安装grafana-zabbix插件
git clone https://github.com/linglong0820/grafana-zabbix
cp -r grafana-zabbix/zabbix/ /usr/share/grafana/public/app/plugins/datasource/
- 1
- 2
修改插 件配置文件,设置插件用户名和密码,该用户要在zabbix界面有读的权限
vi /usr/share/grafana/public/app/plugins/datasource/zabbix/plugin.json
- 1
修改完重启服务
/etc/init.d/grafana-server restart
- 1
登陆web
例 :浏览器中输入http://192.168.10.11:3000/login
默认用户名:admin
默认密码:admin
转载请注明:爱开源 » 安装grafana和grafana-zabbix插件