My home network is not the network normal people have. I have 2 different locations which are booth equipped with Zyxel USG Firewalls and a Site-to-Site VPN. I do my Synology Backups into the other location or use the Smart Home over booth places. Often my mother in law (she is living in one of the locations too) is telling me that the network is not good. With this error message it is not very easy to discover the problem. Sometimes it is the internet itself but often it is the wifi or even her internet radio device (Bose Soundtouch) . After installing a RaspberryPi with the speedtest-cli its starting to get easier for me to discover if the internet is slow. But i want more 🙂 So I started to use Zabbix. Zabbix is an Open-Source-Network-Monitoring-System. It is similar to Nagios but gives you the opportunity to manage everything over the web-interface. So my basic plans are:
Install Zabbix on my Synology with Docker
Install Zabbix Proxy on a RaspberryPi for the second location
Create Backup from Zabbix Database
1 Install Zabbix on my Synology with Docker (via Terminal, if you want to do it with the GUI please follow this LINK. First you have to create the folders in the Folder „/volume1/docker/Zabbix/“. If you are using more than one Volume please make sure that you have the correct path. Create then Zabbix folder in the docker folder. Then download this folder-preset DOWNLOAD and load them into the Zabbix folder. Now you can access your Synology via SSH an copy following command.
Now you can login to the Zabbix Webinterface using the Synology IP and the port 10050 <Synology-IP>:10050
Username: Admin Passwort: zabbix
Connecting to the Zabbix Docker via bash is able with following command:
docker exec -ti Zabbix-Server /bin/bash
Getting the logs with following
docker logs Zabbix-Server
Backup the Database: The most important settings are all stored in the Database. The easiest and most secure way to save them is to export all the Data at a specific time and store them on the Synology Raid. Please do not forget to follow this help LINK
With a Zabbix Proxy you can monitore a network remote without having access to the lokal network from your Zabbix Server. If you are using hardware which can use Docker I would recommend to install it with this script DOWNLOAD. Then you can use following command. Do not forget to change ZBX_HOSTNAME=“you have to set this name in the Zabbix Server too „ ZBX_SERVER_HOST=“IP Adress of the Zabbix Server“
If you want to use a RaspberryPi you have to install it without Docker. Here is my solution for a fast install including the setup for the agent Download Do not forget to change ZabbixDestinationServer=“10.210.0.50″ ZabbixProxyHostName=“2105-Proxy-01
Change 2020 07 16 After getting a lots of „[file:dbconfig.c,line:94] zbx_mem_malloc(): out of me mory “ Errors while starting the stopped Zabbix Server I recognised that it will be an issue with the Cache so i added „-e ZBX_CACHESIZE=1000M“ to the Zabbix Server command
Using „HyperBackup“ to create Backups is the best and easiest way to save all your data and settings on your Synology. Finding a target to backup is not that easy. You can buy an other Synology Produkt or set up an Linux Server. My Solution is a Raspberry Pi with Raspbian / Raspberry Pi OS and an external USB Drive attached. Installing and mounting the USB drive has to be done before you can use this help to install the RSYNC-Server.
Mount your external device and make sure that it will be always mounted automatically after restarts. In our example we use the path /mnt/USBDevice
First you have to install the rsync service, use following command:
sudo apt-get install rsync
After the successful installation you can change following config file. /etc/default/rsync you can do this by typing
Now you can login to your Synology and Download the HyperBackup in the Package Center and add a new Data Backup task
Choose „rsync“ as option an clock on Next
Now you can choose „rsync-compatible server“ add the IP address, user and password. When you click on the Backup Module you should get the same name you have set in the /etc/rsyncd.conf file. Follow the the next steps like you want to have it.
Typical Error Messages:
„Authentication failed. Please check your authentication credentials“
Make sure that you have the right password and that you have created the same local user.
Failed to establish the SSH connection. Please make sure that your credentials are correct, the SSH service of the destination server is normal, and the 2-step verfication is not enabled before trying again.
May you have the wrong Port. Make sure that you use 873.
Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.