centos7.4_x86_64安装grafana5.2.1并安装常用zabbix插件


获取并安装grafana5.2.1
# wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.1-1.x86_64.rpm
# yum localinstall -y grafana-5.2.0-1.x86_64.rpm

服务端图像呈现组件安装
yum install fontconfig freetype* urw-fonts -y

开启系统默认启动
systemctl enable grafana-server
启动服务
systemctl start grafana-server
查看服务是否正常启动
systemctl status grafana-server

也可以查看grafana-zabbix-app 库,安装最新的插件:
git安装插件
yum install -y git

cd /var/lib/grafana/plugins
git clone https://github.com/alexanderzobnin/grafana-zabbix-app
使用这样的方法安装,能轻易的升级运行grafnan zabbix插件。
cd /var/lib/grafana/plugins/grafana-zabbix-app
git pull

# 获取钟表插件
git clone https://github.com/grafana/clock-panel.git

service grafana-server restart

# 开启防火墙放行3000端口
firewall-cmd --add-port=3000/tcp --permanent
firewall-cmd --reload


安装饼图插件\
cd /var/lib/grafana/plugins
git clone https://github.com/gbrian/grafana-piechart-panel-echart.git

git clone https://github.com/raintank/worldping-app.git

猜你喜欢

转载自www.cnblogs.com/reblue520/p/9270800.html