[mrtg] Re: Disk Utilization

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Feb 17 00:34:36 MET 2001


Martinez, Samson wrote:

> The disk is a 2Gig drive and the space available is 1.6Gig. However, the
> graph always throws a k in front of the space available. For example, it
> says I have 1.6 kMb available. How can I fix that? Many thanks for all
> assistance.

The OIDs you described obviously return space in semi-megabytes.
First thing to do is to let MRTG know you don't want the real thing
but rather the 1024 bytes per kilo variant.  If memory serves well,
this is "Kilo[target]: 1024" (but do check this in the docs).

Then, you need to tweak MRTG so that it knows about the "M".
Normally, MRTG works with bytes, not megabytes. Either multiple
the incoming value by 1024*1024 or alter the kMG values to
display alternative prefixes (so your "kMB" would become "GB").
In essence this tells MRTG that you already have "mega"s and if
you do it right, all prefixes will be okay.  Again if memory
serves well:
"kMG[Target]: M,G,T,P,E" together with "ShortLegend[Target]: B"
This would display "MB" where MRTG would normally display "B",
"GB" where normally "kB" and so on.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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