Previous Day/Week/Time overlay

Anything that you think should be in Cacti.

Moderators: Moderators, Developers

Post Reply
Author
Message
Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Previous Day/Week/Time overlay

#1 Post by Soup » Mon Mar 04, 2013 1:20 pm

Wondering if their is a way to overlay the previous data points onto a current graph.

For example, If I was viewing a 6h graph for an interface today, and I wanted to see how that data compared to the previous week/day at the same time...

victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Previous Day/Week/Time overlay

#2 Post by victorantunes » Mon Mar 04, 2013 2:06 pm

One idea is to simply select a different time range on the Graphs' screen and open it on another browser tab (ctrl + click on the right/left arrows)

It may not be as pretty, but it works and takes you about 5 seconds
Attachments
range_picker.png
range_picker.png (7.04 KiB) Viewed 2184 times

Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Re: Previous Day/Week/Time overlay

#3 Post by Soup » Tue Mar 05, 2013 12:47 pm

That's what I'm doing now to get around it.

Was hoping someone has written a plugin that does the overlay.

I don't even know if it's possible to do with RRD

victorantunes
Cacti User
Posts: 111
Joined: Fri Sep 28, 2012 6:52 pm

Re: Previous Day/Week/Time overlay

#4 Post by victorantunes » Tue Mar 05, 2013 5:10 pm

While it can be done using RRDTool, I'm almost certain Cacti doesn't support it

AFAIK, it was somewhat scheduled to be launched on 0.8.8, but never made it


Take a look at this: http://www.springsurprise.com/2011/10/2 ... n-rrdtool/

If you really need this kind of functionality, maybe you could give it a shot by doing it yourself

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Previous Day/Week/Time overlay

#5 Post by gandalf » Wed Mar 06, 2013 3:09 pm

next cacti version will support SHIFT feature of rrdtool. This should get you what you need
R.

Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Re: Previous Day/Week/Time overlay

#6 Post by Soup » Mon Mar 11, 2013 10:17 am

Great news! Thanks

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Previous Day/Week/Time overlay

#7 Post by gandalf » Tue Mar 12, 2013 3:46 pm

Code is already in. In case you want to verify, please use latest branch/0.8.9
R.

Post Reply