I'm curious if Cacti can do this...
Say for example you have a 10-minute polling cycle and data is stored in the RRD at this interval. For example, below is two hours worth of data...each is a count of <whatever> happening during that 10 minute interval:
1: 5
2: 8
3: 9
4: 3
5: 13
6: 13
7: 4
8: 4
9: 5
10: 10
11: 8
12: 3
So, a very simple graph. Now, the question is...if I wanted to see the count on a per-hour basis...can this be done? Note that I'm NOT looking for the average for each hour. More examples, please let me know what can be done:
Example #1: Just show the graph with a new granularity, set to 1 hour (instead of 10 minutes). I assume this would just show an average:
1: 8.5 = (5+8+9+3+13+13) / 6
2: 5.6 = (4+4+5+10+8+3) / 6
Example #2: This is the one I really need. Instead of just showing the graph with less granularity, I want to be able to show the total count for each entire hour:
1: 51 = 5+8+9+3+13+13
2: 34 = 4+4+5+10+8+3
Thoughts?
Thanks,
AL
Changing Granularity on-the-fly...
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Sat Jun 03, 2006 6:58 pm
- Contact:
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Simple approach: create a CDEF that multiplies by 6 (in this example) More to be found at http://www.vandenbogaerdt.nl/rrdtool/total.php
Reinhard
Code: Select all
CDEF=CURRENT_DATA_SOURCE,6,*
Reinhard
-
- Posts: 3
- Joined: Sat Jun 03, 2006 6:58 pm
- Contact:
-
- Posts: 3
- Joined: Sat Jun 03, 2006 6:58 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 4 guests