grafana添加組件

###安裝grafana插件需聯網安裝
[root@zabbix grafana]# grafana-cli plugins list-remote #查詢可用的插件
id: abhisant-druid-datasource version: 0.0.5
id: adremsoft-netcrunch-app version: 1.0.0
id: alexanderzobnin-zabbix-app version: 3.8.1
id: ayoungprogrammer-finance-datasource version: 1.0.0
[root@zabbix grafana]# grafana-cli plugins install alexanderzobnin-zabbix-app  #安裝zabbix組件
✔ Installed alexanderzobnin-zabbix-app successfully
[root@zabbix grafana]# grafana-cli plugins install percona-percona-app
✔ Installed percona-percona-app successfully
[root@zabbix grafana]# grafana-cli plugins install grafana-piechart-panel
✔ Installed grafana-piechart-panel successfully
[root@zabbix grafana]# systemctl restart grafana-servermysql

 

離線安裝組件sql

模塊添加,只須要將模塊文件放在/var/lib/grafana/plugins(在配置文件grafana.ini:;plugins = /var/lib/grafana/plugins)
[root@zabbix plugins]# ls
alexanderzobnin-grafana-zabbix-a8b2e3c grafana-piechart-panel
[root@zabbix plugins]# pwd
/var/lib/grafana/plugins
重啓grafana服務數據庫

 

添加zabbix模塊app

 

 

 

 

 

添加mysql數據源ui

 

Settings
Name : 數據源名稱
MySQL Connection
Host : 數據庫連接地址默認3306端口
Database : 庫名
User/Password : 登錄用戶密碼(改用戶具備查詢權限)插件

相關文章
相關標籤/搜索