Skip to content
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

Graph name problem for creating aggregate graphs #5707

Open
aliuzzz opened this issue Mar 27, 2024 · 7 comments
Open

Graph name problem for creating aggregate graphs #5707

aliuzzz opened this issue Mar 27, 2024 · 7 comments
Labels
enhancement General tag for an enhancement

Comments

@aliuzzz
Copy link
Contributor

aliuzzz commented Mar 27, 2024

image
When creating an aggregate, when "Inclue Prefix" is checked, should it be | host_description | - Aggregate - Traffic on the image. For example, if my switch name is Cisco 9300L, then Cisco 9300L - Aggregate - Traffic will be displayed here. I don't know if it should be understood this way, but currently cacti doesn't work as I said

@aliuzzz aliuzzz added bug Undesired behaviour unverified Some days we don't have a clue labels Mar 27, 2024
@aliuzzz
Copy link
Contributor Author

aliuzzz commented Mar 27, 2024

image
This is the name of the ticked graph, it does not show prefix Text

@TheWitness
Copy link
Member

Well, if the aggregate comes from multiple devices, it'll never work. I suspect your are trying to sum the graphs from a single parent Graph. Seems like a feature request.

@TheWitness TheWitness added enhancement General tag for an enhancement and removed bug Undesired behaviour unverified Some days we don't have a clue labels Mar 30, 2024
@aliuzzz
Copy link
Contributor Author

aliuzzz commented Apr 2, 2024

Whether from a single device or multiple devices, only such text “Aggregate - Traffic” can be displayed.
I believe the aggregated graphs from multiple devices should be done as it is now, without any problems.
However, to create an aggregated graph from a single device, i need to display the name of that device first,for example “Cisco 9300L - Aggregate - Traffic”

And I hope the aggregate graphs should be appear preferentially at the top of the graph page

@TheWitness
Copy link
Member

When you create your Aggregate Graphs, you should name them that way then for now. The other request should be a separate feature request. Thanks!

@bernisys
Copy link
Contributor

Nice feature actually. And i got an idea here:
If the aggregate comes from one device, it makes sense to resolve the macro properly. That should be quite easy to follow thru and check. If it spans more devices, then you could simply resolve it to something like [multiple devices]
If the resolved item is inside HTML text, you could add a hint-popup resolving into all the actual names plus maybe some more information about the sources.
If it is inside a graph title, maybe you could add an optional macro item |aggregate_devices| to the legend which resolves into the list of names, so the title is not cluttered.

@aliuzzz
Copy link
Contributor Author

aliuzzz commented Aug 5, 2024

It should be a problem with the cacti version or font, I didn't do anything

@TheWitness
Copy link
Member

Oh, that prefix is on the Gprints and not the Title. So, this is indeed a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement
Projects
None yet
Development

No branches or pull requests

3 participants