Compare graph for for same interface

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

Moderators: Developers, Moderators

Post Reply
Lashinkof
Posts: 3
Joined: Tue Oct 08, 2019 7:04 pm

Compare graph for for same interface

Post by Lashinkof »

I need to creat graph to compare the traffic for same interface the 1st line will be traffic for current week and the 2nd line for last week
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Compare graph for for same interface

Post by netniV »

I don't believe that is currently possible ... but I'll ask the rest of the team...

A way around doing this would be to use a script server script that populated a database, then took the date and time of query, plus the RRD file, and used RRDTool directy to pull out the data value from a week ago. Note, it wouldn't be a totally accurate value since that would be averaged depending on your various step values.

Another way, would be to have a database which held more than a weeks worth of values, pruning off the older ones so you can query against the last exact value at a timestamp equal to or just before a week ago. Again, that's not exactly a hard thing to put together but does mean duplication of data etc.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests