<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font color="#000000">Steve,</font><BR><font color="#000000"></font> <BR><font color="#000000">Pardon my ignorance. How were you able to convert the 'signed' integer of <span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>-268468737 to an unsigned value of <span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>4026498559? If I can do that with a  bash script, I'm halfway home!</span></span></font><BR><font color="#000000"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'></span></span></font> <BR><font color="#000000"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'></span></span></font> <BR><font color="#000000"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>Thanks,</span></span></font><BR><font color="#000000"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>~Christian</span></span></font><BR><br> <BR><div><hr id="stopSpelling">From: s.shipway@auckland.ac.nz<br>To: n8tgc@msn.com<br>CC: mrtg@lists.oetiker.ch<br>Subject: RE: [mrtg] SNMP Disk Space Negative Values<br>Date: Tue, 25 Nov 2014 22:46:58 +0000<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxEmailStyle18 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Your E: drive is insanely huge at 15TB.  Possibly something is using signed integers when it should be using unsigned… </span></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>The </span><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>-268468737 </span><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>value is a signed representation for the unsigned integer </span><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'>4026498559 (convert to hex and get 0xEFFF7DFF in both cases); multiply the unsigned value by the cluster size and you get your 15TB.  Something is using an unsigned integer when it should be signed, or vice-versa.</span><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif";'></span></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Steve</span></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p><div><p class="ecxMsoNormal"><b><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>Steve Shipway</span></b></p><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 10pt;'>s.shipway@auckland.ac.nz</span></p></div><p class="ecxMsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: currentColor currentColor currentColor blue; padding: 0cm 0cm 0cm 4pt;"><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0cm 0cm;"><p class="ecxMsoNormal"><b><span lang="EN-US" style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'>From:</span></b><span lang="EN-US" style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'> mrtg [mailto:mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] <b>On Behalf Of </b>Christian Arnaut<br><b>Sent:</b> Wednesday, 26 November 2014 11:05 a.m.<br><b>To:</b> mrtg@lists.oetiker.ch<br><b>Subject:</b> [mrtg] SNMP Disk Space Negative Values</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style='font-family: "Calibri","sans-serif";'>Am attempting to use MRTG to monitor disk space on a Windows Server as I have done on multiple servers and workstations in the past. However, this time the local storage capacity on the local drive partition is nearly 15TB. <br> <br>It appears that I have exceeded an SNMP threshold where the integer values are now negative numbers. For example to monitor total space on the C: drive I used (simplified)... iso.3.6.1.2.1.25.2.3.1.4.2 * iso.3.6.1.2.1.25.2.3.1.6.2<br> <br></span><span style='font-family: "Calibri","sans-serif"; font-size: 10pt;'>iso.3.6.1.2.1.25.2.3.1.3.2 = STRING: "C:\\ Label:"<br>iso.3.6.1.2.1.25.2.3.1.3.4 = STRING: "E:\\ Label:"<br>iso.3.6.1.2.1.25.2.3.1.4.2 = INTEGER: 4096<br>iso.3.6.1.2.1.25.2.3.1.4.4 = INTEGER: 4096<br>iso.3.6.1.2.1.25.2.3.1.5.2 = INTEGER: 10350335<br>iso.3.6.1.2.1.25.2.3.1.5.4 = INTEGER: -268468737<br>iso.3.6.1.2.1.25.2.3.1.6.2 = INTEGER: 6261795<br>iso.3.6.1.2.1.25.2.3.1.6.4 = INTEGER: -527400222</span><span style='font-family: "Calibri","sans-serif";'><br> <br>With the E: drive, iso.3.6.1.2.1.25.2.3.1.4.4 correctly shows the cluster size (4096). However, I am sure the total number of clusters isn't '-527400222'. Even if I used the absolute value of 527400222, the numbers don't add up to the 15TB partition size. <br> <br>Any suggestions? Or have I reached the limitation of MRTG for the purpose I am looking for?<br> <br> <br>Thank you, in advance, for any assistance!<br><br>~Christian</span></p></div></div></div></div>                                      </div></body>
</html>