Replies: 13 comments
-
go to datasource -> security tab and add the ip or hostname of your grafana service to allowed hosts, Don't forget to select the "allow" in "query security". |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip, but this option is already properly configured. I have to configure this in the root organization as well, otherwise it wouldn't even work there! Just to confirm if it would be this parameter you mentioned, here's a printout of how it is in mine! |
Beta Was this translation helpful? Give feedback.
-
By the way, what do you meant by org here? Is it grafana organization ? Or something else that require different url or different ip? |
Beta Was this translation helpful? Give feedback.
-
I don't know if I'll be able to explain it 😄 Within a Grafana server, I can have several organizations. In Grafana, an organization serves as a logical container for grouping users, data sources, and dashboards. It allows you to control access to these resources and facilitate organization within the platform. In other words, it's a way of structuring your Grafana environment, defining who has access to what information and which dashboards. Here's a screenshot of my root Grafana... In red, while in the root organization, you create new organizations, then in the users area, you can grant permissions to who can access these organizations! In green, after you create the first organization, this organization selector appears! For example, in my root organization, I have dashboards from several clients organized into folders! Client A And when I want to allow the client to access only their dashboards, I create their organization, export the dashboards I created in the root organization and import them into the client's organization! And then, when creating the organization, I have to configure all the plugins again, it separates things, it's as if each organization were a new Grafana, but they are all on the same server, within the same installation, so in this case I don't need to reinstall the plugin, it already appears as installed, but then I just have to configure all the plugins again when I change to the new organization! I didn't have any problems with any other plugin, only with this one and what I think is some bug related to the organizations! If you want, I can make a video demonstrating it, just tell me what I need to show! I have other different Grafana and even older versions, in the next few days I'll try to test them to see if the same error occurs! |
Beta Was this translation helpful? Give feedback.
-
Below is documentation about the organizations within Grafana. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Here is a video showing how my Grafana environment works! Up to minute 3:22 I show the plugin configuration and how it works within the dashboard in the Grafana root organization! From minute 3:23 onwards I show the configuration and problems in the organization of one of the clients, but the problem occurs in any organization I create! As I said, each organization requires a new plugin configuration! All the other plugins I have, whether data source plugin or dashboard plugin, work normally in other organizations, only this plugin presents a problem when changing organizations! |
Beta Was this translation helpful? Give feedback.
-
😢 😢 😢 |
Beta Was this translation helpful? Give feedback.
-
Without audio, seems hard for me to understand the issue. May be someone from community can jump in and help you. |
Beta Was this translation helpful? Give feedback.
-
There's no secret, it's simply not working in Organizations! Try simulating it in your environment! Create an organization, configure the plugin in the new organization and try to import a ready-made dash, or try to create a dash using this plugin in this new organization! Your version of the Plugin gives these errors that I mentioned above! |
Beta Was this translation helpful? Give feedback.
-
Can you help me with list of other plugins that work with this multi org setup? How do you configure the datasource ( provisioning the datasource or manually configured ) I would like to reiterate, each grafana org need separate data source config. ( which can be done via provisioning or manual data source configuration ). Where as panel plugins doesn't need any configuration. Only the plugin installation is commonly done once for all the organisations. But data sources as mentioned you need separate configuration. |
Beta Was this translation helpful? Give feedback.
-
I am converting this into dicussion to get more clarification. |
Beta Was this translation helpful? Give feedback.
-
Hello! I was already putting together a very long and detailed explanation, with screenshots and everything! So, I took another installation that I have, but there the version of Grafana and the plugin is older! And I was doing the step by step and taking screenshots, and when I tested it on a dashboard it worked! Imagine my face! hahahaha I went to check my main Grafana and it was also working! I remembered that on Monday 05/26/2025, I updated the version of my main Grafana to the latest version 12.0.1! So, the problem was probably a possible bug in Grafana and not in the plugin! In any case, I thank everyone for their help and patience. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Errors when using the plugin in other organizations.
Here we work with some organizations so that our clients only have access to their dashboards!
So, we create the dashboard in our organization, the main Grafana one, then we export and import it into the client's organization!
When creating the organization, we configure all the plugins used on the client's organization side!
So, we import the dashboards and point them to the configured plugin!
When configuring the plugin and clicking Save & Test, everything is OK!
However, it's not working inside the dashboards!
I use this plugin to get and store data in variables inside the dashboard, and in this case, inside the variables it doesn't display anything, no errors and it also doesn't load the data, everything is null.
When I insert a new visualization and select the plugin and use the same parameters that are in the variable, I get the following error:
error while performing the infinity query. unsuccessful HTTP response. 400 Bad Request
Well, technically this would be an authentication error, but I don't need to authenticate because authentication is already done in the plugin configuration. In any case, I set the HTTP Headers parameters and then the error changes to:
error while performing the infinity query. unsuccessful HTTP response. 401 Unauthorized
This new error would be an unauthorized error, but it is the same data used in the root organization and in other applications that use the API and it is working normally, that is, the data is correct, in fact it is the same data used in the plugin configuration and it accepts it, giving OK status!
Anyway, I don't know if it is in fact a bug, if there is some specific configuration when using the plugin in organizations, does anyone have an idea of what it could be?
Steps to reproduce
Screenshots
Print 1: Plugin working in the root organization, getting the GLPI API session.
Print 2: Error 400 in the client organization
Print 3: Error 401 in the client organization, when trying to add the authentication parameters.
Version Details:
But it also happened in previous versions of both Grafana and the plugin!
Beta Was this translation helpful? Give feedback.
All reactions