zabbix+grafana


Grafana是一個開源的度量分析與可視化套件。經常被用作基礎設施的時間序列數據和應用程序分析的可視化,它在其他領域也被廣泛的使用包括工業傳感器、家庭自動化、天氣和過程控制等。

Grafana支持許多不同的數據源。每個數據源都有一個特定的查詢編輯器,該編輯器定制的特性和功能是公開的特定數據來源。

官方支持以下數據源:Graphite,InfluxDB,OpenTSDB,Prometheus,Elasticsearch,CloudWatch和KairosDB。

每個數據源的查詢語言和能力都是不同的。你可以把來自多個數據源的數據組合到一個儀表板,但每一個面板被綁定到一個特定的數據源,它就屬於一個特定的組織。下面我們來一起感受一下grafana。

Grafana官網:https://grafana.com/

Grafana官方手冊:https://grafana.com/docs/

Grafana安裝:

官網:https://grafana.com/grafana/download?edition=oss

1.安裝grafana

yum -y install grafana-6.7.3-1.x86_64.rpm

2.啟動grafana

systemctl enable grafana-server
systemctl start grafana-server

3.grafana端口為3000

netstat -anpt |grep :3000

下面是安裝步驟

 

 

 

 

 

 

 

 

 

 

把這個代碼執行一遍

 

 

 

 

 從官網的下載然后重啟

[root@192 grafana]# cd /var/lib/grafana/plugins/
[root@192 plugins]# grafana-cli plugins install alexanderzobnin-zabbix-app
[root@192 plugins]# systemctl restart grafana-server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

 

 

  

 第二種方法

[root@192 plugins]# yum -y install grafana-6.7.3-1.x86_64.rpm
[root@192 plugins]# systemctl start grafana-server
[root@192 ~]# systemctl start grafana-server
[root@192 ~]# cd /var/lib/grafana/plugins/
[root@192 plugins]# pwd 
/var/lib/grafana/plugins
[root@192 plugins]# ll
總用量 0
[root@192 plugins]# tar zxf zabbix-plugins.tar.gz 
[root@192 plugins]# systemctl restart grafana-server
[root@192 plugins]# 

 

 

 

 

 

 

 

 

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM