On Wed, May 21, 2008 at 07:45:32PM +0100, Lars Hecking wrote:
>
> One of them broke with the upgrade to 4.3, but I cannot figure out which.
>
> First of all, when upgrading mrtg, there were a few missing dependencies
> that required manual installation when I found mrtg didn't start
> (net/p5-Socket6 and net/p5-IO-INET6).
Correct, they're missing. I will fix those.
> MRTG is logging the following (I have replaced the actual IPs).
>
> 2008-05-21 19:34:19 -- 2008-05-21 19:29:21: WARNING: Could not match
> host:'[EMAIL PROTECTED]:' ref:'Ip' key:'OUTSIDE_IP'
> 2008-05-21 19:34:19 -- 2008-05-21 19:29:21: WARNING: Could not match
> host:'[EMAIL PROTECTED]:' ref:'Ip' key:'INSIDE_IP'
> 2008-05-21 19:34:19 -- 2008-05-21 19:34:19: ERROR:
> Target[localhost_OUTSIDE_IP][_IN_] ' $target->[0]{$mode} ' did not eval into
> defined data
> 2008-05-21 19:34:19 -- 2008-05-21 19:34:19: ERROR:
> Target[localhost_OUTSIDE_IP][_OUT_] ' $target->[0]{$mode} ' did not eval into
> defined data
> 2008-05-21 19:34:20 -- 2008-05-21 19:34:19: ERROR:
> Target[localhost_INSIDE_IP][_IN_] ' $target->[1]{$mode} ' did not eval into
> defined data
> 2008-05-21 19:34:20 -- 2008-05-21 19:34:19: ERROR:
> Target[localhost_INSIDE_IP][_OUT_] ' $target->[1]{$mode} ' did not eval into
> defined data
>
> I'm using net-snmp rather than snmpd because the latter doesn't yet
> support http://www.packetmischief.ca/openbsd/snmp/.
>
> When I create a new mrtg.cfg with "cfgmaker --ifref=ip [EMAIL PROTECTED]",
> all interfaces are commented out because
>
> ### The following interface is commented out because:
> ### * --ifref=ip is not unique for this interface
>
> When I run snmpwalk, the output looks very ok to, e.g. all the interface
> counters are there.
>
> Any ideas?
Never seen those myself, but I have not used cfgmaker for some time now.
f.-