Is this actually possible? I'm running Cacti 1.2.11. I created a template data source with all the necessary data items gathered with a script at once. Then, I defined two template graphs from this data source each using different data items. However, when I create the graphs (one after the other) from "Create graphs for this device" each generates a separate data source, which both gather the same information. Is there any way, so I could connect the two graphs to the same data source?
P.S. My problem seems similar to what's reported in issues 948, 2246 and 2364, but as far as I understand it wasn't resolved completely.
P.S.S. Could this be fixed directly into the database?
Multiple graphs from a single data source
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Multiple graphs from a single data source
Sounds like a regression or corner case. You will need to provide more information.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Multiple graphs from a single data source
Sure, what more information you need? Let me know and I'll try to provide the requested.
To summarize what I've done is just the following:
Expected: The first data source to be reused, because it already provides all the Data Source Items that the second graph needs.
I do not see any option to select existing data source on graph creation or change it afterwards.
To summarize what I've done is just the following:
- Wrote a script that returns field:value pairs.
- Defined a Data Input Method for the script with Input Type "Script/Command" and all the output fields.
- Defined a Data Source Template using the Data Input Method with all the Data Source Items for all the output fields.
- Defined two Graph templates using the Data Source Items.
- Created two new graphs from "Create Graphs for this Device" one by one.
Expected: The first data source to be reused, because it already provides all the Data Source Items that the second graph needs.
I do not see any option to select existing data source on graph creation or change it afterwards.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Multiple graphs from a single data source
That's a regression then. Create a Github issue and upload your Template.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Multiple graphs from a single data source
I'm sorry for the delay. I just created issue 3523.
Who is online
Users browsing this forum: No registered users and 4 guests