zabbix-server não pode ser iniciado corretamente no docker

0

Estou tentando implantar o zabbix no contêiner docker, mas encontrei um erro na instalação.

root@b65deb8fa00d:/etc/zabbix# service zabbix-server start
* Starting Zabbix server zabbix_server                                                                                                              
root@b65deb8fa00d:/etc/zabbix# service --status-all|grep zabbix
 [ ? ]  hwclock.sh
 [ ? ]  networking
 [ ? ]  ondemand
 [ - ]  zabbix-server

Nos logs não é possível ver literalmente nada, nenhum registro aparece ao iniciar o zbx-server

 root@b65deb8fa00d:/etc/zabbix# uname -a
 Linux b65deb8fa00d 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 
 14:13:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Algo que não pode se conectar na porta 15001, necessária para o zabbix:

root@b65deb8fa00d:/etc/zabbix# telnet localhost 10051
Trying 127.0.0.1...
Trying ::1...
telnet: Unable to connect to remote host: Cannot assign requested 
address


bg502@rocket:~$ sudo docker ps 
[sudo] password for bg502: 
CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS              PORTS                      NAMES
d9114d9db946        bg502/zabbixlatest   "/bin/bash"         16 seconds ago      Up 9 seconds        0.0.0.0:10051->10051/tcp   vibrant_mcnulty

bg502@rocket:~$ netstat -tnlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::6600                 :::*                    LISTEN      -                   
tcp6       0      0 :::5355                 :::*                    LISTEN      -                   
tcp6       0      0 :::80                   :::*                    LISTEN      -                   
tcp6       0      0 :::1716                 :::*                    LISTEN      1039/kdeconnectd    
tcp6       0      0 ::1:631                 :::*                    LISTEN      -                   
tcp6       0      0 :::10051                :::*                    LISTEN      -                   
    
por Andrew Kozlowskiy 23.03.2018 / 17:32

0 respostas