[rrd-users] data problem
Wendy Faulkner
faulkner at eco.utexas.edu
Wed Oct 31 16:18:37 MET 2001
I'm trying to emulate my other working rrdtool graphs but am having problems.
I created a rrd using:
rrdtool create daily.rrd --start 1004075000 --step 3600
DS:average:GAUGE:172000:U:U DS:mx:GAUGE:172000:U:U DS:mn:GAUGE:172000:U:U
RRD:MAX:0.5:24:775 RRA:MAX:0.5:24:775 RRA:MAX:0.5:24:775
Basically once a day I want to enter into a rrd an average, a max and a min
for the day. Currently I'm trying to enter some backlogged data, so I have a
perl script which generates lots of:
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004076000:18.7344262295082:107:0
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004162400:23.8481481481481:111:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004252400:23.8833333333333:109:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004338800:25.4833333333333:120:2
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004425200:24.6796296296296:170:2
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004598000:23.837037037037:112:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004684400:24.7925925925926:146:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004770800:25.0537037037037:117:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004857200:24.732302965449:123:1
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1004943600:25.7511111111111:120:3
/usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/ron/daily.rrd 1005030000:24.9014084507042:126:3
....
But rrdtool fetch daily.rrd MAX
gives me only
1004400000: 2.5483333333e+01 1.7000000000e+02 2.0000000000e+00
1004486400: NaN NaN NaN
1004572800: NaN NaN NaN
And when I try and graph it via:
/usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "seconds " DEF:del=daily.rrd:average:MAX LINE2:del#FF0000:"Average Time" DEF:rec=daily.rrd:mx:MAX LINE2:rec#000000:"Max time" DEF:bou=daily.rrd:mn:MAX LINE2:bou#0000FF:"Min time"
I get a blank graph.
I figure I'm doing something incredibly stupid that I just am not seeing, but
I can't figure it out. Any ideas? Thx.
W
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Wendy Faulkner Don't knock on Death's door.
faulkner at eco.utexas.edu Ring the bell and run away.
http://www.eco.utexas.edu/~faulkner He hates that.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list