[mrtg] Re: Creating an NT Cfgmaker for Logical Drives

john.hoffman at za.pwcglobal.com john.hoffman at za.pwcglobal.com
Thu Oct 26 12:56:45 MEST 2000




Sarah,

I found the best method is to use GETIF and walk the MIB you mentioned -
(1.3.6.1.4.1.311.1.1.3.1.1.5).

The problem with the CFGMAKER, is determining how many Logical drives have been
created on the individual servers.

I then used the Available Disk Space, together with the % Free on the same
graph.

Examples below;

 #---------------------------------------------------------------
# Drive C:
Target[ServerName.drvc]:1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.6.48.58.48.58.67.58&1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.6.48.58.48.58.67.58:Community at X.X.X.X
RouterUptime[ServerName.drvc]: Community at X.X.X.X
MaxBytes[ServerName.drvc]: 1271028000
Title[ServerName.drvc]: Disk Space Remaining (MB) ServerName Drive C:
PageTop[ServerName.drvc]: <H1>Disk Space Remaining (MB) ServerName Drive C:
 <BR>(<font color="#00CC00">Disk Space Available C: </font>/<font
color="#1000ff"> % Disk Space Available C:</font>)</H2>
 <TABLE>
   <TR><TD>System:</TD><TD>ServerName</TD></TR>
   <TR><TD>Maintainer:</TD><TD> XXXXXXXXXXXXXXX </TD></TR>
   <TR><TD>IP:</TD><TD>X.X.X.X</TD></TR>
  </TABLE>
#Unscaled[ServerName.drvc]:ymwd
#WithPeak[ServerName.drvc]:ymwd
ShortLegend[ServerName.drvc]: &nbsp
XSize[ServerName.drvc]: 380
YSize[ServerName.drvc]: 100
YLegend[ServerName.drvc]: HDD Avail
Legend1[ServerName.drvc]: Disk Space Available in MBytes
Legend2[ServerName.drvc]: % Disk Space Available
Legend3[ServerName.drvc]: Maximal 5 Minute Disk Space Available
Legend4[ServerName.drvc]: Maximal 5 Minute % Disk Space Available
LegendI[ServerName.drvc]: &nbsp; MB Free
LegendO[ServerName.drvc]: &nbsp; % Free
Options[ServerName.drvc]: gauge, nopercent, growright, unknaszero

#---------------------------------------------------------------
# Drive D:
Target[ServerName.drvd]:1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.6.49.58.49.58.68.58&1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.6.49.58.49.58.68.58:Community at X.X.X.X

Hope this helps,

Regards

John




Sarah Woerdeman <swoerdeman at fbfs.com> on 25/10/2000 06:44:24 PM



To:   mrtg at list.ee.ethz.ch
cc:
Subject:  [mrtg] Creating an NT Cfgmaker for Logical Drives
 Size: 4 Kb






I am wanting to hack the cfgmaker so that it will index the logical drives for
NT machine. There is an ldisklogicalDiskTable (1.3.6.1.4.1.311.1.1.3.1.1.5) just
as there is a table for interface entries. Has anyone done this, or could anyone
point me in the right direction. Thanks!



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



----------------------------------------------------------------
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material.  Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited.   If you received this in error, please
contact the sender and delete the material from any computer.



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