-
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
Not working with public dashboards #1635
Comments
Hello everyone, I ran into the same problem. Does anyone have any ideas how to solve it? |
Same issue here. We were really hoping for this functionality, as we are constructing a public dashboard using aggregated Zabbix services to inform the University user community about the status of various IT services. |
@zoltanbedi we are also facing the same issue, any update on this? Thanks |
I have been facing same problem since last 3-4 weeks. But after debugging i found that we are not passing publicDashboardAccessToken in the request query object in backendQuery function. |
Sorry I saw it working because auth_anonymus_enabled. 😅 I can see what @evictorero says now. We need to investigate this more as there are a couple of places where we still use frontend queries. |
Is there any workaround for this at the moment? |
@kingcode94 nothing that I'm aware of. |
@zoltanbedi I think the issue is within grafana. Because grafana is handling the session of users. Can you please verify that? I have tried to hit the following url from postman and i was getting unauthorized error http://localhost:3001/api/ds/query Also can you please share where to add ** auth_anonymus_enabled** flag in the code so that atleast we can get a temporary public dashboard. Thank you. 😇 |
Hi @zoltanbedi Any solution on this? Thank you! |
@sulaiman21 this is still not supported for zabbix and sadly you can't set |
Is there any workaround for this? I don't want the general public to be able to make changes to dashboards, so I need auth for making changes, but there are a few dashboards that I need to be public. |
This worked for me in the docker version by setting it in grafana.ini - but it seems that special considerations are required for view permissions to prevent undesired data leaks |
This is still not working. |
grafana-zabbix seems to have both properties set to true in plugin.json, so the problem is likely not that. I have noticed that public dashboards do work on some dashboards, but I have yet to find what specifically makes some of them not work. |
Describe the bug
The Zabbix plugin is failing on public dashboards because the queries are not using the Public dashboards endpoint
Expected behavior
The Zabbix plugin does not extend DataSourceWithBackend and it is making a request directly to the Grafana Backend.
Public dashboards override this query and use another endpoint, so each backend plugin needs to extend this class.
The text was updated successfully, but these errors were encountered: