Ad Widget

Collapse

zabbix docker

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vitS
    Member
    • Apr 2021
    • 43

    #1

    zabbix docker

    Hi,

    I am trying to start zabbix on docker ( docker-compose ). Seems to be it is started, but I can't see port mapping on docker ps - started, but no ports

    In startup logs, I can see ( from strange ones ):

    gent | ** Preparing Zabbix agent
    agent | ** Preparing Zabbix agent configuration file
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "PidFile": ''...removed
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "LogType": 'console'...added
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "LogFile": ''...removed
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "LogFileSize": ''...removed
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "DebugLevel": ''...removed
    agent | ** Updating '/etc/zabbix/zabbix_agentd.conf' parameter "SourceIP": ''...removed
    ...
    ...
    ...
    ..

    agent | 82:20220309:150433.219 active check configuration update from [zabbix-server:10051] started to fail (cannot resolve [zabbix-server])
    ( I checked all configuration it shouldn't be zabbix-server:10051 - I put there ip )

    ...
    ..
    ...
    zabbix | ** Database 'zabbix' already exists. Please be careful with database COLLATE!
    zabbix | ** Table 'zabbix.dbversion' already exists.
    zabbix | ** Preparing Zabbix server configuration file

    ( But I dropped database unmap volume with DB files - and create empty one )

    ...
    ...
    ..
    and again, but at this moment zabbix-server:

    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ListenIP": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ListenPort": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SourceIP": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogType": 'console'...updated
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFile": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFileSize": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "PidFile": ''...removed
    zabbix | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DebugLevel": ''...removed

    Please tell me, what can be wrong. Is it DB error? Or?

    Thanks,
  • vitS
    Member
    • Apr 2021
    • 43

    #2
    Thanks for help and sorry,

    Everything is working

    Comment

    Working...