-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable to select more than one data query with Zabbix #38
Comments
I'm not entirely sure the best place to check this, though I wonder if in the "options" dropdown for the query (below "Functions") are you able to add something to distinguish the two? |
Maybe this is a different version of #7? Can you try disabling "data alignment" in the options of the Zabbix data source? |
This is weird. Can you make sure both queries are enabled and then at the top (possible outside of edit mode) click on the name of your panel and select "Inspect" > "Panel JSON" and then change the dropdown at the top to "Panel Data" and attach the file to a response? Feel free to remove some of the pure data values and/or change names if you don't want to share that info. |
I'm attaching the requested file (Panel_data_Inspect_NSK-Core.txt). You can see the current configuration in the screenshot. |
Can you go to the actual Zabbix settings, so "Configuration" > "Datasources" on the left hand side of Grafana, and try disabling data alignment there (not just on the individual queries)? It looks to me like this might still be causing a problem. |
Hmm. Ok a final two thoughts to try:
|
I had this same issue. I had to add 3 or more queries of different devices and the drop down list then started to work. If I only add 2 queries I could only choose one from the drop down. I wondered if it might be bug? |
Now I have added 10 requests for different network devices, but nothing has changed. The dropdown list doesn't work properly, I mean I can only select one (first added) query. @cameronw1996, perhaps you have changed something else? |
In the "Item" field for the first query (Query A), are you able to do Regex like "/.*/" or equivalent? Instead of having two separate queries? This is what I was trying to say above but I wasn't sure how to put it. I can see from this other issue with a Zabbix user that they can select multiple "items" by using regex in the "Item" field, so I wonder if this might fix your issue? |
Finally! The problem has been fixed. Can you specify this singularity in the documentation for Zabbix database users? Thanks so much for your help. This project is great! |
Great! Yes, I am going to work on updating the documentation page as a whole and I will add this issue. |
Sorry, I didn't understand how to solve the author's problem, can you give a detailed explanation? |
Your recommendation:
"See the note on: Adding Data."
There is the following note:
"PLEASE NOTE: Queries with the exact same labels will be considered as such. If you have multiple queries and are unable to select the one that you want, double check to make sure it is labeled uniquely."
Please explain to me where can I check the uniqueness of an query.
There are no uniqueness marks on the panel. I only see the following options: duplicate, hide, delete.
File:
![Screenshot_20221222_124208](https://user-images.githubusercontent.com/119850421/209066087-960b78bd-b6da-428f-9be6-26a59ea5a725.png)
The text was updated successfully, but these errors were encountered: