-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin unavailable after Save&Test #1604
Comments
Hi! What exactly you downloaded? Zip from release page? This line from logs looks interesting:
|
I downloaded last version - Grafana-Zabbix 4.3.1 from page https://github.com/alexanderzobnin/grafana-zabbix/releases. |
We have used Grafana Docker Image which is alpine-based and so not able to use this Zabbix plugin. It always gives the error - Pluging Unavailable. However plugin is available on this path - Any suggestion to resolve this ? |
Aleksander, what additional info do you need, for solving this problem? Should we send you any logs or something that can help? Thanks! |
Sorry, I have no idea, may be you need to check permissions to the path /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_linux_amd64 |
I can reproduce this:
I tried
Can you suggest other things I can try? |
I have the exact same error on Grafana 9.5.5 with zabbix-plugin 4+ I use Nixos as OS, the permission are correctly set on the directory, I've double check the permission settings with another plugins that work. |
Hi @alexanderzobnin , I'm doing a test to integrate zabbix items on grafana dashboard. I'm working RHEL8 server and I'm getting this error always. I've followed following troubleshooting steps but they didn't works; **1. Firewall disabled & connectivity ok. (ping zabbix_server_ip & telnet zabbix_server_ip 80 are fine)
**5. Restart Grafana, After making any changes or adjustments.
Is this related to RHEL8 OS? |
hello all ! i've found the solution, and the cause. on my side it was because the system is hardened and the mount option on if you got this error try to change the Plugin path of grafana, i set mine on |
Thanks @aeliusrs. Now it's working! :) [root@test srv]# mkdir grafana |
I tried all the above and still have the plugin unavailable issue with 4.4.0 on a 10.1.0 Grafana Server. Banging my head trying to think of other things it might be but the output in grafana isn't verbose enough to state why it's unavailable.. |
Hello,
|
guys guys guys, can you return ls -l of the plugin path ? and also check your ACL on it with getfacl ? also ensure your plugin directy is not on a disk with noexec option, check also SELinux or AppArmor |
The problem appear after an upgrade to grafana 10.0.3 with no plugin upgrade (4.3.0). Here the ACL root@zabbix2:/var/lib/grafana/plugins# ls -lsa root@zabbix2:/var/lib/grafana/plugins# getfacl . file: .owner: grafanagroup: grafanauser::rwx root@zabbix2:/var/lib/grafana/plugins# getfacl alexanderzobnin-zabbix-app/ file: alexanderzobnin-zabbix-app/owner: grafanagroup: grafanauser::rwx root@zabbix2:/var/lib/grafana/plugins/alexanderzobnin-zabbix-app# ls -lsa I dont have any noexec on the /var/lib In verbose mode : At the line "logger=datasource t=2023-08-25T16:13:32.245596246+02:00 level=debug msg="Applying default URL parsing for this data source type" type=alexanderzobnin-zabbix-datasource url=http://127.0.0.1/zabbix/api_jsonrpc.php", this is correct or the reference is for an older plugin version or this is just a reference name ? Thanks you by advance |
Hello guys Zabbix_server (Zabbix) 6.4.6 OS= Oracle Linux 8.8 |
j'avais le meme cas, ma solution comme expliqué plus haut et de bouger le répertoire de pkugin de grafana vers /srv ou /opt, y a pas mal de système qui ont des sécurité sur /var/lib un autre point qui peu etre problèmatique c'est l'architecture de ton système, est-ce que tu peu me faire un uname -a et un ls dans le répertoire du plugins ? |
Estou com esse mesmo problema, plugin 4.4.0, zabbix, 6.2.9, grafana Grafana v10.1.0. Instalo e fica aparecendo Plugin unavailable na conexão ja existente. Dei reboot na minha maquina e voltou sem o plugin, tento instalar agora, e fica dando esse erro na versão mais recente, tentei instalar uma versão anterior via cli, porem sem resultado, eu instalo o plugin, a pasta aparece no local dos plugins, tudo la dentro certinho, mas não aparece na interface, fica como se o plugin não estivesse instalado. |
I have the same problem, plugin 4.4.0, zabbix, 6.2.9, grafana Grafana v10.1.0. I install it and it keeps showing Plugin unavailable in the existing connection. I rebooted my machine and it came back without the plugin, I try to install it now, and it keeps giving this error in the latest version, I tried to install a previous version via cli, but without result, I install the plugin, the folder appears in the plugins location, everything in there, but it doesn't appear in the interface, it's as if the plugin wasn't installed. |
I tried your solution with /srv/grafana/plugins/ with rights grafana:grafana on /srv/grafana, set grafana.ini to load this plugin folder, but same result. I revert, same result, but here what you ask :) root@zabbix2:/var/lib/grafana/plugins/alexanderzobnin-zabbix-app# uname -a Thank you, |
humm this binary like |
That worked.. I ran the file directly, my Libc was not up as much as it was required to be, mainly cuz I was running on a box I hadn't wanted to do a release upgrade on for awhile.. Resolved my problem, and all is well in the world.. LibC out of date, who would have thunk it.. ;) . |
That was helpful, thank you. In addition to strace, which gave me a |
Hello, So, for me, when i tried ./gpx_zabbix-plugin_linux_amd64
GLIBC - installed is 2.31 and is not compatible, after research i decide to upgrade to 22.04 from 20.04 (ubuntu mate, dont ask me why is on mate...) After successful update > Problem solved. GLIBC version after upgrade :
So, to have a more specific error, you need to launch the plugin regarding your environnement :
Execute like this :
Here its OK Thank you very much, especially to @aeliusrs and @HammaBamma |
I dont understand your language :) but You have the same problem as me, you need to install or upgrade to GLIBC 2.32 minimum. Regards, |
new install: After enabling the plugin when I try to configure the Zabbix data source I get the plugin unavailable error message: when I try to run gpx_zabbix-plugin_linux_amd64 from the terminal I get this error: $ /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/gpx_zabbix-plugin_linux_amd64
/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/gpx_zabbix-plugin_linux_amd64: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/gpx_zabbix-plugin_linux_amd64)
/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/gpx_zabbix-plugin_linux_amd64: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/gpx_zabbix-plugin_linux_amd64) The current glibc package on Rocky Linux 8.8 is glibc-2.28-225.el8.x86_64
So what does that mean? do I need to ditch Rocky 8 in favor of Rocky 9 which runs glibc-2.34 or is this a fixable issue? |
That or you need to roll back to another version of this package, that supports an older Libc.. I upgraded my Ubuntu from 16.04 (wayyyy old and out of date), all the way up to 22.04, before it finally had a version of libc that was current and supported by this plugin.. |
Hi guys, I think I figured out the solution, I'll upload it here later. |
It's basically what the friend had already said above, but I'll give details on how to solve it.Check the version of lld by running the command:
My case I'm using debian, update lld to the latest version, acceptable:
This procedure must be done inside the plugin folder You must run the GPX that corresponds to your OS:
Try to run the plugin again... Commands must be run with root permission. |
Ok, it seems it's a build issue. I compared 4.3.1 and 4.4.0, so 4.3.1 built with go 1.19 and latest one is built with 1.20. There's a relevant issue in golang repo,
|
I've published a new release that should fix an issue. I tested out on Grafana Cloud, now it works, so please, update and test in your environment. |
🙏 Thanks a lot @alexanderzobnin – Confirming this working on my Debian Bullseye / Grafana 10.1.0 |
Why I can't update plugin to this version on local server via: |
Need to change plugin directory; vi /etc/grafana/grafana.inisystemctl restart grafana-server.service |
same issue here, can anyone help please |
Pessoal consegui resolver o problema, tive que baixar outra versão do Grafana, usei a versão grafana-9.3.6 |
Describe the bug
Good afternoon! When I try to connect a data source using the Save&Test button, I get an error like "plugin unavailable". Important point: I installed the your plugin not using "grafana-cli plugins install alexanderzobnin-zabbix-app", becouse I don't have access to internet from my organization, I simply download it, unpack and copy to directory /var/lib/grafana/plugins and restart grafana (systemctl restart grafana-server). My OS is Red Hat Enterprise Linux 8.7. Please tell me what i did wrong?
Expected behavior
Connection success or somthing else like this.
Screenshots
Network data
logger=cleanup t=2023-03-30T17:00:00.735709025+03:00 level=info msg="Completed cleanup jobs" duration=22.879712ms
logger=cleanup t=2023-03-30T17:10:00.733447897+03:00 level=info msg="Completed cleanup jobs" duration=20.527127ms
logger=cleanup t=2023-03-30T17:20:00.733508887+03:00 level=info msg="Completed cleanup jobs" duration=20.646333ms
logger=context userId=1 orgId=1 uname=admin t=2023-03-30T17:28:47.448931142+03:00 level=error msg="Datasource has already been updated by someone else. Please reload and try again" error="trying to update old version of datasource" remote_addr=172.18.10.31 traceID=
logger=context userId=1 orgId=1 uname=admin t=2023-03-30T17:28:47.459906881+03:00 level=info msg="Request Completed" method=PUT path=/api/datasources/uid/Kfslluf4k status=409 remote_addr=172.18.10.31 time_ms=234 duration=234.790866ms size=107 referer=http://sbb-zabbix. ХХХХХХ:3000/datasources/edit/Kfslluf4k handler=/api/datasources/uid/:uid
logger=context userId=1 orgId=1 uname=admin t=2023-03-30T17:28:53.228384855+03:00 level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=172.18.10.31 time_ms=32 duration=32.283468ms size=0 referer= handler=/api/live/ws
logger=context userId=1 orgId=1 uname=admin t=2023-03-30T17:29:00.842645185+03:00 level=warn msg="Plugin unavailable" error="plugin unavailable" traceID=
logger=context userId=1 orgId=1 uname=admin t=2023-03-30T17:29:00.84272287+03:00 level=error msg="Request Completed" method=POST path=/api/datasources/1/resources/zabbix-api status=503 remote_addr=172.18.10.31 time_ms=79 duration=79.323021ms size=46 referer=http://sbb-ХХХХХХ.net:3000/datasources/edit/Kfslluf4k handler=/api/datasources/:id/resources/*
Software versions
The text was updated successfully, but these errors were encountered: