[mrtg] Re: rrdtool fetch doesn't match graph

Bishop, Dean dean.bishop at tcdsb.org
Fri Oct 18 17:04:44 MEST 2002


no.  i wondered about this but it does not seem to be the case

i have been trying to figure out any standard difference but can't.

rrdtool		graph
used space	7.36G		6.86G		7366408Bytes
free space 93.41M		89.15M	93164Bytes

i just can't find the correlation.

thanks,
dean

--
dream outloud



-----Original Message-----
From: Matt Walkowiak [mailto:matt at inetdvd.com]
Sent: Friday, October 18, 2002 10:47 AM
To: Bishop, Dean
Subject: Re: [mrtg] rrdtool fetch doesn't match graph


ummm.... this is a complete WAG, but are you off by a factor of 8 anywhere?
Remember, MRTG's main job was to graph bandwidth traffic, and you may be
confusing your bits with your bytes...

Matt Walkowiak

----- Original Message -----
From: "Bishop, Dean" <dean.bishop at tcdsb.org>
To: <mrtg at list.ee.ethz.ch>
Sent: Friday, October 18, 2002 9:42 AM
Subject: [mrtg] rrdtool fetch doesn't match graph


>
> Good morning,
>
> i am using mrtg and rrdtool to store hard-drive space info.  The
> problem is that if i run rrdtool dump i get one number but the graph gives
> me another.
> i have messed around with the script, the factor and kilo options
> without solving the problem.
>
> Can someone please help??
>
> ######################################################################
> #                                                                    #
> # this is the disk used and free on /                   #
> #                                                                    #
> ######################################################################
> Target[diskspaceusedandfree]:  `perl -e '$f="%.0f";$fmt="$f\n$f\n1\nDisk
> Space Used and Free\n";@line=split " ", (qx(df));$o=sprintf
> $fmt,$line[9]*1000,$line[10]*1000;print $o; print STDERR $o'`
> Options[diskspaceusedandfree]: gauge
> MaxBytes[diskspaceusedandfree]: 8858784000000
> #ABSMax[diskspaceusedandfree]: 7858784000
> kMG[diskspaceusedandfree]: M,G,T,P,X
> YLegend[diskspaceusedandfree]: bytes
> Unscaled[diskspaceusedandfree]: ymwd
> ShortLegend[diskspaceusedandfree]:
> Legend1[diskspaceusedandfree]: Used
> Legend2[diskspaceusedandfree]: Free
> LegendI[diskspaceusedandfree]:  Disk Space Used
> LegendO[diskspaceusedandfree]:  Disk Space Free
> Title[diskspaceusedandfree]: Server Disk space used and Free on /
> PageTop[diskspaceusedandfree]: <H2>Server Disk Space Used and Free on
/</H2>
>
>
> ---snip from rrdtool dump diskspaceusedandfree.rrd----
> <!-- 2002-10-18 10:30:00 EDT / 1034951400 -->
> <row><v> 7.3661578400e+09 </v><v> 9.3414160000e+07 </v></row>
> </database>
> </rra>
> </rrd>
>
> thanks,
> dean
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list