[mrtg] SNMP get problem.

Jan Hugo Prins jhp at jhprins.org
Tue Aug 30 08:54:36 MEST 2005


I'm trying to make some graphics of the temperature and the one other
value of 2 network modules (Laserbit Gigabit Pinto). There is an
application that is managing those systems and that is also a SNMP agent.

I can read all values with snmpwalk, but when I ask mrtg to give me those
values and make a nice plot of it I don't get anything. In debug mode I
see that it says something about a simple If (Interface?) 1 and then is
strips the last 1 from the first snmp string, at least that is what it
looks like to me.

I tested the same config file from linux and I got the same results.

Could someone please help me solve this problem?

Jan Hugo Prins

RunAsDaemon: no
Workdir: f:\userdata\iis\mrtg
EnableIPv6: no

Target[PiazaTemp]: at 130.14
4.215.238:::::2 MaxBytes[PiazaTemp]: 100
Options[PiazaTemp]: gauge, nopercent, absolute
YLegend[PiazaTemp]: Temperature laserbit Piaza
ShortLegend[PiazaTemp]: Temperature
WithPeak[PiazaTemp]: wmy
Title[PiazaTemp]: Laserbit Piaza
PageTop[PiazaTemp]: <H1>Laserbit Piaza</H1>

Target[MathildelaanTemp]: at 130.14
4.215.238:::::2 MaxBytes[MathildelaanTemp]: 100
Options[MathildelaanTemp]: gauge, nopercent, absolute
YLegend[MathildelaanTemp]: Temperature laserbit Mathildelaan
ShortLegend[MathildelaanTemp]: Temperature
WithPeak[MathildelaanTemp]: wmy
Title[MathildelaanTemp]: Laserbit Mathildelaan
PageTop[MathildelaanTemp]: <H1>Laserbit Mathildelaan</H1>

Target[PiazaDetector]: at 130.14
4.215.238:::::2 MaxBytes[PiazaDetector]: 100
Options[PiazaDetector]: gauge, nopercent, absolute
YLegend[PiazaDetector]: Detector level laserbit Piaza
ShortLegend[PiazaDetector]: Detector
WithPeak[PiazaDetector]: wmy
Title[PiazaDetector]: Laserbit Piaza
PageTop[PiazaDetector]: <H1>Laserbit Piaza</H1>

Target[MathildelaanDetector]: at 130.14
4.215.238:::::2 MaxBytes[MathildelaanDetector]: 100
Options[MathildelaanDetector]: gauge, nopercent, absolute
YLegend[MathildelaanDetector]: Detector level laserbit Mathildelaan
ShortLegend[MathildelaanDetector]: Detector
WithPeak[MathildelaanDetector]: wmy
Title[MathildelaanDetector]: Laserbit Mathildelaan
PageTop[MathildelaanDetector]: <H1>Laserbit Mathildelaan</H1>

C:\Program Files\mrtg\bin>perl mrtg laserbit.cfg2 --debug="snpo"
--snpo: run snmpget from


--snpo: simple If: .1
--snpo: simple If: .1
--snpo: SNMPGet from READSTRING at --,,sysUptime,sysName
SNMP Error:
no response received
SNMPv2c_Session (remote host: "" [].161)
                   community: "READSTRING"
                  request ID: 255616923
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 5
                     backoff: 1)
 at C:/Program Files/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 490
SNMPGET Problem for
sysUptime sysName on READSTRING at
 at mrtg line 1921
--snpo: SNMPfound -- 'undef', 'undef', 'undef', 'undef'
WARNING: skipping because at least the query for on did not succeed
WARNING: no data for at 130.144.21
5.238. Skipping further queries for Host in this round.
ERROR: Target[piazatemp][_IN_] ' $target->[0]{$mode} ' did not eval into
defined data
ERROR: Target[piazatemp][_OUT_] ' $target->[0]{$mode} ' did not eval into
defined data
ERROR: Target[mathildelaantemp][_IN_] ' $target->[1]{$mode} ' did not eval
into defined data
ERROR: Target[mathildelaantemp][_OUT_] ' $target->[1]{$mode} ' did not
eval into defined data
ERROR: Target[piazadetector][_IN_] ' $target->[2]{$mode} ' did not eval
into defined data
ERROR: Target[piazadetector][_OUT_] ' $target->[2]{$mode} ' did not eval
into defined data
ERROR: Target[mathildelaandetector][_IN_] ' $target->[3]{$mode} ' did not
eval into defined data
ERROR: Target[mathildelaandetector][_OUT_] ' $target->[3]{$mode} ' did not
eval into defined data

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list