[mrtg] issue with snmp and mrtg on debian etch.
Sandro Tosi
matrixhasu at gmail.com
Thu Jul 10 13:55:46 CEST 2008
Hello,
On Thu, Jul 10, 2008 at 13:37, thefinn <thefinn12345 at gmail.com> wrote:
> After installing both the snmpd and mrtg packages I am getting the
> following output when trying to poll the ethernet information from snmpd.
May you please report the version of the packages you've installed?
>
> thefinn:/etc/snmp# env LANG=C /usr/bin/mrtg
> SNMP Error:
> Received SNMP response with error code
> error status: noSuchName
> index 2 (OID: 1.3.6.1.2.1.2.2.1.16.2)
> SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
> community: "*removed*"
> request ID: 1369057062
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> at /usr/share/perl5/SNMP_util.pm line 490
> SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
> public at localhost::::::v4only
> at /usr/bin/mrtg line 2043
> 2008-07-10 21:38:27: ERROR: Target[thefinn.hackwith.us.eth0][_IN_] '
> $target->[0]{$mode} ' did not eval into defined data
> 2008-07-10 21:38:27: ERROR: Target[thefinn.hackwith.us.eth0][_OUT_] '
> $target->[0]{$mode} ' did not eval into defined data
>
>
> # Global configuration
> WorkDir: /var/www/html/mrtg
> WriteExpires: Yes
>
> Title[^]: Traffic Analysis for
> Target[thefinn.hackwith.us.eth0]: 2:public at localhost
> Xsize[thefinn.hackwith.us.eth0]: 600
> Ysize[thefinn.hackwith.us.eth0]: 200
> Ytics[thefinn.hackwith.us.eth0]: 10
> MaxBytes[thefinn.hackwith.us.eth0]: 1250000
> Background[thefinn.hackwith.us.eth0]: #738AA6
> Title[thefinn.hackwith.us.eth0]: thefinn.hackwith.us
> (thefinn.hackwith.us.): eth0
> PageTop[thefinn.hackwith.us.eth0]: <H1>Traffic Analysis for
> thefinn.hackwith.us eth0</h1>
Did you give a look at[1] to verify if this bug has already been
reported? The problem could be even in perl/snmp perl libs.
Thanks in advance,
Sandro
[1] http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=mrtg
--
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the mrtg
mailing list