[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_]
' $target->[0]{$mode} ' evaluated to '☺♥♠☺♦☺
m☺☺☺☺♣24 8224863' instead of a number 2009-02-03 11:14:06: ERROR:
Target[xxxxxxxxxxxxxxxx][_OUT_] '
$target->[0]{$mode} ' evaluated to '☺♥♠☺♦☺ m☺☺☺☺♣56 4185708' instead of a

Reading out the same OID with snmpwalk works fine:
C:\mrtg-2.16.2\bin>snmpwalk -c xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
: Gauge32: 3 

Am I bumping into any restrictions on OID depth here? 

Thanks in advance for your help! 


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