The container provides the following Zabbix Services, please refer to the Zabbix documentation for additional info.
- A Zabbix Server at port 10051.
- A Zabbix Web UI at port 80 (username:
- A Zabbix Agent.
- A MySQL instance supporting Zabbix, user is
zabbixand password is
- A Monit deamon managing the processes (http://$container_ip:2812, user 'myuser' and password 'mypassword').
You can run Zabbix as a service executing the following command.
docker run -d \ -p 10051:10051 \ -p 80:80 \ -p 2812:2812 \ dentavita/zabbix
The above command will expose the Zabbix Server through port 10051 and the Web UI through port 80 on the host instance, among others.
Be patient, it takes a minute or two to configure the MySQL instance and start the proper services. You can tail the logs using
docker logs -f $container_id.
@zyriuse Please check my latest build. It doesn't have this error.
I got the same error using image from another repo - berngp/docker-zabbix . I rewrote bash statements that create new mysql user, and the error went away.
when i restart the container i get this error
Error connecting to database: Access denied for user 'zabbix'@'localhost' (using password: YES)