Hi Steve, The /usr/sbin/mrtg is run by crontab. Even I run it manually after reboot, it will always shows the error.
This is my mrtg.ok file. This is setup from scratch [email protected]_ Name br-lan 6 [email protected]_ Name eth0 2 [email protected]_ Name eth1 3 [email protected]_ Name lo 1 [email protected]_ Name pppoe-wan 8 [email protected]_ Name wlan0 15 [email protected]_ Name wlan1 16 after reboot and run "mrtg mrtg.conf" the OK file with show wlan0 and wlan1 as Dup Thanks. On Fri, Jun 5, 2015 at 10:27 AM, Steve Shipway <[email protected]> wrote: > 2015-06-05 09:37:12: WARNING: Can not determine ifNumber for > [email protected]: ref: 'Name' key: 'wlan0' > > 2015-06-05 09:37:12: WARNING: Can not determine ifNumber for > [email protected]: ref: 'Name' key: 'wlan1' > > > > This means that the interfaces do not yet exist; possibly you are querying > them before they are initialised? Also, make sure to delete any .ok file > that might be caching out of date information before you run. > > > > Steve > > > > *Steve Shipway* > > [email protected] > > (GNU Terry Pratchett) > > > > *From:* Aizad Fauzi [mailto:[email protected]] > *Sent:* Friday, 5 June 2015 1:39 p.m. > *To:* Steve Shipway > *Cc:* [email protected] > *Subject:* Re: [FORGED] [mrtg] Won't work after reboot > > > > Hi, > > > > A few informations ; > > Using OpenWrt on device and MRTG/SNMPD installed on the router itself. > > Error thrown after reboot as following ; > > > > using -ifref=name to capture the device name instead of Interface Number. > > > > 2015-06-05 09:37:12: WARNING: Can not determine ifNumber for > [email protected]: ref: 'Name' key: 'wlan0' > > 2015-06-05 09:37:12: WARNING: Can not determine ifNumber for > [email protected]: ref: 'Name' key: 'wlan1' > > 2015-06-05 09:37:12: ERROR: Target[192.168.1.1_wlan0][_IN_] ' > $target->[3]{$mode} ' did not eval into defined data > > 2015-06-05 09:37:12: ERROR: Target[192.168.1.1_wlan0][_OUT_] ' > $target->[3]{$mode} ' did not eval into defined data > > 2015-06-05 09:37:12: ERROR: Target[192.168.1.1_wlan1][_IN_] ' > $target->[5]{$mode} ' did not eval into defined data > > 2015-06-05 09:37:12: ERROR: Target[192.168.1.1_wlan1][_OUT_] ' > $target->[5]{$mode} ' did not eval into defined data > > > > > -- Regards, Aizad
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
