<div dir="ltr"><div>OS: Debian/testing</div><div>mrtg:  2.17.4</div><div><br></div><div><br></div>I am trying to collect data for disk space usage using the following:<div><br></div><div><div>####</div><div>#### Disk Usage</div>
<div>####                                                                                                                                       Target[localhost.du]: 1.3.6.1.2.1.25.2.3.1.5.40&amp;1.3.6.1.2.1.25.2.3.1.6.40                                     Title[localhost.du]:   Used disk space                                                                                       MaxBytes[localhost.du]: 4209180                                                                                             PageTop[localhost.du]: &lt;H1&gt; Used disk space &lt;/H1&gt;                                                               LegendI[localhost.du]:  Disk Space Available                                                                             LegendO[localhost.du]:  Used Disk Space                                                                                 Legend1[localhost.du]:  Disk Space Available                                                                           Legend2[localhost.du]:  Used Disk Space                                                                                 YLegend[localhost.du]:                                                                                                           kilo[localhost.du]: 1024                                                                                                           kMG[localhost.du]: ,,k,M,G,T,P             </div>
<div><br></div><div><br></div><div><br></div><div>I get the following result:</div><div><br></div><div>2013-09-19 22:42:45: ERROR: Target[localhost.du][_IN_] &#39;1.3.6.1.2.1.25.2.3.1.5.40&amp;1.3.6.1.2.1.25.2.3.1.6.40&#39; evaluated to &#39;(&#39; instead of a number<br>
</div><div>2013-09-19 22:42:45: ERROR: Target[localhost.du][_OUT_] &#39;1.3.6.1.2.1.25.2.3.1.5.40&amp;1.3.6.1.2.1.25.2.3.1.6.40&#39; evaluated to &#39;(&#39; instead of a number<br></div><div><br></div><div><br></div><div>
If I use SNMP from the CLI I get:</div><div><br></div><div>prompt% snmpget -v2c -c public localhost 1.3.6.1.2.1.25.2.3.1.5.40<br></div><div>HOST-RESOURCES-MIB::hrStorageSize.40 = INTEGER: 4664409<br></div><div><br></div><div>
<br></div><div>Where is the &#39;(&#39; coming from as mentioned in the error message ?  Why am I getting that instead of the integer that is its value ? </div><div><br></div><div><br></div><div><br></div><div>cheers,</div>
<div><br></div><div><br></div><div>        mehul</div><div><br></div>-- <br>Mehul N. Sanghvi<br>email: <a href="mailto:mehul.sanghvi@gmail.com">mehul.sanghvi@gmail.com</a>
</div></div>