On Wed, 2010-03-17 at 11:02 +1300, Steve Shipway wrote: > > MRTG is not able to identify a match for this.
This was all working hunky-dory at one time, not too long ago.
> I assume the interface actually exists at the moment?
Yes, most definitely:
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:66.11.173.224 P-t-P:192.168.200.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1
RX packets:41506 errors:0 dropped:0 overruns:0 frame:0
TX packets:44473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:6719582 (6.4 MiB) TX bytes:5437286 (5.1 MiB)
> Some systems will only create the interface in the SNMP when it is actually
> up. If this is the case then you don’t need to worry as you'll just get
> 'unknown's while the interface is down.
But indeed, it's not so this is not the case, unfortunately.
> Can you run MRTG to check while the interface is up?
It runs every 5 minutes, complaining each time:
2010-03-16 22:15:03: WARNING: Can not determine ifNumber for pub...@gw:
ref: 'Type' key: '23'
2010-03-16 22:15:04: ERROR: Target[gw_ppp0][_IN_] ' $target->[10]{$mode} ' did
not eval into defined data
2010-03-16 22:15:04: ERROR: Target[gw_ppp0][_OUT_] ' $target->[10]{$mode} ' did
not eval into defined data
and the interface has been up for 3 days now.
> What device is this gw box?
It's an "OpenWRT" router, which basically just means Linux box. It's
running net-snmp 5.4.2.1.
> It seems to be behaving oddly.
Indeed. No argument here on that. :-)
> I've only ever monitored a ppp interface on a Linux box and there it is
> permanently visible
Until now. :-)
Any other ideas? Any other info I can gather/debug given that you know
it's a Linux box now?
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
