Set up a repository for custom Zabbix templates and add the first template for Dell PowerVault ME storage systems. - Add conventions, version policy, and release documentation. - Add validation, index, packaging, export, and import-test scripts. - Add a disposable Zabbix test stack with version-aware imports. - Add PowerVault ME SNMP exports for Zabbix 7.0 and 8.0. - Cover system information, unit health, sensors, ports, and firmware revisions.
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-zabbix_pwd}
|
|
POSTGRES_DB: zabbix
|
|
volumes:
|
|
- zabbix-db:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U zabbix -d zabbix"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 20
|
|
restart: unless-stopped
|
|
|
|
zabbix-server:
|
|
image: zabbix/zabbix-server-pgsql:${ZBX_SERVER_IMAGE:-alpine-7.0-latest}
|
|
environment:
|
|
DB_SERVER_HOST: postgres
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-zabbix_pwd}
|
|
POSTGRES_DB: zabbix
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
ports:
|
|
- "${ZBX_SERVER_PORT:-10051}:10051"
|
|
restart: unless-stopped
|
|
|
|
zabbix-web:
|
|
image: zabbix/zabbix-web-nginx-pgsql:${ZBX_WEB_IMAGE:-alpine-7.0-latest}
|
|
environment:
|
|
ZBX_SERVER_HOST: zabbix-server
|
|
DB_SERVER_HOST: postgres
|
|
POSTGRES_USER: zabbix
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-zabbix_pwd}
|
|
POSTGRES_DB: zabbix
|
|
PHP_TZ: ${PHP_TZ:-Asia/Tokyo}
|
|
ZBX_SERVER_NAME: Zabbix Test
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
zabbix-server:
|
|
condition: service_started
|
|
ports:
|
|
- "${ZBX_WEB_PORT:-8080}:8080"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
zabbix-db:
|