Hello.
In docker HUB there are several images of Zabbix ( https://www.zabbix.com ) server. Since I have experience with Zabbix and wanted to set up the Zabbix docker image from docker hub I had to struggle with several problems. In my opinion (No offense Zabbix image creators) this images aren't normally functionating and have several issues. The monitoring system cant has any issues it should be stable and fully working. Since its monitoring system and it should send you information, that something has gone wrong on some server.
So I decided to create my own Zabbix docker image, that is simple and easy to set up for any docker users. If you don't have docker you can read how to set it up here Nearest future I believe that I will need docker and docker nodes on lots of servers so I think I will create a bash script for automation of the installations. But ok, back to Zabbix. So when you have the docker you can run
docker run -d --name YOUR.SUBDOMEIN.COM --publish-all -p 10053:10050 -p 10054:10051 -p 8000:22 -p 3321:3306 -v /sys/fs/cgroup -v /srv/mysql/YOUR.SUBDOMEIN.COM:/var/lib/mysql -v /srv/www/vhosts/YOUR.SUBDOMEIN.COM:/var/www/html --hostname=YOUR.SUBDOMEIN.COM --env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --env container=container --env VIRTUAL_HOST=YOUR.SUBDOMEIN.COM --env USERNAME=YOURSUBDOMEIN --env SFTP_PORT=8000 --env MYSQL_PORT=3321 --env ADMIN_EMAIL=YOUR_E-MAIL.COM --privileged j90w/zabbix-server:zabbix-server '/usr/sbin/init'
You Just need to replace YOUR.SUBDOMEIN.COM with your subdomain and YOURSUBDOMEIN with your subdomain without dots and without ending. Also, replace YOUR_E-MAIL.COM with your e-mail address. This is needed to properly automate all process and you would receive an e-mail when the automated setup is done with all necessary data and instructions to finish the installation.
After receiving e-mail go to http://your.subdomein.com enter the data that you received in the e-mail pres next and your all done the Zabbix server is set up and you can now monitor your servers.
Thank you.
Content type
Image
Digest
Size
985.4 MB
Last updated
about 7 years ago
docker pull j90w/zabbix-server:zabbix-server