« Return to Thread: One little Newbie Question

Re: One little Newbie Question

by Tobias Oetiker-3 :: Rate this Message:

Reply to Author | View in Thread

Chris,

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
request ...

cheers
tobi

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 ?
>
> regards
> Hajo
>
>
> >>> clinder <clinder@...> 04/12/2007 13:59 >>>
>
> Nobody has an idea? :(
>
> I still don't know
>
> Chris
>
>
>
> 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@... ++41 62 213 9902

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

 « Return to Thread: One little Newbie Question