[mrtg] Re: turning off the number "reducing"

Brander, Eric Eric.Brander at ACS-INC.com
Sat Jul 27 00:17:19 MEST 2002


Ok so far this works, and doesn't look too screwy, thanks for the suggestion
Dennis.

~snip~
Title[ops_diskD]:OPS Disk Space on D
Pagetop[ops_diskD]: <H1>OPS Disk Space on D</H1>
MaxBytes[ops_diskD]: 1000000
Options[ops_diskD]: gauge, nopercent, growright
Target[ops_diskD]: `cscript //nologo drivespace.vbs \\ops\D$`
YLegend[ops_diskD]: bytes
ShortLegend[ops_diskD]: bytes
LegendO[ops_diskD]: &nbsp;Available:&nbsp
LegendI[ops_diskD]: &nbsp;Total:&nbsp
Legend2[ops_diskD]: Available
Legend1[ops_diskD]: Total Space
kMG[ops_diskD]: Mega,Giga,Tera,,
~snip~

And produces:
Current  Total:  51.2 Gigabytes 
Current  Available:  7092.0 Megabytes 

I'd still prefer it just kept it all Megabytes.. so if anyone knows the
answer, please shout it out!

TIA
Eric




-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Friday, July 26, 2002 5:09 PM
To: mrtg at list.ee.ethz.ch
Cc: 'denisa at mtlfab.com'
Subject: [mrtg] Re: turning off the number "reducing"



A reasonable attempt but the results are not really any better.

With the settings you suggested I ended up with a .cfg that looks like this:

~snip~
Title[ops_diskD]:OPS Disk Space on D
Pagetop[ops_diskD]: <H1>OPS Disk Space on D</H1>
MaxBytes[ops_diskD]: 1000000
Options[ops_diskD]: gauge, nopercent, growright
Target[ops_diskD]: `cscript //nologo drivespace.vbs \\ops\D$`
YLegend[ops_diskD]: bytes
ShortLegend[ops_diskD]: bytes
LegendO[ops_diskD]: &nbsp;Available:&nbsp
LegendI[ops_diskD]: &nbsp;Total:&nbsp
Legend2[ops_diskD]: Available
Legend1[ops_diskD]: Total Space
kMG[ops_diskD]: ,,M,,
~snip~

Which produces a result with the following in the legend:

~snip~ Current  Total:  51.2 bytes  
~snip~ Current  Available:  7094.0 bytes  


Here is the original configuration:

~snip~
Title[ops_diskD]:OPS Disk Space on D
Pagetop[ops_diskD]: <H1>OPS Disk Space on D</H1>
MaxBytes[ops_diskD]: 1000000
Options[ops_diskD]: gauge, nopercent, growright
Target[ops_diskD]: `cscript //nologo drivespace.vbs \\ops\D$`
YLegend[ops_diskD]: Megabytes
ShortLegend[ops_diskD]: Megabytes
LegendO[ops_diskD]: &nbsp;Available:&nbsp
LegendI[ops_diskD]: &nbsp;Total:&nbsp
Legend2[ops_diskD]: Available
Legend1[ops_diskD]: Total Space
~snip~

Which produces:

~snip~ Current  Total:  51.2 kMegabytes  
~snip~ Current  Available:  7092.0 Megabytes 


I'm looking for a way to get rid of MRTG's reducing altogether, so instead
of it saying 51.2 kMegabytes (or even Gbytes if corrected with the proper
kMG[_] setting) that it just report it as 51200 Megabytes.  For now I'll try
the kMG[_] thing once I figure out the proper spot to put the G. =)

TIA
Eric

-----Original Message-----
From: Denis [mailto:denisa at mtlfab.com]
Sent: Friday, July 26, 2002 4:58 PM
To: Brander, Eric
Subject: Re: [mrtg] turning off the number "reducing"


Try using :
ShortLegend[device]: Bytes
kMG[device]: ,,M,,

good luck


Brander, Eric wrote:

>In trying to chart disk space in Megabytes, MRTG seems to want to use
>kMegabytes instead of just displaying the full number.  For instance, I
have
>a drive with 40,000 megabytes free.  I want the page to display 40,000
>megabytes, but instead, it displays 40 kmegabytes.  The chart itself is
>displaying correctly, but the legend is being reduced to show that is 40 k
>(thousand) megabytes, and it prefixes the letter k to my word megabyte I
>have in the legend.  Any way to turn this "Reducing" off?
>
>TIA
>
>Eric Brander
>
>--
>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

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