[mrtg] Re: Simple doubt about max disk size....

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Thu Jul 25 16:11:48 MEST 2002


Marcio,

The size is in blocks. The maximum size can be found with a MIB-browser.
(.1.3.6.1.2.1.25.2.3.1.5.<instance>)
Be aware that the number of bytes/block can change from one disk to
another: I have servers with 512bytes/block, 4096bytes/block and even
65536bytes/block on their disks. The number of bytes/block can also be
found with the MIB-browser (.1.3.6.1.2.1.25.2.3.1.4.<instance>)

Jan.



-----Original Message-----
From: Marcio Teixeira Ferreira [mailto:mferreira at amt.com.br] 
Sent: Thursday, July 25, 2002 3:32 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Simple doubt about max disk size....



Allright, to monitor disk usage of a win2000 server, I am using the
config template from somix:

microsoft_win2k_disk_util
Top of Form 1

# WIN2000 Disk Utilization. Based on MIB II Host MIB.
 # MIB reports on 4096 byte blocks. That is why we multiply by 4  #  #
Example CFGNAME : [DEVICE NAME]-microsoft_win2k_disk_util
 
 YLegend[$CFGNAME]: KBytes Used
 Options[$CFGNAME]: gauge, unknaszero
 Target[$CFGNAME]:
1.3.6.1.2.1.25.2.3.1.6.$INSTANCE&1.3.6.1.2.1.25.2.3.1.6.$INSTANCE:$COMMU
NITY@$IPADDRESS * 4
 MaxBytes[$CFGNAME]: $HDSIZE
 ShortLegend[$CFGNAME]: Blocks
 Legend1[$CFGNAME]: HDD Utilization
 Legend2[$CFGNAME]: .
 Legend3[$CFGNAME]: Max value per interval on graph
 Legend4[$CFGNAME]: .
 LegendI[$CFGNAME]: HDD Utilization
 LegendO[$CFGNAME]: .
 Colours[$CFGNAME]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
 WithPeak[$CFGNAME]: ymw
 Title[$CFGNAME]: $DEVICE
 PageTop[$CFGNAME]: <H1>$DEVICE</H1>
 
 
 # The following information allows you to perform some task(s)  #
whenever a minimum of maximum threshold has been breached  # In order to
activate this features, simply remove the # from the  # lines below.
 
 # ThreshMinI[$CFGNAME]: $THRESHOLDMIN
 # ThreshMaxI[$CFGNAME]: $THRESHOLDMAX
 # ThreshProgI[$CFGNAME]: BATCHLOCthreshold_in.bat
 # ThreshProgOKI[$CFGNAME]: BATCHLOCthreshold_oki.bat
 
 # ThreshMinO[$CFGNAME]: $THRESHOLDMIN
 # ThreshMaxO[$CFGNAME]: $THRESHOLDMAX
 # ThreshProgO[$CFGNAME]: BATCHLOCthreshold_out.bat
 # ThreshProgOKO[$CFGNAME]: BATCHLOCthreshold_oko.bat

Somix Technologies, Inc. <http://www.somix.com/>
Bottom of Form 1


but I am somewhat confused with one parameter:

MaxBytes[$CFGNAME]: $HDSIZE

this size must be in bytes, megabytes, block,...?
My disk has 20GB, wich value should I put there?

Thanks a lot in advance.


Marcio Teixeira Ferreira
Suporte - AMT

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