[rrd-users] One little Newbie Question
tobi at oetiker.ch
Tue Dec 4 15:37:10 CET 2007
note that you database only stres hires data for 1 hour, if you ask
it for data over a longer periode (fetch without arguments will do
that) it will resort to the lower resolution rra to fill you
Today Hans-Joachim Ehlers wrote:
> Maybe another way around:
> Check ganglia - http://www.ganglia.info/ - and see how it uses rrdtool. It might give some good ideas ?
> >>> clinder <clinder at uni-muenster.de> 04/12/2007 13:59 >>>
> Nobody has an idea? :(
> I still don't know
> clinder wrote:
> > Hi everyone,
> > my boss wants me to raise up a network monitoring system so i just started
> > with rrdtool a few days ago.
> > i read a lot of tutorials and documentation but there are a lot of
> > questions left. here is one of them.
> > 1. i use the perl module RRDs to access and fetch the database. i created
> > my test DB with:
> > RRDs::create($DB, "--step=60",
> > "DS:cpu-load:GAUGE:66:U:U",
> > "RRA:MAX:0.5:1:60",
> > "RRA:MAX:0.5:60:24",
> > "RRA:MAX:0.5:1440:7",
> > ) or die $RRDs::error;
> > so everybody can see that rdd's stepsize is 60 sec. right?
> > Now i tried to fetch some data with:
> > my ($start, $step, $names, $data) =
> > RRDs::fetch($DB, "MAX");
> > printing $step says: stepsize would be 3600
> > Why?
> > thanks a lot in advance
> > Chris
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the rrd-users