Manipulate multiple graphs at once

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
nisrak
Posts: 40
Joined: Tue Dec 30, 2008 9:22 pm
Location: Hawaii

Manipulate multiple graphs at once

Post by nisrak »

Hello,
I would really like to see some way of viewing multiple graphs at once, side by side, with the ability to zoom. The viewers of my Cacti graphs really need a way to view and compare several graphs over the same scale and easily manipulate them all. They need a way to have the zoom function on one graph change all the graphs currently being viewed so that they all remain over the same time scale.

Are there any plugins or addons that currently do this? If no such feature is available, I am going to start developing a basic front-end that would do this.

Thanks.
- Nisrak
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Per my other note, please consider writing a patch. There are no plugins to date that include this functionality. I might suggest a js based slider to either replace the timespan selector, but to use it's fields to rebuild the graphs. You simply have to take the date-time contained within the slider and make it be the time range for the zoom.

That is what the begin and end dates are for in the timespan selector. There is also the time shifter. However, both can be a bit of an annoyance to use, and I agree the the zooming feature would be nice.

The zoom.js is pretty complex, and getting this to work with multiple graphs visible, would be a bitch, to say the least.

If you do decide to do a patch, do it against trunk and not the 0.8.7 branch.

Regards,

TheWitness
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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:Per my other note, please consider writing a patch.
Please can you give some insight into whether the roadmap on the website is actually current? I have a couple of things that I wouldn't mind writing patches for, but last time I started down that road a new Cacti release came out and it was all a waste of time.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Howie,

We are trying to get 0.8.8 out the door. If someone writes a patch, that's viable, it can alter the roadmap as it saves us the work. However, when writing those patches, you have to stay in touch with a dev as a patch sponsor.

We want to release 0.8.8 this year. We have only a few minor and a few major issues to overcome. We are closer than ever before. At least it works right now.

TheWitness
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?
nisrak
Posts: 40
Joined: Tue Dec 30, 2008 9:22 pm
Location: Hawaii

Post by nisrak »

Thanks for the advice. I will begin trying to design the feature I would like to create and look into the implementation details. Are there instructions on interfacing with Cacti for developing patches?

I was considering making the simplest page I could by just embedding the pages of multiple zoomable graphs side-by-side on a single page and then somehow extracting the zoom parameters and updating the whole page when the user zooms on any of the graphs. I will make a mock-up of my ideas on the interface for this feature and post it here for any advice/input on design or implementation.

Thanks.
- Nisrak
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Start by installing Trunk somewhere. If you can get beyond that, stay in touch.

TheWitness
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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Howie wrote:
TheWitness wrote:Per my other note, please consider writing a patch.
Please can you give some insight into whether the roadmap on the website is actually current? I have a couple of things that I wouldn't mind writing patches for, but last time I started down that road a new Cacti release came out and it was all a waste of time.
Would you please mind posting a list of those features? We are planning a dev phone conference soon. So if it is there at that time, we may discuss those topics as well. If you do not want to post them to the forum, please post to any dev member
Reinhard
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

gandalf wrote:
Howie wrote:
TheWitness wrote:Per my other note, please consider writing a patch.
Please can you give some insight into whether the roadmap on the website is actually current? I have a couple of things that I wouldn't mind writing patches for, but last time I started down that road a new Cacti release came out and it was all a waste of time.
Would you please mind posting a list of those features? We are planning a dev phone conference soon. So if it is there at that time, we may discuss those topics as well. If you do not want to post them to the forum, please post to any dev member
Reinhard
One was to extend graph trees to accept other data - text blocks, url links, url embeds, images and things supplied by plugins (e.g. weathermap for me, but monitor/manage/thold too). It would allow a nicer presentation to a customer of all their cacti data, not just graphs. I did part of this stuff once before and then a new release came out.

The other was to write some documentation about writing plugins.

I think I'll be sticking to other things for now though - looking at the 4.ccc minutes, there are lots of things changing right now.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Howie wrote:One was to extend graph trees to accept other data - text blocks, url links, url embeds, images and things supplied by plugins (e.g. weathermap for me, but monitor/manage/thold too). It would allow a nicer presentation to a customer of all their cacti data, not just graphs. I did part of this stuff once before and then a new release came out.
This popped up at 4.CCC as well. Same applies to plugin docs. Latter one will be part of 088 docs as plugin arch is part of 088.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests