[rrd-users] One little Newbie Question

Cornelius Bartke bartke at strato-rz.de
Tue Dec 4 14:55:02 CET 2007


clinder 04.12.2007 13:59:
> Nobody has an idea? :(

Try passing the commandline arguments and values seperately:
RRDs::create($rrd, '--step', 60, ...)

-Cornelius


> 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



More information about the rrd-users mailing list