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
Enhance Graph Management to show source type #1670
Comments
I've another example. I've got two graphs and for both the GUI refers to a template called "Available Disk Space". graph_templates_graph -> title_cache = "web02 - Disk Space - /dev/sda1" --> graph_template_id 21 graph_templates_graph -> title_cache = "data02 - Used Space - /" --> graph_template_id 26 For both items the GUI however shows a template called "Available Disk Space" which seems to be a string occuring in the "snmp_query_graph" table in the "name" column, where it refers to graph_template_id 21 and 26, respectively.... I've tried to reproduce in a vanilla 1.2.0 install where I added disk space checks to localhost. While there are no duplicates (because the new install has less queries configured), it is also not showing the actual template name, but the stuff from the snmp_queries table..... |
In Cacti 1.x, for Data Queries, we use the Data Query associated Graph Template name and not the actual Graph Template name. In prior versions of Cacti it was very easy for the names to be different as there was no helper function. This is a change from Cacti 0.x releases. |
That is very confusing. I guess it is a consequence of retrofitting the data queries into the existing architecture at some point. How can we make this more understandable to newbies and existing users alike? I propose the following:
What do you think? This really needs to be discussed. |
Yea, having some visual indicator that it's Data Query based vs. a Raw Template sounds like a good idea. Yes, and it's a little confusion, I have to admit that. |
…raph This commit adds functionality as requested in Cacti#1670 by adding an extra column to the graph management page to display the source type of a graph ('None', 'Data Query', 'Template')
…graph (#1725) * Feature#1670: Improve Graph Management to show type of source for a graph This commit adds functionality as requested in #1670 by adding an extra column to the graph management page to display the source type of a graph ('None', 'Data Query', 'Template') * Minor update to make column sortable
We have now merged this into 1.2's development. |
Graph Management dialog shows template names that don't correspond to anything.
Also, the template names shown when using "Change graph template" don't correspond to any actual graph template either.
This is Cacti 1.1.38 upgraded from early 1.x. (Not sure if this bug existed previously, as only currently I'm again intensively using Cacti.)
The text was updated successfully, but these errors were encountered: