[rrd-users] road block reached.

Derek Belrose derek at omegabyte.com
Fri Nov 1 02:49:24 MET 2002


Hey guys, here's a good one for you:
 
I have mrtg set up to store minutely data in rrdtool using this setup:
            my $minhb = int($$cfg{interval} * 60)*2;
            $minhb = 600 if ($minhb <600);
            my @args = ($rrd, '-b', $time-10, '-s', int($interval * 60),
                         "DS:ds0:$up_abs:$minhb:0:$absi",
                         "DS:ds1:$up_abs:$minhb:0:$abso",
                         "RRA:AVERAGE:0.5:1:1440",
                         "RRA:AVERAGE:0.5:10:1008",
                         "RRA:AVERAGE:0.5:60:768",
                         "RRA:AVERAGE:0.5:1440:797",
                         "RRA:AVERAGE:0.5:1:1440",
                         "RRA:AVERAGE:0.5:10:1008",
                         "RRA:AVERAGE:0.5:60:768",
                         "RRA:AVERAGE:0.5:1440:797");
 
Now, I need to get the data from the last 31 days only.rrdtool fetch
file.rrd AVERAGE -start Oct 31 reports back about 800 usable values
(lots of nan, I messed up reporting a couple times).  
 
I'm trying to do a 95% report.what I'm doing is dropping these into an
array, and sorting them.I realized that these numbers were much larger
at the end.  Obviously it won't give me back EVERY value.  Is there a
way, using my current setup that I can find out how many data points
there really are, and how to remove the top 5% of them?
 
Any help will be greatly appreciated.
 
Derek


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list