[mrtg] issue with snmp and mrtg on debian etch.

thefinn thefinn12345 at gmail.com
Thu Jul 10 13:37:23 CEST 2008

After installing both the snmpd and mrtg packages I am getting the 
following output when trying to poll the ethernet information from snmpd.

Any help would be greatly appreciated. I've included my MRTG  config 
file at the bottom.

Thanks :)

thefinn:/etc/snmp# env LANG=C /usr/bin/mrtg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID:
SNMPv1_Session (remote host: "localhost" [].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>

More information about the mrtg mailing list