[mrtg] Problem with mrtg and snmpd on FreeBSD

Moriarty mrmoriarty at eircom.net
Fri Nov 8 22:01:19 MET 2002


I recently compiled a new kernel for FreeBSD 4.7 stable and ever since i
havent been able to get it working. It generates the stats for xl0
( (3com 905c nic) perfectly, which is first in the config, but the
mrtg process breaks with the below error message when trying to make the
stats for the wireless device wi0 ( (Avaya 802.11b nic). I had
this setup running fine until an unrelated program needed changes to the
kernel. Anyhow, heres the error generated when i run mrtg..

<Start of error>

[/] # /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 4 (OID:
SNMPv1_Session (remote host: "" [].161)
                  community: "public"
                 request ID: -1443298192
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 458
SNMPGET Problem for ipAdEntIfIndex. ifInOctets.6
ipAdEntIfIndex. ifOutOctets.6 sysUptime sysName on
public at
 at /usr/local/bin/mrtg line 1601
WARNING: skipping because at least the query for ipAdEntIfIndex. on did not succeed
ERROR: Target[wireless][_IN_] ' $$target[1]{$mode} ' did not eval into
defined data
ERROR: Target[wireless][_OUT_] ' $$target[1]{$mode} ' did not eval into
defined data
WARNING: Skipping Update of wireless, inlast is not defined
WARNING: Skipping Update of wireless, outlast is not defined
[/] #

<End of error>

The config file has not been changed since it was working. Any other info
required that could be of help in figuring out this problem is also
available, but i dont want to paste out a lot of stuff that may be totally

Any help on how to get mrtg going again greatly appreciated..


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

More information about the mrtg mailing list