[rrd-users] Re: GAUGE graphs (router memory)

Nikolaos Abatzis nabatzis at blackboard.com
Thu Feb 15 15:12:54 MET 2001


I wonder if it does not like you using the same name in you DEF for inlet as
well as the name of the data set (DS)...

Maybe that is why you are not getting the legend as  well !!
 -----Original Message-----
From: 	Oliver Cook [mailto:ollie at uk.clara.net] 
Sent:	Thursday, February 15, 2001 9:17 AM
To:	Nikolaos Abatzis
Cc:	rrd-users at list.ee.ethz.ch
Subject:	Re: [rrd-users] GAUGE graphs (router memory)

Dear Nikolaos,

Thanks for your response. However, it's not the timeframe that I think is
the problem. After all, as you say, the default is 24 hours, and that was
the data I showed from the "rrdtool fetch..."

I tried it with "-s -86400" just to force it but that didn't change
anything.

Thanks for your input though! I hope I can find out how to do this!

Cheers,

Ollie

On Thu, Feb 15, 2001 at 08:58:07AM -0500, Nikolaos Abatzis wrote:
> Hi oliver , try using the time specification, -s or -e as when you are
doing
> the fetch. The default is present time - 24 hours I think, and if you do
not
> have data at that pointing time obviously your graph will be empty !!!
> 
> Hope this helps..
> 
> Nikolaos Abatzis
> Consultant
> Blackboard Inc
> 1899 L Street, NW
> Washington, DC 20036
> phone: (202)  463-4860 x.542
> 
> Blackboard - Bringing Education Online
> Create your FREE CourseSite at ww.Blackboard.com today
> 
>  -----Original Message-----
> From: 	Oliver Cook [mailto:ollie at uk.clara.net] 
> Sent:	Thursday, February 15, 2001 9:02 AM
> To:	rrd-users at list.ee.ethz.ch
> 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: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

-- 
Oliver Cook    Systems Administrator, ClaraNET
ollie at uk.clara.net      020 7903 3000 ext. 291

--
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