<font size=2 face="Adobe Serif MM">Sorry its been a while since I've touched
my MRTG config stuff since I configured it originally.</font>
<br>
<br><font size=2 face="Adobe Serif MM">But I think the Target line should
look like this:</font>
<br>
<br><font size=2 face="Adobe Serif MM"><b>SNMP v1:</b></font>
<br><font size=3 face="Adobe Serif MM"> Target[<b>192.168.1.1</b>]<b>:</b>
1.3.6.1.2.1.25.2.3.1.5.40<b>&</b>1.3.6.1.2.1.25.2.3.1.6.40<b>:public@192.168.1.1:</b></font>
<br>
<br><font size=3 face="Adobe Serif MM"><b>SNMP v2:</b></font>
<br><font size=3 face="Adobe Serif MM"> Target[<b>192.168.1.1</b>]<b>:</b>
1.3.6.1.2.1.25.2.3.1.5.40<b>&</b>1.3.6.1.2.1.25.2.3.1.6.40:<b>public@192.168.1.1:::::2</b></font>
<br><font size=3 face="Adobe Serif MM"><b>
|---> Don't forget the 5 ":"
at the end of the line and the "2" for SNMP version 2 if that's
what your using</b></font>
<br>
<br>
<br><font size=3 face="Adobe Serif MM">Let me know if that works..?</font>
<br>
<br><font size=3 face="Adobe Serif MM">Thanks,</font>
<br><font size=3 face="Adobe Serif MM">Matt</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Mehul Sanghvi <mehul.sanghvi@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif"><mrtg@lists.oetiker.ch></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/19/2013 10:59 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">[mrtg] Target
not evaluating to number</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif"><mrtg-bounces+mmartin=jwpepper.com@lists.oetiker.ch></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>OS: Debian/testing</font>
<br><font size=3>mrtg: 2.17.4</font>
<br>
<br>
<br><font size=3>I am trying to collect data for disk space usage using
the following:</font>
<br>
<br><font size=3>####</font>
<br><font size=3>#### Disk Usage</font>
<br><font size=3>####
Target[localhost.du]: 1.3.6.1.2.1.25.2.3.1.5.40&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]:
<H1> Used disk space </H1>
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
</font>
<br>
<br>
<br>
<br><font size=3>I get the following result:</font>
<br>
<br><font size=3>2013-09-19 22:42:45: ERROR: Target[localhost.du][_IN_]
'1.3.6.1.2.1.25.2.3.1.5.40&1.3.6.1.2.1.25.2.3.1.6.40' evaluated to
'(' instead of a number</font>
<br><font size=3>2013-09-19 22:42:45: ERROR: Target[localhost.du][_OUT_]
'1.3.6.1.2.1.25.2.3.1.5.40&1.3.6.1.2.1.25.2.3.1.6.40' evaluated to
'(' instead of a number</font>
<br>
<br>
<br><font size=3>If I use SNMP from the CLI I get:</font>
<br>
<br><font size=3>prompt% snmpget -v2c -c public localhost 1.3.6.1.2.1.25.2.3.1.5.40</font>
<br><font size=3>HOST-RESOURCES-MIB::hrStorageSize.40 = INTEGER: 4664409</font>
<br>
<br>
<br><font size=3>Where is the '(' coming from as mentioned in the error
message ? Why am I getting that instead of the integer that is its
value ? </font>
<br>
<br>
<br>
<br><font size=3>cheers,</font>
<br>
<br>
<br><font size=3> mehul</font>
<br>
<br><font size=3>-- <br>
Mehul N. Sanghvi<br>
email: </font><a href=mailto:mehul.sanghvi@gmail.com><font size=3 color=blue><u>mehul.sanghvi@gmail.com</u></font></a><font size=3>
</font><tt><font size=2>_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
</font></tt><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg"><tt><font size=2>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</font></tt></a><tt><font size=2><br>
</font></tt>
<br>