[rrd-users] GAUGE graphs (router memory)

Oliver Cook ollie at uk.clara.net
Thu Feb 15 15:02:02 MET 2001


I am having a little trouble with rrdtool 1.0.28. I am trying to graph the memory usage in some of our routers, and having successfully setup traffic monitoring, thought this would not be a problem.

I setup the RRD as follows:

/usr/local/rrdtool/bin/rrdtool create ../rrd/temperature.rrd --step 300 DS:inlet
:GAUGE:600:U:U DS:outlet:GAUGE:600:U:U RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:240
0 RRA:MAX:0.5:12:2400 RRA:AVERAGE:0.5:12:2400  

And can verify that data is going into this RRD (via a perl script):

/usr/local/rrdtool/bin/rrdtool fetch ../rrd/temperature.rrd AVERAGE -s -3000
                    inlet        outlet

 982242300: 1.8000000000e+01 2.5000000000e+01
 982242600: 1.8000000000e+01 2.5000000000e+01
 982242900: 1.8000000000e+01 2.5000000000e+01
 982243200: 1.8000000000e+01 2.4006666667e+01
 982243500: 1.8000000000e+01 2.4993333333e+01
 982243800: 1.8000000000e+01 2.5000000000e+01
 982244100: 1.8000000000e+01 2.5000000000e+01
 982244400: 1.8000000000e+01 2.5000000000e+01
 982244700: 1.8000000000e+01 2.5000000000e+01
 982245000: 1.8000000000e+01 2.5000000000e+01
 982245300: 1.8000000000e+01 2.5000000000e+01
 982245600: NaN NaN                                       

However, when I try to generate a graph of these data:

/usr/local/rrdtool/bin/rrdtool graph ../temP-day.gif -t "Temperature" DEF:inlet=../rrd/temperature.rrd:inlet:AVERAGE DEF:exhaust=../rrd/temperature.rrd:outlet:AVERAGE AREA:inlet:#00FF00:"Inlet" LINE1:exhaust:#0000FF:"Exhaust" 

All that it generates is a blank graph. The axes are there with the correct values (in this case, bottom=10, top=25). However, there are no lines or areas, nor a legend.

Any help would be most gratefully received,



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