- Zabbix Server Version: 7
- Zabbix Sender Version: 6.4.7
This template is in development with Zabbix Server version 7. To get it working under Zabbix Server Version 6 just change the version key at the beginning. However they may not work properly.
- Create a user for monitoring (with settings permissions) in your FritzBox
- Copy the content from the docker-compose.yml file to your local `docker-compose.yaml`` file and fillout the environment variables. You can leave some blank to use defaults (see below).
- Download the Zabbix template file from template_fritz.box.xml and import it to your Zabbix Monitoring system (if you update, delete the old tempalte first)
- Create a host in zabbix with the same hostname from docker-compose.yml (FRITZBOX_HOSTNAME)
- Start your docker-compose file with docker-compose up -d
- You can check the container with docker-compose logsinto the same directory
- Please make sure that your passwords do not contain a dollar sign.
| Key | Default | Comment | 
|---|---|---|
| ZABBIX_SERVER | - | IP address of your Zabbix server | 
| ZABBIX_SERVER_PORT | 10051 | Custom port of your Zabbix server | 
| TLS_PSK_IDENTITY | (not used) | ID of the pre-shared-key to be used | 
| TLS_PSK_ | (not used) | Secret of the pre-shared-key | 
| INTERVAL | - | Check intervall | 
| FRITZBOX_HOSTNAME | - | Hostname of your FritzBox at the Zabbix Server | 
| FRITZBOX_IP | - | IP address of your FritzBox where it could be reached from this check service | 
| FRITZBOX_USER | - | User in your FritzBox for this check service | 
| FRITZBOX_PASSWD | - | Password in your FritzBox for this check service | 
| ZABBIX_SENDER_DEBUG | False | Switch to enable verbose logging | 
- git clone XX
- cd container
- docker build --no-cache -t fritzbox-zabbix-monitoring
For more information checkout the build file in this repo.
- Please create a simple issue here https://github.com/pthoelken/fritzbox-zabbix-monitoring/issues
fritzbox-zabbix-monitoring-fritzbox-zabbix-monitoring-1  | zabbix_sender [8]: ERROR: [line 1] 'Hostname' required
fritzbox-zabbix-monitoring-fritzbox-zabbix-monitoring-1  | Sending failed.
- This error can be solved by removing the " chars in your environment section from docker-compose.yml
- This error may comes up when you are using your AVM Device for a internal switch / access point instead for an normal internet router. I'm working on it to investigate this problem or create a fix.
https://hub.docker.com/r/pthoelken/fritzbox-zabbix-monitoring