[mrtg] SNMP OID target readout evaluates to rubish

Iwan i.schuurman at mendesgans.nl
Tue Feb 3 12:11:12 CET 2009


Hi all,

When I execute a SNMP OID target readout in MRTG it evaluates to into rubish
instead of an integer: 
C:\mrtg-2.16.2\bin>C:\Perl\bin\perl mrtg xxxxxxxxxxxxxx.cfg
2009-02-03 11:14:06: ERROR: Target[xxxxxxxxxxxxxxxx][_IN_]
'1.3.6.1.4.1.9.9.109.1.1.1.1.5. $target->[0]{$mode} ' evaluated to '☺♥♠☺♦☺
m☺☺☺☺♣24 8224863' instead of a number 2009-02-03 11:14:06: ERROR:
Target[xxxxxxxxxxxxxxxx][_OUT_] '1.3.6.1.4.1.9.9.109.1.1.1.1.5.
$target->[0]{$mode} ' evaluated to '☺♥♠☺♦☺ m☺☺☺☺♣56 4185708' instead of a
number 

Reading out the same OID with snmpwalk works fine:
C:\mrtg-2.16.2\bin>snmpwalk -c xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
1.3.6.1.4.1.9.9.109.1.1.1.1.5
cisco.ciscoMgmt.ciscoProcessMIB.ciscoProcessMIBObjects.cpmCPU.cpmCPUTotalTable.cpmCPUTotalEntry.cpmCPUTotal5min.1
: Gauge32: 3 

Am I bumping into any restrictions on OID depth here? 

Thanks in advance for your help! 

Regards,

Iwan. 
-- 
View this message in context: http://n2.nabble.com/SNMP-OID-target-readout-evaluates-to-rubish-tp2262754p2262754.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.



More information about the mrtg mailing list