Hi everybody, thanks for your time!
Situation: I assembled a VM using Zabbix Docker containers. I start a handful of them, one is the server. Now starting the zabbix service does not give me any idea, when it is finally up, i.e. when did it complete the deployment or update of the SQL data(-model) and is fully ready.
Problem: if I just launch the containers in order and it is a first time boot, the gui falls over, because it does not find its data.
Workaround: I introduced a 90sec delay after starting the server. Now this is a rather crude work-around, wasting a lot of time, when developing my VM on.
I'd love to have some condition that hints me on "server is ready". I have a few guesses, but I do not know how to test this ... reliably:
- a line in a log-file, which log would it be and which line?
- does zabbix open the 10051 (or whatever is configured) only *after* setting the model, then I could wait for this?!
- anything
Your hint would help me optimising the playbook.
Thanks in advance!
Situation: I assembled a VM using Zabbix Docker containers. I start a handful of them, one is the server. Now starting the zabbix service does not give me any idea, when it is finally up, i.e. when did it complete the deployment or update of the SQL data(-model) and is fully ready.
Problem: if I just launch the containers in order and it is a first time boot, the gui falls over, because it does not find its data.
Workaround: I introduced a 90sec delay after starting the server. Now this is a rather crude work-around, wasting a lot of time, when developing my VM on.
I'd love to have some condition that hints me on "server is ready". I have a few guesses, but I do not know how to test this ... reliably:
- a line in a log-file, which log would it be and which line?
- does zabbix open the 10051 (or whatever is configured) only *after* setting the model, then I could wait for this?!
- anything
Your hint would help me optimising the playbook.
Thanks in advance!
Comment