[mrtg] Modifying SNMP Input Values

Stephen Brennan spbrennan at bigpond.com
Sun Jun 17 07:47:42 MEST 2001


Hi All,

    Just a quick one. I am monitoring the disk usage on some of our Win2K
systems however Microsoft only exposes the number of blocks used on a device
as opposed the bits/bytes, etc. Luckily they also expose the block size in
bytes as a seperate OID. I am currently using factor[] to modify values at
the base of the graph however I want to know if there is anyway of applying
this "factor" to the graph as well? because at present the values at the
bottom reflect the correct value I want (~10.8GB) however the graph displays
the number of blocks (~2.7GB) which is the block size not the byte size I
need.

Here is an excert from my config.

[--------]
Options[^]: nopercent, growright
#---------------------------------------------------------------
# Current Disk Usage
#
# Disk Size (in blocks): .1.3.6.1.2.1.25.2.3.1.5.2
# Total Bloacks Used:  .1.3.6.1.2.1.25.2.3.1.6.2
# Block Size:   .1.3.6.1.2.1.25.2.3.1.4.2
#---------------------------------------------------------------
Target[mwsydstl1_disk_usage]:
.1.3.6.1.2.1.25.2.3.1.6.2&.1.3.6.1.2.1.25.2.3.1.6.2:public at xxx.xxx.xxxxxx
MaxBytes[mwsydstl1_disk_usage]: 36372967424
Factor[mwsydstl1_disk_usage]: 4096
Options[mwsydstl1_disk_usage]: gauge
Title[mwsydstl1_disk_usage]: Disk Usage -- MWSYDSTL1
PageTop[mwsydstl1_disk_usage]: <H1>Disk Usage -- MWSYDSTL1</H1>
[--------]

Anyhelp would be greatly appreciated.

Regards
Stephen Brennan


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