Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.65k stars 406 forks source link

When Creating a Data Query Graph you should be able to select the Data Source Profile #636

Closed g1augusto closed 6 years ago

g1augusto commented 7 years ago

I am creating additional graph templates - Data queries - Device Templates based on different polling intervals.

When duplicating, if a graph template has a comment or H/V rule these keeps the reference of the previous data source

cigamit commented 7 years ago

Try to explain that in pictures please.

g1augusto commented 7 years ago

Let me add some pics to explain myself :

From : image

To: image

And everything is fine, the items 11 - 12 - 13 are the problem: image

As I need to delete them and recreate them otherwise the result on creating a new data query pointing to this graph will be to have both Data Templates (the previous 5 minutes of the original and the new 1 minute I set as actual data profile for the items) and the only solution is to delete the comment/h-V rules items on the graph template, that way the data template on the data query is coherent

image

cigamit commented 7 years ago

I'm going to suggest that instead of doing thing this way, we should incorporate the Data Profile into the Data Query or the Data Query Graph Associations. That way, you don't necessarily need to duplicate anything other than the Data Query, if even that. What do you think about that?

So, there are two approaches as shown below:

datasourceprofileprototype1

Or:

datasourceprofileprototype2

What do you think?

g1augusto commented 7 years ago

I think it makes more sense to have the Data source profile into the Data Query Graph Associations with an override option by data source.

Just, do you see this as a disruptive migration from the current scenario? ( I am going to build soon our Device base with Automation), how should I migrate my current setup by this new method (for coherence )

I have Each Interface graph template for each of my data profiles:

image

They are using the current Data Templates:

image

And integrated into the current three Data Queries:

image

Also, Where the Data Templates (marked in Red) are defined?

image

cigamit commented 7 years ago

Well, it's on my list now. But I can not promise you any dates. There are a number of projects ahead of this. So, if you are planning a deployment, keep doing what you are doing. There will be some migration policy for sure.

g1augusto commented 7 years ago

Thanks,

I will proceed with my deployment and will keep you updated in case something comes up.

Please consider all this enhancement requests as an option, for you to evaluate their quality and eventual improvement of CACTI.

If you find these of any use, I will be glad, but not pretend to see them necessarily any soon.

Thanks again for your effort!

cigamit commented 6 years ago

I'm going to rename this one. The duplicate data source is some sort of duplicate anomaly, what we want to do is provide a way for Data Templates to choose a profile per Graph.

cigamit commented 6 years ago

Dang, this is already supported in 1.2.