Comments (2)
how to config multiple fritzboxes and groupe in munin
no matter if one login account for all boxes or different accounts
As all here, I have one fritzbox as router (with wifi), 7490. Since I deploy a Debian-based NAS (OpenMediaVault6) I would like to monitor this fritzbox with these plugins and munin. Despite the miserable documentation part 'installation' as far as details are concerned, it's easy. Only because I found the old 'Update README' https://github.com/oe73773/fritzbox-munin#installation--configuration I was able to run monitoring for at least four fritzboxes >=06.87.
Two years ago I configured a bunch of elder fritzboxes as 'real' access point (IP-Client-Modus, the yellow RJ45 row is a switch, one cable connects to the LAN for the backhaul) for around 20 people and it works fine, including a concept of permissions and access control. Only fritzbox _traffic, _wifi_devices, _cpu_temperature, _cpu_usage, _memory_usage are expected from the access points. _traffic is expected empty, because the switch carries the backhaul into the LAN.
The errors from misconfig above, like server = os.environ["fritzbox_ip"] KeyError: 'fritzbox_ip'
, I solved with the afore mentioned old 'Update README' and found the correct configuration of the plugins for munin now.
Starting with the three access points >= 06.87 out of seven (some very old ones)
**fw41-7390os0687**
**fw42-7272os0688** fw43-7270v3os0606
**fw44-7272os0688** fw45-7270v3os0606
fw46-3270v3os0554 fw47-3131os0457
now I really have all used five plugins broken_wifi_devices _cpu_usage _traffic _cpu_temperature _memory_usage
No problems I expected with 7390 listed compatible and 7272 with os06.88, but surprise, surprise. Any help or bugfixing is appreciated.
from fritzbox-munin.
Resolved [*]:4949 to [::]:4949, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Binding to TCP port 4949 on host :: with IPv6
Setting gid to "0 0"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56822" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56836" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56824" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56818" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56846" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:56858" Local: "[::ffff:127.0.0.1]:4949"
2023/01/11-00:00:04 [143010] Error output from fw41_wifi_devices:
2023/01/11-00:00:04 [143010] Couldn't retrieve connected fritzbox wifi devices
2023/01/11-00:00:04 [143010] Service 'fw41_wifi_devices' exited with status 1/0.
2023/01/11-00:00:04 [143012] Error output from fw44_cpu_usage:
2023/01/11-00:00:04 [143012] Couldn't retrieve fritzbox cpu usage
2023/01/11-00:00:04 [143012] Service 'fw44_cpu_usage' exited with status 1/0.
2023/01/11-00:00:05 [143011] Error output from fw42_wifi_devices:
2023/01/11-00:00:05 [143011] Couldn't retrieve connected fritzbox wifi devices
2023/01/11-00:00:05 [143011] Service 'fw42_wifi_devices' exited with status 1/0.
2023/01/11-00:00:05 [143010] Error output from fw41_traffic:
2023/01/11-00:00:05 [143010] Couldn't retrieve fritzbox traffic
2023/01/11-00:00:05 [143010] Service 'fw41_traffic' exited with status 1/0.
tail: /var/log/munin/munin-node.log: Datei abgeschnitten
2023/01/11-00:00:08 [143010] Error output from fw41_cpu_usage:
2023/01/11-00:00:08 [143010] Couldn't retrieve fritzbox cpu usage
2023/01/11-00:00:08 [143010] Service 'fw41_cpu_usage' exited with status 1/0.
2023/01/11-00:00:09 [143012] Error output from fw44_wifi_devices:
2023/01/11-00:00:09 [143012] Couldn't retrieve connected fritzbox wifi devices
2023/01/11-00:00:09 [143012] Service 'fw44_wifi_devices' exited with status 1/0.
2023/01/11-00:00:10 [143010] Error output from fw41_cpu_temperature:
2023/01/11-00:00:10 [143010] Traceback (most recent call last):
2023/01/11-00:00:10 [143010] File "/etc/munin/plugins/fw41_cpu_temperature", line 62, in <module>
2023/01/11-00:00:10 [143010] get_cpu_temperature()
2023/01/11-00:00:10 [143010] File "/etc/munin/plugins/fw41_cpu_temperature", line 36, in get_cpu_temperature
2023/01/11-00:00:10 [143010] data = json.loads(xhr_data)
2023/01/11-00:00:10 [143010] File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
2023/01/11-00:00:10 [143010] return _default_decoder.decode(s)
2023/01/11-00:00:10 [143010] File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
2023/01/11-00:00:10 [143010] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2023/01/11-00:00:10 [143010] File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
2023/01/11-00:00:10 [143010] raise JSONDecodeError("Expecting value", s, err.value) from None
2023/01/11-00:00:10 [143010] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023/01/11-00:00:10 [143010] Service 'fw41_cpu_temperature' exited with status 1/0.
2023/01/11-00:00:11 [143012] Error output from fw44_memory_usage:
2023/01/11-00:00:11 [143012] Couldn't retrieve fritzbox memory usage
2023/01/11-00:00:11 [143012] Service 'fw44_memory_usage' exited with status 1/0.
2023/01/11-00:00:12 [143011] Error output from fw42_cpu_usage:
2023/01/11-00:00:12 [143011] Couldn't retrieve fritzbox cpu usage
2023/01/11-00:00:12 [143011] Service 'fw42_cpu_usage' exited with status 1/0.
2023/01/11-00:00:12 [143010] Error output from fw41_memory_usage:
2023/01/11-00:00:12 [143010] Couldn't retrieve fritzbox memory usage
2023/01/11-00:00:12 [143010] Service 'fw41_memory_usage' exited with status 1/0.
2023/01/11-00:00:14 [143012] Error output from fw44_cpu_temperature:
2023/01/11-00:00:14 [143012] Traceback (most recent call last):
2023/01/11-00:00:14 [143012] File "/etc/munin/plugins/fw44_cpu_temperature", line 62, in <module>
2023/01/11-00:00:14 [143012] get_cpu_temperature()
2023/01/11-00:00:14 [143012] File "/etc/munin/plugins/fw44_cpu_temperature", line 36, in get_cpu_temperature
2023/01/11-00:00:14 [143012] data = json.loads(xhr_data)
2023/01/11-00:00:14 [143012] File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
2023/01/11-00:00:14 [143012] return _default_decoder.decode(s)
2023/01/11-00:00:14 [143012] File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
2023/01/11-00:00:14 [143012] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2023/01/11-00:00:14 [143012] File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
2023/01/11-00:00:14 [143012] raise JSONDecodeError("Expecting value", s, err.value) from None
2023/01/11-00:00:14 [143012] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023/01/11-00:00:14 [143012] Service 'fw44_cpu_temperature' exited with status 1/0.
2023/01/11-00:00:14 [143011] Error output from fw42_cpu_temperature:
2023/01/11-00:00:14 [143011] Traceback (most recent call last):
2023/01/11-00:00:14 [143011] File "/etc/munin/plugins/fw42_cpu_temperature", line 62, in <module>
2023/01/11-00:00:14 [143011] get_cpu_temperature()
2023/01/11-00:00:14 [143011] File "/etc/munin/plugins/fw42_cpu_temperature", line 36, in get_cpu_temperature
2023/01/11-00:00:14 [143011] data = json.loads(xhr_data)
2023/01/11-00:00:14 [143011] File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
2023/01/11-00:00:14 [143011] return _default_decoder.decode(s)
2023/01/11-00:00:14 [143011] File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
2023/01/11-00:00:14 [143011] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2023/01/11-00:00:14 [143011] File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
2023/01/11-00:00:14 [143011] raise JSONDecodeError("Expecting value", s, err.value) from None
2023/01/11-00:00:14 [143011] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023/01/11-00:00:14 [143011] Service 'fw42_cpu_temperature' exited with status 1/0.
2023/01/11-00:00:16 [143011] Error output from fw42_memory_usage:
2023/01/11-00:00:16 [143011] Couldn't retrieve fritzbox memory usage
2023/01/11-00:00:16 [143011] Service 'fw42_memory_usage' exited with status 1/0.
from fritzbox-munin.
Related Issues (20)
- Can't see graphs
- Model: FRITZ!Box 7272 HOT 1
- 7581 with FRITZ!OS: 07.01 not showing wifi connections
- Enable monitoring of Powerline Adapters Possible?
- 3490 whit OS 7.01 not working the WAN Traffic. HOT 4
- Labor Firmware kills most munin stats: 07.08-65238 BETA HOT 9
- FB 7590 (7.10) and FB 6490 (7.02) HOT 4
- ValueError: No JSON object could be decoded HOT 2
- AVM FritzBox integration in LibreNMS HOT 1
- fixed two scripts, others are still not working
- Create symbolic links to /etc/munin/plugins HOT 1
- Internet > DSL Information
- fritzbox 7490 - sections not working HOT 5
- FB 7430, os 06.83: FC expects JSON, gets XML.
- OS 7.25 requires username HOT 2
- Invalid syntax in fritzbox_helper.py HOT 4
- WAN traffic shows the same value for in and out HOT 2
- Wifi devices broken for Fritzbox 7412 with firmware 06.86 HOT 3
- monitoring mehrerer FritzBoxen mit >07.xx und >06.8x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fritzbox-munin.