[rrd-users] Problem in Updating RRD
Esteves, Gabriel
esteves at knmi.nl
Fri Apr 22 14:25:11 MEST 2005
Hi everyone,
I have this RRD. I'm using a perl script to create it.
RRDs::create( "$rrdfile",
"DS:value1:GAUGE:120:U:U",
"DS:value2:GAUGE:120:U:U",
"DS:value3:GAUGE:120:U:U",
"RRA:AVERAGE:0.5:1:60", # RRA for hours
"RRA:AVERAGE:0.5:5:288", # RRA for days
"RRA:AVERAGE:0.5:60:168", # RRA for weeks
"RRA:AVERAGE:0.5:240:180", # RRA for months
"RRA:AVERAGE:0.5:720:730" # RRA for years
);
But then when I do the update with some values that they are in $value5, $value10 and $value15 and they are correct because I tested them.
RRDs::update ( $rrdfile, "N:$value5:$value10:$value15");
But when I do the fetch: rrdtool fetch load.rrd AVERAGE -s -3600 I have this unwanted result:
1114160700: nan nan nan
1114161000: nan nan nan
1114161300: nan nan nan
1114161600: nan nan nan
1114161900: nan nan nan
1114162200: nan nan nan
1114162500: nan nan nan
1114162800: nan nan nan
1114163100: nan nan nan
1114163400: nan nan nan
1114163700: nan nan nan
1114164000: nan nan nan
1114164300: nan nan nan
1114164600: nan nan nan
Why? Can you help me?
Gabriel
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
--------------------------------------------------------------
Zie ook/see also: http://www.knmi.nl/maildisclaimer.html
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list