[mrtg] Can not determine ifNumber for public at gw
Brian J. Murrell
brian at interlinx.bc.ca
Tue Mar 16 13:29:09 CET 2010
Since a recent upgrade to mrtg 2.16.2, when mrtg runs it complains:
2010-03-16 08:20:03: WARNING: Can not determine ifNumber for public at gw: ref: 'Descr' key: 'ppp0'
2010-03-16 08:20:04: ERROR: Target[gw_ppp0][_IN_] ' $target->[10]{$mode} ' did not eval into defined data
2010-03-16 08:20:04: ERROR: Target[gw_ppp0][_OUT_] ' $target->[10]{$mode} ' did not eval into defined data
I did some googling and one recommendation was to simply remove the "ok"
file. I believe on Ubuntu the "ok" file is /var/lib/mrtg/_etc_mrtg.cfg:
public at gw_ Descr br-lan 7
public at gw_ Descr eth0 2
public at gw_ Descr eth0.0 4
public at gw_ Descr eth0.1 5
public at gw_ Descr eth0.2 6
public at gw_ Descr eth1 3
public at gw_ Descr imq0 10
public at gw_ Descr imq1 11
public at gw_ Descr lo 1
public at gw_ Descr ppp0 Dup
public at gw_ Descr sit0 9
public at gw_ Descr sixxs 14
public at gw_ Descr tun0 13
public at gw_ Eth Dup
public at gw_ Eth 00-99-60-43-2f-1a Dup
public at gw_ Eth 10-11-18-10-02-4d 3
public at gw_ Eth 41-a1-c4-90-10-01 14
...
Is that correct?
I have tried removing that file and it simply gets recreated with the
exact same contents and the error messages persist.
Any other ideas?
Thanx!
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20100316/951106b2/attachment.pgp
More information about the mrtg
mailing list