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 On Fri, Jun 5, 2015 at 5:35 AM, Steve Shipway <[email protected]> wrote: > Most likely, after you reboot your router, your server still has not yet > re-established a wireless network connection when you run MRTG and so the > interface is not yet available to be queried. > > > > The other possibility is that your mrtg.cfg identifies the network > interfaces by number rather than by name, and a reboot causes a > reenumeration. > > > > Since you did not tell us the error messages in your initial post I can > only guess… > > > > Steve > > > > *Steve Shipway* > > [email protected] > > (GNU Terry Pratchett) > > > > *From:* mrtg [mailto:mrtg-bounces+s.shipway= > [email protected]] *On Behalf Of *Aizad Fauzi > *Sent:* Friday, 5 June 2015 8:18 a.m. > *To:* [email protected] > *Subject:* [FORGED] [mrtg] Won't work after reboot > > > > Hi, > > > > I am having issue with only wlan0 and wlan1 (2.5 & 5) for collecting data. > > Initial setup it was ok and running fine. If I reboot my router, both > wireless will having errors when I run "mrtg mrtg.conf" > > > > Other interface is ok such as ppp, eth0, eth1 and br-lan. > > > > Thanks & regards, > > > > > -- Regards, Aizad
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
