mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 09:57:43 +02:00
Added Zabbix web service image
This commit is contained in:
parent
d6e4e6d576
commit
1bbe37282f
2
.env_srv
2
.env_srv
@ -58,3 +58,5 @@ ZBX_ENABLE_SNMP_TRAPS=true
|
|||||||
# ZBX_VAULTDBPATH=
|
# ZBX_VAULTDBPATH=
|
||||||
# ZBX_VAULTURL=https://127.0.0.1:8200
|
# ZBX_VAULTURL=https://127.0.0.1:8200
|
||||||
# VAULT_TOKEN=
|
# VAULT_TOKEN=
|
||||||
|
# ZBX_STARTREPORTWRITERS=0
|
||||||
|
# ZBX_WEBSERVICEURL=http://zabbix-web-service:10053/report
|
||||||
|
@ -378,6 +378,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "alpine"
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:alpine-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-alpine
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -410,6 +410,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "alpine"
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/alpine
|
||||||
|
cache_from:
|
||||||
|
- alpine:3.13
|
||||||
|
image: zabbix-web-service:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-alpine
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -374,6 +374,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "alpine"
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:alpine-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-alpine
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -406,6 +406,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "alpine"
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/alpine
|
||||||
|
cache_from:
|
||||||
|
- alpine:3.13
|
||||||
|
image: zabbix-web-service:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-alpine
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "alpine"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -378,6 +378,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "centos"
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:centos-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-centos
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -410,6 +410,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "centos"
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/centos
|
||||||
|
cache_from:
|
||||||
|
- centos:centos8
|
||||||
|
image: zabbix-web-service:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-centos
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -374,6 +374,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "centos"
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:centos-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-centos
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -406,6 +406,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "centos"
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/centos
|
||||||
|
cache_from:
|
||||||
|
- centos:centos8
|
||||||
|
image: zabbix-web-service:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-centos
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "centos"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -370,6 +370,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "ubuntu"
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:ubuntu-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-ubuntu
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -404,6 +404,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "ubuntu"
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/ubuntu
|
||||||
|
cache_from:
|
||||||
|
- ubuntu:focal
|
||||||
|
image: zabbix-web-service:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-ubuntu
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
command:
|
command:
|
||||||
|
@ -368,6 +368,37 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "ubuntu"
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
image: zabbix/zabbix-web-service:ubuntu-trunk
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-ubuntu
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -400,6 +400,41 @@ services:
|
|||||||
com.zabbix.component: "snmptraps"
|
com.zabbix.component: "snmptraps"
|
||||||
com.zabbix.os: "ubuntu"
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
|
zabbix-web-service:
|
||||||
|
build:
|
||||||
|
context: ./web-service/ubuntu
|
||||||
|
cache_from:
|
||||||
|
- ubuntu:focal
|
||||||
|
image: zabbix-web-service:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
|
ports:
|
||||||
|
- "10053:10053"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 256M
|
||||||
|
env_file:
|
||||||
|
- .env_web_service
|
||||||
|
networks:
|
||||||
|
zbx_net_backend:
|
||||||
|
aliases:
|
||||||
|
- zabbix-web-service
|
||||||
|
- zabbix-web-service-ubuntu
|
||||||
|
stop_grace_period: 5s
|
||||||
|
labels:
|
||||||
|
com.zabbix.description: "Zabbix web service"
|
||||||
|
com.zabbix.company: "Zabbix LLC"
|
||||||
|
com.zabbix.component: "web-service"
|
||||||
|
com.zabbix.os: "ubuntu"
|
||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
profiles:
|
profiles:
|
||||||
|
@ -51,6 +51,7 @@ RUN set -eux && \
|
|||||||
libevent \
|
libevent \
|
||||||
libssh \
|
libssh \
|
||||||
fping \
|
fping \
|
||||||
|
file-libs \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
mysql \
|
mysql \
|
||||||
mysql-libs \
|
mysql-libs \
|
||||||
|
@ -50,6 +50,7 @@ RUN set -eux && \
|
|||||||
libevent \
|
libevent \
|
||||||
libssh \
|
libssh \
|
||||||
fping \
|
fping \
|
||||||
|
file-libs \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
net-snmp-libs \
|
net-snmp-libs \
|
||||||
OpenIPMI-libs \
|
OpenIPMI-libs \
|
||||||
|
@ -339,6 +339,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
@ -65,6 +65,7 @@ RUN set -eux && \
|
|||||||
openssl-libs \
|
openssl-libs \
|
||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
|
file-libs \
|
||||||
unixODBC && \
|
unixODBC && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
|
@ -336,6 +336,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
@ -336,6 +336,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
@ -372,6 +372,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
@ -49,6 +49,7 @@ RUN set -eux && \
|
|||||||
dnf -y install epel-release && \
|
dnf -y install epel-release && \
|
||||||
dnf -y install --setopt=tsflags=nodocs --setopt=install_weak_deps=False --best \
|
dnf -y install --setopt=tsflags=nodocs --setopt=install_weak_deps=False --best \
|
||||||
fping \
|
fping \
|
||||||
|
file-libs \
|
||||||
iputils \
|
iputils \
|
||||||
tzdata \
|
tzdata \
|
||||||
traceroute \
|
traceroute \
|
||||||
|
@ -372,6 +372,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
@ -372,6 +372,10 @@ update_zbx_config() {
|
|||||||
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
update_config_var $ZBX_CONFIG "DBPassword" "${DB_SERVER_ZBX_PASS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
update_config_var $ZBX_CONFIG "StartReportWriters" "${ZBX_STARTREPORTWRITERS}"
|
||||||
|
: ${ZBX_WEBSERVICEURL:="http://zabbix-web-service:10053/report"}
|
||||||
|
update_config_var $ZBX_CONFIG "WebServiceURL" "${ZBX_WEBSERVICEURL}"
|
||||||
|
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
update_config_var $ZBX_CONFIG "HistoryStorageURL" "${ZBX_HISTORYSTORAGEURL}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
update_config_var $ZBX_CONFIG "HistoryStorageTypes" "${ZBX_HISTORYSTORAGETYPES}"
|
||||||
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
update_config_var $ZBX_CONFIG "HistoryStorageDateIndex" "${ZBX_HISTORYSTORAGEDATEINDEX}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user