First, try 733464633334 as your Maxbytes. Second, look at this answer: http://www.ee.ethz.ch/~slist/mrtg/msg24142.html I think that will answer your questions.
Hope that helps. -MannyO -----Original Message----- From: Tim Reimers [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 1:18 PM To: MRTG Mailing list Subject: [mrtg] Correct drive sizing in MRTG for a Win2k NAS server First, let me offer my thanks to Steve Shipman, who made suggestions that have gotten me closer to having accurate graphs... However, can anyone tell me why I'm not getting accurate math on drive sizing here? The below line is what's reported below a graph, the config below is what's creating it, and I've included some snmpwalks that show what is really being returned by SNMP. The returned values are _much_ closer in value, and if I multiply the hrStorageSize.4 by the hrStorageAllocationUnits.4 I get something that's not too far off from what Windows reports as the drive size (In Windows, right clicking on drive, Properties, gets about 768GB, whilst the math result of multiplying the two values above gives 733GB.) As you can see, for some reason MRTG thinks the drive is 683.1 GB, whilst SNMP returns 733GB (after math), which is _closer_.... Also, how do I get the percentages listed below to show the percentage of used space on the drive? (seeing it as percentage used would be a fast way to get the ultimate question 'how much space do I have left' answered... Max used: 683.1 GB (0.0%) Average used: 683.1 GB (0.0%) Current used: 683.1 GB (0.0%) Max Out: 586.3 GB (0.0%) Average Out: 570.7 GB (0.0%) Current Out: 572.2 GB (0.0%) Target[myserver]:.1.3.6.1.2.1.25.2.3.1.5.4&.1.3.6.1.2.1.25.2.3.1.6.4:commstr @myserver # SNMP reports 4096 byte allocation units Factor[myserver]: 4096 Pagetop[myserver]: myserver Title[myserver]: myserver E drive space MaxBytes[myserver]: 720000000000 Options[myserver]: gauge YLegend[myserver]: Space used ShortLegend[myserver]: B Legend1[myserver]: HDD Utilization Legend3[myserver]: Max utilisation LegendI[myserver]: used: kilo[myserver]: 1024 [EMAIL PROTECTED] root]# [EMAIL PROTECTED] root]# snmpwalk -c commstr -v 2c myserver .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntr y.hrStorageAllocationUnits.4 HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes [EMAIL PROTECTED] root]# [EMAIL PROTECTED] root]# snmpwalk -c commstr -v 2c myserver .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntr y.hrStorageSize.4 HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 179068514 [EMAIL PROTECTED] root]# [EMAIL PROTECTED] root]# snmpwalk -c commstr -v 2c myserver .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntr y.hrStorageUsed.4 HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 150008350 [EMAIL PROTECTED] root]# http://www.gordano.com - Messaging for educators. -- Unsubscribe mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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
