Tafkas / fritzbox-munin

A collection of munin plugins to monitor your AVM FRITZ!Box router
GNU General Public License v2.0
148 stars 36 forks source link

WAN traffic shows the same value for in and out #55

Open thombook opened 3 years ago

thombook commented 3 years ago

WAN traffic shows the same value for in and out for me on a FB 7580 with latest Firmware 7.25 - other Graphs seem correct. Running Munin on a Debian 10 Buster, installed python modules are:

Package Version


asn1crypto 0.24.0 certifi 2018.8.24 chardet 3.0.4 cryptography 2.6.1 distro-info 0.21 fritzconnection 1.4.2 httplib2 0.11.3 idna 2.6 lxml 4.6.3 pip 21.0.1 prettytable 0.7.2 pycrypto 2.6.1 pycurl 7.43.0.2 PyGObject 3.30.4 PyJWT 1.7.0 PySimpleSOAP 1.16.2 python-apt 1.8.4.3 python-debian 0.1.35 python-debianbts 2.8.2 reportbug 7.5.3-deb10u1 requests 2.25.1 setuptools 40.8.0 six 1.12.0 unattended-upgrades 0.1 urllib3 1.24.1

Graph looks like this:

Bildschirmfoto 2021-04-27 um 07 27 14

any help greatly appreciated. Please let me know what else do you need.

thombook commented 3 years ago

had a look into the files and found the issue in fritzbox_traffic.py where up_traffic = fs.bytes_received. I assume it should be fs.bytes_sent instead.

Tafkas commented 3 years ago

Hi @thombook, good catch. I'll fix it as soon as possible.