Notice: 函数 WP_Scripts::localize 的调用方法不正确$l10n 参数必须是一个数组。若要将任意数据传递给脚本,请改用 wp_add_inline_script() 函数。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 5.7.0 版本添加的。) in /data/www/appblog/wp-includes/functions.php on line 6131

Grafana插件扩展之Zabbix安装

在线安装Zabbix

官网:https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app

# grafana-cli plugins install alexanderzobnin-zabbix-app
# systemctl restart grafana-server

离线安装Zabbix

自行编译

# cd /var/lib/grafana/plugins/
# git clone https://github.com/alexanderzobnin/grafana-zabbix
# yarn
# yarn build
# systemctl restart grafana-server

官方编译

参考:https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app/installation

已编译zip包:https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/3.10.3/download

# unzip -q alexanderzobnin-grafana-zabbix-v3.10.3-1-g362e0a7.zip
# mv alexanderzobnin-grafana-zabbix-362e0a7 alexanderzobnin-grafana-zabbix
# mv alexanderzobnin-grafana-zabbix /var/lib/grafana/plugins/
# systemctl restart grafana-server

开启Zabbix插件

Plugins -> Zabbix -> Config -> Enable

上一篇 Grafana插件扩展之Clock安装
下一篇 grafana-cli命令