grafana7添加zabbix数据源报错处理:Parse error Invalid JSON. An error occurred on the server while parsing the

tech2022-11-06  95

 

 

如果你grafana使用的zabix插件版本是4.0,在添加zabbix数据源会报如下截图错误的话,直接去下载zabbix4.0.1或者更高版本插件,替换当前4.0插件,就不会有插件签名报错和json解析错误了。

添加数据源报错信息为:Parse error Invalid JSON. An error occurred on the server while parsing the JSON text

可以从官网下载4.0.1的zip,上传到/var/lib/grafana/plugins目录下,然后使用unzip grafanaxxxxxxxx.zip进行解压,解压后systemctl restart grafana-server.service重启服务即可。然后rm -rf grafanaxxxxxx.zip插件包。

替换为4.0.1或者更高版本,并重启grafana服务后,在去grafana web页面看,插件中的zabbix不报未签名错误了,添加数据源填写正确信息后,可以直接添加了。

最新回复(0)