Single data source for multiple graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Single data source for multiple graphs

Post by sbotnick »

Hello,

I just ran into what is described in the issue below as a problem in my own system. One problem I have is extremely limited bandwidth and a relatively heavy API output that causes network problems because of multiple data source instances to create multiple graphs. I also I expected to be able to create multiple graphs with different combinations of data acquired by a single pass of a scripted data input method with multiple output fields.

https://github.com/Cacti/cacti/issues/3523

Are there any reasonable workarounds for this? Any plans to make changes to better accommodate non-standard data sources and more flexible graph creation without imposing additional acquisition on a host?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Single data source for multiple graphs

Post by netniV »

Well, you can have a single data template which is assigned to multiple graphs, I do that with some SNMP Indexed data queries.

I haven't checked if that creates multiple data sources, and multiple queries to the device though.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Re: Single data source for multiple graphs

Post by sbotnick »

I discovered that when creating a device that has multiple graphs in the device template, it will create a single data source. If you go back and create different graphs with the same data for the device after creating the device, it will create a new datasource rather than allow you to choose the existing data source.

Also, I have custom data that needs to be entered on a per-device basis, in the data source template, I have the custom data fields set to allow override on data source creation, but it does not ask for those values in the scenario above. You have to go into the data source after creation and modify the custom data fields.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests