[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),
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.

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