You need to give it a time frame to graph - As an example, use the -start -86400 to graph the past 24 hours.. Just like when you use rrdtool fetch.
-Chris ----- Christopher S. Marlow AIX Infrastructure / 24x7 Security Burlington, VT Phone: 802-769-3253 Tie line: 446-3253 e-mail: [EMAIL PROTECTED] Oliver Cook <[EMAIL PROTECTED]>@mutare.noc.clara.net> on 02/15/2001 09:02:02 AM Sent by: Ollie Cook <[EMAIL PROTECTED]> To: [email protected] cc: Subject: [rrd-users] GAUGE graphs (router memory) Hi, 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, Cheers, Ollie -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
