[mrtg] Problem with mrtg and snmpd on FreeBSD

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


Hi,

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
(10.4.3.10) (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 (10.4.1.20) (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: 1.3.6.1.2.1.2.2.1.16.6)
SNMPv1_Session (remote host: "10.4.3.10" [10.4.3.10].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.10.4.1.20 ifInOctets.6
ipAdEntIfIndex.10.4.1.20 ifOutOctets.6 sysUptime sysName on
public at 10.4.3.10:
 at /usr/local/bin/mrtg line 1601
WARNING: skipping because at least the query for ipAdEntIfIndex.10.4.1.20 on
10.4.3.10 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
irrelevant.

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

Moriarty


--
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