Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@noc:/srv/zabbix-docker# docker-compose up zabbix-server
WARNING: Some services (zabbix-agent, zabbix-java-gateway, zabbix-proxy-mysql, zabbix-proxy-sqlite3, zabbix-server, zabbix-snmptraps, zabbix-web-apache-mysql, zabbix-web-nginx-mysql) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Pulling zabbix-server (zabbix/zabbix-server-mysql:ubuntu-5.0-latest)...
ubuntu-5.0-latest: Pulling from zabbix/zabbix-server-mysql
23884877105a: Already exists
bc38caa0f5b9: Already exists
2910811b6c42: Already exists
36505266dcc6: Already exists
4ff5cb6fd948: Pull complete
da1335ec6788: Pull complete
3b2f26662c22: Pull complete
Digest: sha256:c5baee370ae1ace5403dd679a4581cd82c4310699b703b36336d18823243de40
Status: Downloaded newer image for zabbix/zabbix-server-mysql:ubuntu-5.0-latest
zabbix-docker_zabbix-snmptraps_1 is up-to-date
zabbix-docker_mysql-server_1 is up-to-date
zabbix-docker_zabbix-java-gateway_1 is up-to-date
Creating zabbix-docker_zabbix-server_1 ... done
Attaching to zabbix-docker_zabbix-server_1
zabbix-server_1 | ** Preparing Zabbix server
zabbix-server_1 | ** Using MYSQL_USER variable from secret file
zabbix-server_1 | ** Using MYSQL_PASSWORD variable from secret file
zabbix-server_1 | ** Using MYSQL_ROOT_PASSWORD variable from secret file
zabbix-server_1 | ********************
zabbix-server_1 | * DB_SERVER_HOST: mysql-server
zabbix-server_1 | * DB_SERVER_PORT: 3306
zabbix-server_1 | * DB_SERVER_DBNAME: zabbix
zabbix-server_1 | ********************
zabbix-server_1 | mysqladmin: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | ** Creating 'zabbix' user in MySQL database
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | ** Database 'zabbix' already exists. Please be careful with database COLLATE!
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | ** Table 'zabbix.dbversion' already exists.
zabbix-server_1 | mysql: [Warning] Using a password on the command line interface can be insecure.
zabbix-server_1 | ** Preparing Zabbix server configuration file
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ListenPort": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SourceIP": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogType": 'console'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFileSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "PidFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DebugLevel": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBHost": 'mysql-server'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBName": 'zabbix'... updated
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBSchema": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBUser": 'zabbix'... updated
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBPort": '3306'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBPassword": 'zabbix'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageURL": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageTypes": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageDateIndex": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBSocket": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StatsAllowedIP": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPollers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartIPMIPollers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPollersUnreachable": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTrappers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPingers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartDiscoverers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartHTTPPollers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPreprocessors": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTimers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartEscalators": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartAlerters": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTimers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartEscalators": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartLLDProcessors": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "JavaGateway": 'zabbix-java-gateway'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "JavaGatewayPort": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartJavaPollers": '5'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartVMwareCollectors": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwarePerfFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareCacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareTimeout": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SNMPTrapperFile": '/var/lib/zabbix/snmptraps/snmptraps.log'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartSNMPTrapper": '1'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HousekeepingFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "MaxHousekeeperDelete": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SenderFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "CacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "CacheUpdateFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartDBSyncers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryCacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryIndexCacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TrendCacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ValueCacheSize": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "Timeout": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TrapperTimeout": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnreachablePeriod": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnavailableDelay": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnreachableDelay": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "AlertScriptsPath": '/usr/lib/zabbix/alertscripts'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ExternalScripts": '/usr/lib/zabbix/externalscripts'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "FpingLocation": '/usr/bin/fping'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "Fping6Location": '/usr/bin/fping6'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSHKeyLocation": '/var/lib/zabbix/ssh_keys'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogSlowQueries": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartProxyPollers": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ProxyConfigFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "ProxyDataFrequency": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLCertLocation": '/var/lib/zabbix/ssl/certs/'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLKeyLocation": '/var/lib/zabbix/ssl/keys/'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLCALocation": '/var/lib/zabbix/ssl/ssl_ca/'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "LoadModulePath": '/var/lib/zabbix/modules/'... added
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCAFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCRLFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCertFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSKeyFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSPSKIdentity": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSPSKFile": ''... removed
zabbix-server_1 | ** Updating '/etc/zabbix/zabbix_server.conf' parameter "User": 'zabbix'... added
zabbix-server_1 | Starting Zabbix Server. Zabbix 5.0.0 (revision 9665d62).
zabbix-server_1 | Press Ctrl+C to exit.
zabbix-server_1 |
zabbix-server_1 | 6:20200515:100248.514 Starting Zabbix Server. Zabbix 5.0.0 (revision 9665d62).
zabbix-server_1 | 6:20200515:100248.514 ****** Enabled features ******
zabbix-server_1 | 6:20200515:100248.514 SNMP monitoring: YES
zabbix-server_1 | 6:20200515:100248.514 IPMI monitoring: YES
zabbix-server_1 | 6:20200515:100248.514 Web monitoring: YES
zabbix-server_1 | 6:20200515:100248.514 VMware monitoring: YES
zabbix-server_1 | 6:20200515:100248.514 SMTP authentication: YES
zabbix-server_1 | 6:20200515:100248.514 ODBC: YES
zabbix-server_1 | 6:20200515:100248.514 SSH support: YES
zabbix-server_1 | 6:20200515:100248.514 IPv6 support: YES
zabbix-server_1 | 6:20200515:100248.514 TLS support: YES
zabbix-server_1 | 6:20200515:100248.514 ******************************
zabbix-server_1 | 6:20200515:100248.514 using configuration file: /etc/zabbix/zabbix_server.conf
zabbix-server_1 | 6:20200515:100248.525 current database version (mandatory/optional): 05000000/05000000
zabbix-server_1 | 6:20200515:100248.525 required mandatory version: 05000000
zabbix-server_1 | 6:20200515:100248.543 server #0 started [main process]
zabbix-server_1 | 182:20200515:100248.545 server #1 started [configuration syncer #1]
zabbix-server_1 | 182:20200515:100248.796 __mem_malloc: skipped 0 asked 64 skip_min 18446744073709551615 skip_max 0
zabbix-server_1 | 182:20200515:100248.796 [file:dbconfig.c,line:95] __zbx_mem_malloc(): out of memory (requested 64 bytes)
zabbix-server_1 | 182:20200515:100248.796 [file:dbconfig.c,line:95] __zbx_mem_malloc(): please increase CacheSize configuration parameter
zabbix-server_1 | 182:20200515:100248.796 === memory statistics for configuration cache ===
zabbix-server_1 | 182:20200515:100248.796 free chunks of size 24 bytes: 16
zabbix-server_1 | 182:20200515:100248.796 free chunks of size 32 bytes: 1
zabbix-server_1 | 182:20200515:100248.796 free chunks of size 40 bytes: 1
zabbix-server_1 | 182:20200515:100248.796 free chunks of size 48 bytes: 1
zabbix-server_1 | 182:20200515:100248.796 free chunks of size 56 bytes: 4
zabbix-server_1 | 182:20200515:100248.796 min chunk size: 24 bytes
zabbix-server_1 | 182:20200515:100248.796 max chunk size: 56 bytes
zabbix-server_1 | 182:20200515:100248.796 memory of total size 8388232 bytes fragmented into 70617 chunks
zabbix-server_1 | 182:20200515:100248.796 of those, 728 bytes are in 23 free chunks
zabbix-server_1 | 182:20200515:100248.796 of those, 7257648 bytes are in 70594 used chunks
zabbix-server_1 | 182:20200515:100248.796 ================================
zabbix-server_1 | 182:20200515:100248.796 === Backtrace: ===
zabbix-server_1 | 182:20200515:100248.797 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x51) [0x5613f9cae313]
zabbix-server_1 | 182:20200515:100248.797 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_malloc+0x18c) [0x5613f9ca8e91]
zabbix-server_1 | 182:20200515:100248.797 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19d80f) [0x5613f9c6c80f]
zabbix-server_1 | 182:20200515:100248.797 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0x12f) [0x5613f9cb45db]
zabbix-server_1 | 182:20200515:100248.797 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x5613f9cb44aa]
zabbix-server_1 | 182:20200515:100248.797 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x9b) [0x5613f9c6d27a]
zabbix-server_1 | 182:20200515:100248.797 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1a7002) [0x5613f9c76002]
zabbix-server_1 | 182:20200515:100248.797 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0xd3f) [0x5613f9c7a106]
zabbix-server_1 | 182:20200515:100248.797 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x131) [0x5613f9b244bd]
zabbix-server_1 | 182:20200515:100248.797 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x5613f9cbd837]
zabbix-server_1 | 182:20200515:100248.797 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xa9b) [0x5613f9b15643]
zabbix-server_1 | 182:20200515:100248.797 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x30b) [0x5613f9cadedd]
zabbix-server_1 | 182:20200515:100248.797 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x335) [0x5613f9b14b92]
zabbix-server_1 | 182:20200515:100248.797 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fec3134bb97]
zabbix-server_1 | 182:20200515:100248.797 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2a) [0x5613f9b13a3a]
zabbix-server_1 | 6:20200515:100248.802 One child process died (PID:182,exitcode/signal:1). Exiting ...
zabbix-server_1 | 6:20200515:100248.806 syncing trend data...
zabbix-server_1 | 6:20200515:100248.806 syncing trend data done
zabbix-server_1 | 6:20200515:100248.806 Zabbix Server stopped. Zabbix 5.0.0 (revision 9665d62).
zabbix-docker_zabbix-server_1 exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment