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