[mrtg] [FORGED] Won't work after reboot

Aizad Fauzi redsan at gmail.com
Fri Jun 5 04:37:34 CEST 2015


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
public at 192.168.1.1_     Name    br-lan  6
public at 192.168.1.1_     Name    eth0    2
public at 192.168.1.1_     Name    eth1    3
public at 192.168.1.1_     Name    lo      1
public at 192.168.1.1_     Name    pppoe-wan       8
public at 192.168.1.1_     Name    wlan0   15
public at 192.168.1.1_     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 <s.shipway at auckland.ac.nz>
wrote:

> 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'
>
>
>
> 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*
>
> s.shipway at auckland.ac.nz
>
> (GNU Terry Pratchett)
>
>
>
> *From:* Aizad Fauzi [mailto:redsan at gmail.com]
> *Sent:* Friday, 5 June 2015 1:39 p.m.
> *To:* Steve Shipway
> *Cc:* mrtg at lists.oetiker.ch
> *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
> 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
>
>
>
>
>



-- 
Regards,
Aizad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150605/1dd9957a/attachment-0001.html>


More information about the mrtg mailing list