On Tue, 2009-02-03 at 18:07 +0100, Iwan Schuurman wrote: > Hello again, > > Just upgraded perl to v5.10.0 build 1004 [287188]. Unfortunately without any > positive results.
My guess is that your community string contains some character that needs to be escaped. > > Regards, > > Iwan. > > -----Original Message----- > From: Iwan Schuurman > Sent: Tuesday, February 03, 2009 4:47 PM > To: 'McDonald, Dan' > Subject: RE: [mrtg] SNMP OID target readout evaluates to rubish > > Hi Dan, > > Thanks for your suggestions. > > The thing is, I am already using the specific instance in the configuration > file: > Target[xxxxxxxxxxxxxx_cpu]: > 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1:xxxxxxxxxxxx...@xxxxxxxxxxxxxxxxx: > > Which works fine with snmpget: > C:\mrtg-2.16.2\bin>snmpget -c xxxxxxxxxxxxx xxxxxxxxxxxxx > 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 > cisco.ciscoMgmt.ciscoProcessMIB.ciscoProcessMIBObjects.cpmCPU.cpmCPUTotalTable.cpmCPUTotalEntry.cpmCPUTotal5min.1 > : Gauge32: 2: > > I also tried the "cpmCPUTotal5minRev" oid: > C:\mrtg-2.16.2\bin>snmpget -c xxxxxxxxxxxxx xxxxxxxxxxxxx > 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 > cisco.ciscoMgmt.ciscoProcessMIB.ciscoProcessMIBObjects.cpmCPU.cpmCPUTotalTable.cpmCPUTotalEntry.cpmCPUTotal5minRev.1 > : Gauge32: 3 > > The cause of this problem might be related to the stone age perl version > (5.6.1) we're using. > I am upgrading now and will inform you about the outcome. > > Regards, > > Iwan. > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of McDonald, Dan > Sent: Tuesday, February 03, 2009 2:43 PM > To: [email protected] > Subject: Re: [mrtg] SNMP OID target readout evaluates to rubish > > On Tue, 2009-02-03 at 03:11 -0800, Iwan wrote: > > 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 -- Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.austinenergy.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
