[mrtg] [FORGED] Won't work after reboot
Aizad Fauzi
redsan at gmail.com
Fri Jun 5 03:39:21 CEST 2015
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
public at 192.168.1.1: ref: 'Name' key: 'wlan0'
2015-06-05 09:37:12: WARNING: Can not determine ifNumber for
public at 192.168.1.1: 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 <s.shipway at auckland.ac.nz>
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*
>
> s.shipway at auckland.ac.nz
>
> (GNU Terry Pratchett)
>
>
>
> *From:* mrtg [mailto:mrtg-bounces+s.shipway=
> auckland.ac.nz at lists.oetiker.ch] *On Behalf Of *Aizad Fauzi
> *Sent:* Friday, 5 June 2015 8:18 a.m.
> *To:* mrtg at lists.oetiker.ch
> *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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150605/71c9f4cf/attachment-0001.html>
More information about the mrtg
mailing list