目錄
一、安裝并配置
二、Web訪問
?三、Grafana啟用zabbix插件
?四、Grafana添加zabbix數(shù)據(jù)源
?五、創(chuàng)建儀表盤
?創(chuàng)建監(jiān)控項完成保存儀表盤
?六、查看創(chuàng)建的儀表盤
?七、在現(xiàn)有的dashboard(儀表盤)中添加圖形
?八、查看最終dashborad(儀表盤)結(jié)果
一、安裝并配置
grafana源碼包提取鏈接:https://pan.baidu.com/s/191ZZ_Gi7ufXVWDbAYsF6Xw?pwd=pves?
提取碼:pves
[root@server ~]# yum localinstall -y grafana-4.2.0-1.x86_64.rpm #yum方式安裝本地rpm并自動解決依賴關(guān)系
[root@server ~]# grafana-cli plugins install alexanderzobnin-zabbix-app #安裝zabbix插件(有些慢)
installing alexanderzobnin-zabbix-app @ 3.9.1
from url: https://grafana.net/api/plugins/alexanderzobnin-zabbix-app/versions/3.9.1/download
into: /var/lib/grafana/plugins
? Installed alexanderzobnin-zabbix-app successfully #出現(xiàn)此行表成功;如果沒有可先進行下方操作,在web訪問的時候可以訪問到頁面即可
Restart grafana after installing plugins . <service grafana-server restart>
[root@server ~]# mkdir -p /opt/grafana/data/plugins #創(chuàng)建grafana數(shù)據(jù)目錄
[root@server ~]# cp -r /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/ /opt/grafana/data/plugins/
[root@server ~]# ls /opt/grafana/data/plugins/
alexanderzobnin-zabbix-app
[root@server ~]# chmod 777 /opt/grafana/data/plugins/ -R #遞歸加權(quán)
[root@server ~]# systemctl start grafana-server.service #啟動服務
二、Web訪問
http://192.168.2.21:3000
?
?
?三、Grafana啟用zabbix插件
?
?
?
?四、Grafana添加zabbix數(shù)據(jù)源
?
?
?http://192.168.200.111/zabbix/api_jsonrpc.php??此處是httpd設置的網(wǎng)址
?
?五、創(chuàng)建儀表盤
?
?
?
?
?
?
?創(chuàng)建監(jiān)控項完成保存儀表盤
?
?六、查看創(chuàng)建的儀表盤
?
?七、在現(xiàn)有的dashboard(儀表盤)中添加圖形
?
?
?
?
?
?
?
?
?八、查看最終dashborad(儀表盤)結(jié)果
文章來源:http://www.zghlxwxcb.cn/news/detail-607271.html
?文章來源地址http://www.zghlxwxcb.cn/news/detail-607271.html
到了這里,關(guān)于Grafana圖形web監(jiān)控的安裝與配置的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!