Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 1:53 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Viewing the current and previous week together
PostPosted: Fri Feb 29, 2008 12:00 pm 
Offline

Joined: Wed Feb 13, 2008 3:41 pm
Posts: 2
Hi all,
I'm interested in displaying in the same graph one line for the current time and one line for the previous week. It's pretty simple to do it in RRDTool:
DEF:thisweek=router.rrd:ds0:AVERAGE
DEF:lastweek=router.rrd:ds0:AVERAGE:end=now-1w:start=end-1w
(pasted from http://oss.oetiker.ch/rrdtool/doc/rrdgr ... es.en.html)

So basically, what I need to do is add some string after the Consolidation Function (AVERAGE/LAST/MIN/MAX) string. Unfortunately, I could not find how to do that when creating a graph template in Cacti. :(

Any help would be very appreciated!

Thanks a lot,
--fizz


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 12:21 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
This feature is currently not supported by cacti.
What comes nearest is the timeshifter, e.g. shift the current graph(s) one week back and forth in time. But it will reload the graphs and you'll only see either current OR previous week.
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 1:48 pm 
Offline

Joined: Wed Feb 13, 2008 3:41 pm
Posts: 2
Thanks for you reply gandalf.
Can I possibly develop an addon or anything like that which would help me do it?

Thanks,
--fizz


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 01, 2008 6:17 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
This would be a plugin. See http://www.cactiusers.org for help
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group