Which version of Grafana are you running ?
Ad Widget
Collapse
Zabbix plugin for Grafana
Collapse
X
-
No problem.
What's the output when you type?Code:grafana-cli plugins ls
On my side :
Ensure that you have the grafana plugins installed.Code:[root@whatever ~]# grafana-cli plugins ls installed plugins: [B]alexanderzobnin-zabbix-app @ 3.0.0 [/B] grafana-clock-panel @ 0.0.8 grafana-piechart-panel @ 1.1.1 grafana-worldmap-panel @ 0.0.13
If your grafana is an upgrade from Grafana 2.x, please also ensure you don't have an old version of the plugin still installed (you'll find it in /usr/share/grafana/public/app/plugins/datasource/zabbix, remove the zabbix directory)Comment
-
grafana-cli plugins ls shows
Verified that I do not haev a /usr/share/grafana/public/app/plugins/datasource/zabbix directory, but I do have the "officially supported" directories:Code:root@ip-172-31-9-5:~# grafana-cli plugins ls installed plugins: alexanderzobnin-zabbix-app @ 3.0.0
cloudwatch elasticsearch grafana grafana-live graphite influxdb mixed opentsdb prometheusComment
-
Note that I am getting a 404 error when I use any combination with "proxy". From grafana.log:
When I use "direct", I don't even get this in the log (nothing).Code:t=2016-07-20T18:03:11+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api_jsonrpc.php status=404 remote_addr=10.1.12.27 time_ns=1ns size=288
Nothing in zabbix_server.log.Comment
-
Fixed; problem was I had the directory path wrong. Changed http://172.31.9.5/api_json.php to http://172.31.9.5/zabbix/api_json.php.

Thanks (I'm sure I'll be posting more threads for help as I'm new to setting up this kind of stuff)!!!!!Comment
-
Hello
I'm having an issue where a legacy version of the Zabbix Plugin (3.0.0-Beta8) simply never uninstalls.
As a result, any NEW version of the plugin fails to be recognized by Grafana.
This has eaten up a lot of time.
How do I remove this legacy version?
adComment
-
A further update.
While trying to remove the legacy 3.0.0-Beta8 version, I noticed that uninstalling never deleted the following:
/var/lib/grafana/data/plugins/alexanderzobnin-zabbix-app
So I removed that, then reinstalled the plugin from scratch:
According to your documentation, I'm supposed to now see the plugin in the Plugins -> App section.HTML Code:grafana-cli plugins install alexanderzobnin-zabbix-app service grafana-server restart
But it's not there.
I'm running Grafana 4.0.1-beta1
Can ANYBODY assist in getting this working?
adComment
-
You should check installation path (default for grafana-cli) and plugin directory in grafana config. Sometimes grafana-cli installs plugin in ./data/plugins, but sometimes in /var/lib/grafana/plugins (depends of type of Grafana package).Comment
-
Hello and thanks for the reply.
Our server's grafana plugins directory is:
/var/lib/grafana/plugins
I don't see anything related to grafana in "/data" (I'd need more info, that looked like an incomplete path.)
adComment
-
-
You should see something like this:
Code:alexanderzobnin@alexander-laptop:grafana$ ./bin/grafana-server INFO[11-16|18:28:37] Starting Grafana logger=main version=4.0.0-beta1 commit=v3.1.0-1401-g6a81389 compiled=2016-11-09T16:48:51+0300 ... INFO[11-16|18:28:37] Path Data logger=settings path=/Users/alexanderzobnin/development/grafana/work_dir/src/github.com/grafana/grafana/data INFO[11-16|18:28:37] Path Logs logger=settings path=/Users/alexanderzobnin/development/grafana/work_dir/src/github.com/grafana/grafana/data/log INFO[11-16|18:28:37] Path Plugins logger=settings path=/Users/alexanderzobnin/development/grafana/work_dir/src/github.com/grafana/grafana/data/plugins ... INFO[11-16|18:28:37] Registering plugin logger=plugins name=Zabbix INFO[11-16|18:28:37] Registering plugin logger=plugins name="Zabbix Triggers" INFO[11-16|18:28:37] Registering plugin logger=plugins name=Zabbix INFO[11-16|18:28:37] Registering plugin logger=plugins name=Crate INFO[11-16|18:28:37] Registering plugin logger=plugins name="Pie Chart" INFO[11-16|18:28:37] Initializing Alerting logger=alerting.engine INFO[11-16|18:28:37] Initializing CleanUpService logger=cleanup INFO[11-16|18:28:37] Initializing HTTP Server logger=server address=0.0.0.0:3000 protocol=http subUrl=
Comment
-
Hello and thanks again
I instead see this:
How do I fix this?HTML Code:t=2016-11-16T11:20:31-0500 lvl=info msg="Starting plugin search" logger=plugins t=2016-11-16T11:20:31-0500 lvl=eror msg="Plugins: Failed to load plugin json file: [/usr/share/grafana/public/app/plugins/datasource/zabbix/plugin.json Did not find type and id property in plugin.json], err: %!v(MISSING)"
adComment
-
Just remove directory /usr/share/grafana/public/app/plugins/datasource/zabbix
It's deprecated place for third-party plugins.Comment
-
Okay. I did that.
Restarted grafana.
grafana-cli plugins ls still showed version 3.1.2 as installed, so I went:
grafana-cli plugins remove alexanderzobnin-zabbix-app
service grafana-server restart
grafana-cli plugins install alexanderzobnin-zabbix-app
service grafana-server restart
service grafana-server ls
It now again shows version 3.1.2 as installed, but again on the Plugins -> apps page, no sign of Zabbix plugin (or the general plugins page either.)
Log from the restart:
adHTML Code:t=2016-11-16T11:33:13-0500 lvl=info msg="Shutdown started" logger=server code=0 reason="system signal: terminated" t=2016-11-16T11:33:13-0500 lvl=info msg="Stopped CleanUpService" logger=cleanup reason="context canceled" t=2016-11-16T11:33:13-0500 lvl=info msg="Stopped Alerting" logger=alerting.engine reason="context canceled" t=2016-11-16T11:33:13-0500 lvl=info msg="Shutdown completed" logger=server reason="context canceled" t=2016-11-16T11:33:13-0500 lvl=info msg="Starting Grafana" logger=main version=4.0.0-beta1 commit=v4.0.0-beta1 compiled=2016-11-09T06:52:56-0500 t=2016-11-16T11:33:13-0500 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini t=2016-11-16T11:33:13-0500 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini t=2016-11-16T11:33:13-0500 lvl=info msg="Config overriden from command line" logger=settings arg="default.paths.data=/var/lib/grafana" t=2016-11-16T11:33:13-0500 lvl=info msg="Config overriden from command line" logger=settings arg="default.paths.logs=/var/log/grafana" t=2016-11-16T11:33:13-0500 lvl=info msg="Config overriden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins" t=2016-11-16T11:33:13-0500 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana t=2016-11-16T11:33:13-0500 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana t=2016-11-16T11:33:13-0500 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana t=2016-11-16T11:33:13-0500 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/data/plugins t=2016-11-16T11:33:13-0500 lvl=info msg="Initializing DB" logger=sqlstore dbtype=sqlite3 t=2016-11-16T11:33:13-0500 lvl=info msg="Starting DB migration" logger=migrator t=2016-11-16T11:33:13-0500 lvl=info msg="Ldap enabled, reading config file" logger=ldap file=/etc/grafana/ldap.toml t=2016-11-16T11:33:13-0500 lvl=info msg="Starting plugin search" logger=plugins t=2016-11-16T11:33:13-0500 lvl=info msg="Initializing Alerting" logger=alerting.engine t=2016-11-16T11:33:13-0500 lvl=info msg="Initializing CleanUpService" logger=cleanup t=2016-11-16T11:33:13-0500 lvl=info msg="Initializing HTTP Server" logger=server address=localhost:3000 protocol=http subUrl=
Comment
Comment