marc- / docker-zabbix-server Goto Github PK
View Code? Open in Web Editor NEWZabbix server on Alpine Linux
License: Apache License 2.0
Zabbix server on Alpine Linux
License: Apache License 2.0
Hi,
You only have one entrypoint, what about allowing "sh" or "bash", so one can "docker exec -i" into the container?
Also, Doc: connect to http://host/zabbix (add the zabbix path). Perhaps add --restart=always to the containers to they come up after a reboot. The zabbix container should not be created with --rm and should have -d ?
Thanks for the quick answer to #1, I was unable to answer sooner from my side.
The two containers start fine for me and the GUI login works.
But zabbix is not polling as I would expect (after I configured some items). Do I'd like to get on the shell of the zabbix container to look at the server logs.
tried "docker exec -i zabbix sh", but it just hangs.
Also tried to create a second "debug" container:
docker run --link mysql:db --rm -ti eit8ei8n/zabbix-server --entrypoint sh
mysql root and admin password: FOO
ERROR 1050 (42S01) at line 1: Table 'maintenances' already exists
ERROR 1062 (23000) at line 1: Duplicate entry '1' for key 'PRIMARY'
ERROR 1062 (23000) at line 2: Duplicate entry '10001' for key 'PRIMARY'
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
(then the tty hangs)
The DB errors make sense since there are now two zabbix instances pointing at the same DB.
So what is the suggested method for debugging?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.