[mrtg] MRTG Disk Space Usage Problem

Peter Reuschlein peter at reuschlein.de
Tue Nov 13 10:18:09 CET 2007


Good morning together,

Maybe someone in this ML can help me ;)
I am currently trying to set up snmpd with mrtg and getting the  
following problem when trying to get the current diskSpace Percentage  
in mrtg

Tuesday, 13 November 2007 at 8:59: ERROR: Target[spaceroot][_IN_]  
'1.3.6.1.4.1.2021.9.1.9. $target->[2]{$mode} ' evaluated to '??  
       5462690' instead of a number
Tuesday, 13 November 2007 at 8:59: ERROR: Target[spaceroot][_OUT_]  
'1.3.6.1.4.1.2021.9.1.9. $target->[2]{$mode} ' evaluated to '??   
              4426368' instead of a number

Works fine with smtpget ->
[root at station95 mrtg]# snmpget -v1 -c guests 192.168.0.95   
1.3.6.1.4.1.2021.9.1.9.2
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 29

And here my code vor mrtg:

Target[spaceroot]: 1.3.6.1.4.1.2021.9.1.9.2:guests at 192.168.0.95
Unscaled[spaceroot]: ymwd
PageTop[spaceroot]: <H1>Space von / </H1>
MaxBytes[spaceroot]: 10000000
Title[spaceroot]: Space von /
Ylegend[spaceroot]: Diskspace
Options[spaceroot]: growright, gauge, nopercent, integer

I tried it with serveral options, also some other ways i found on the  
net but i didnt get it working.
Mrtg itself works some lines before im getting a query to the eth0  
traffic, that works fine ;)

Someone an idea where that ??        5462690 comes from?


Thanks in advance

Peter




-----
mfg Peter Reuschlein
Need my key?
-> gpg --keyserver pgp.mit.edu --recv-key B36B6FB9



More information about the mrtg mailing list