Synology / Zabbix / Docker with Virtual Machine

**** UPDATE 2022 02 24 – NEW Article with installing Zabbix direct on the Synology Docker ******
LINK

I got a lot of good feedback to my article „Synology Docker install ZABBIX Server with GUI„. Some of you asked if I can create a short installation guide for the 5x version.
This is not that easy because we can not use one docker container anymore with (database, Zabbix and web server) and the bigger problem is: We can not start the container on the Synology direct because the ports are in use by the system.
So the best way is to create a Virtual Machine using the Synology Virtual Machine Manager, install Ubuntu Server and then via docker-compose create your Zabbix Installation.

Prepare your System

Install Synology Virtual Machine Manager
Go to Package Center and search for Virtual Machine Manager install it 🙂
Download Ubuntu Server from the official Homepage as an iso and copy the iso to your Diskstation.

Create Virtual Machine

Go to Virtual Machine Manager > Virtual Machine and click on Create. Now follow the steps and add some more resources (depending how strong your Synology Diskstation is)

Virtual Machine Manager – Ressources

You do not need a lot of space but located at least 50 GB Space for the VM.

Now choose the Ubuntu Install ISO, which you have downloaded before. Turn on Autostart and follow the next Steps.

After the creation you can turn on the machine in the „Action Section“ and then connect via „Connect“ Button

Then follow the Ubuntu Installation steps but make sure that you install the SSH Server and install docker!

After the successful installation connect again, login and type

ip addr

now you know the address to connect to via ssh. Use

ssh username@ipaddress

and you can remote manage the VM. We have to install some packages type:

sudo apt-get install docker docker-compose nload htop qemu-guest-agent

type you password and answer the question with „Y“.

sudo mkdir -p /volume1/docker/Zabbix/database
sudo chmod -R 777 /volume1
cd /volume1/docker/Zabbix/
wget https://www.schaupper.at/Upload/Sonstiges/zabbix/docker-compose.yml
sudo service docker restart 
sudo docker-compose up -d

To install the system deamon so that after a restart everything is working please follow this help LINK.

Depending how much resources you gave the virtual machine, but normally you can login 5-10 minutes after creating the docker images then you can login with <ipaddress>:9080
You have to use following credentials:

Username: Admin
Password: zabbix

Enjoy your new Zabbix installation.

  3 comments for “Synology / Zabbix / Docker with Virtual Machine

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.

Time limit is exhausted. Please reload the CAPTCHA.

Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

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.

SchlieĂźen