Devenv: use zabbix LTS version 5.0

This commit is contained in:
Alexander Zobnin
2023-08-01 12:51:04 +02:00
parent 103938511a
commit 906cc4aaf6
5 changed files with 7 additions and 70 deletions

View File

@@ -125,10 +125,10 @@
<name>Zabbix server</name> <name>Zabbix server</name>
<templates> <templates>
<template> <template>
<name>Linux by Zabbix agent</name> <name>Template OS Linux by Zabbix agent</name>
</template> </template>
<template> <template>
<name>Zabbix Server</name> <name>Template App Zabbix Server</name>
</template> </template>
</templates> </templates>
<groups> <groups>

View File

@@ -3,7 +3,7 @@ version: "3"
services: services:
# Zabbix # Zabbix
zabbix-server: zabbix-server:
image: zabbix/zabbix-server-pgsql:alpine-5.2.1 image: zabbix/zabbix-server-pgsql:alpine-5.0-latest
ports: ports:
- "10051:10051" - "10051:10051"
depends_on: depends_on:
@@ -16,7 +16,7 @@ services:
POSTGRES_DB: zabbix POSTGRES_DB: zabbix
zabbix-web: zabbix-web:
image: zabbix/zabbix-web-apache-pgsql:alpine-5.2.1 image: zabbix/zabbix-web-apache-pgsql:alpine-5.0-latest
ports: ports:
- "8188:8080" - "8188:8080"
- "8189:8443" - "8189:8443"
@@ -45,13 +45,13 @@ services:
POSTGRES_PASSWORD: zabbix POSTGRES_PASSWORD: zabbix
zabbix-agent: zabbix-agent:
image: zabbix/zabbix-agent:alpine-5.2.1 image: zabbix/zabbix-agent:alpine-5.0-latest
environment: environment:
ZBX_SERVER_HOST: zabbix-server ZBX_SERVER_HOST: zabbix-server
ZBX_SERVER_PORT: 10051 ZBX_SERVER_PORT: 10051
zabbix-proxy: zabbix-proxy:
image: zabbix/zabbix-proxy-sqlite3:alpine-5.2.1 image: zabbix/zabbix-proxy-sqlite3:alpine-5.0-latest
environment: environment:
ZBX_PROXYMODE: 0 ZBX_PROXYMODE: 0
ZBX_HOSTNAME: zabbix-proxy ZBX_HOSTNAME: zabbix-proxy
@@ -59,7 +59,7 @@ services:
ZBX_SERVER_PORT: 10051 ZBX_SERVER_PORT: 10051
zabbix-agent-proxy: zabbix-agent-proxy:
image: zabbix/zabbix-agent:alpine-5.2.1 image: zabbix/zabbix-agent:alpine-5.0-latest
environment: environment:
ZBX_SERVER_HOST: zabbix-proxy ZBX_SERVER_HOST: zabbix-proxy
ZBX_SERVER_PORT: 10051 ZBX_SERVER_PORT: 10051

View File

@@ -1,63 +0,0 @@
<host>
<host>backend01</host>
<name>backend01</name>
<description/>
<proxy/>
<status>0</status>
<ipmi_authtype>-1</ipmi_authtype>
<ipmi_privilege>2</ipmi_privilege>
<ipmi_username/>
<ipmi_password/>
<tls_connect>1</tls_connect>
<tls_accept>1</tls_accept>
<tls_issuer/>
<tls_subject/>
<tls_psk_identity/>
<tls_psk/>
<templates>
<template>
<name>Template ZAS Agent</name>
</template>
</templates>
<groups>
<group>
<name>Backend</name>
</group>
<group>
<name>Linux servers</name>
</group>
</groups>
<interfaces>
<interface>
<default>1</default>
<type>1</type>
<useip>0</useip>
<ip>127.0.0.1</ip>
<dns>zas_backend_01</dns>
<port>10050</port>
<bulk>1</bulk>
<interface_ref>if1</interface_ref>
</interface>
</interfaces>
<items/>
<discovery_rules/>
<httptests/>
<macros/>
<inventory>
<inventory_mode>-1</inventory_mode>
</inventory>
<tags>
<tag>
<tag>env</tag>
<value>staging</value>
</tag>
<tag>
<tag>group</tag>
<value>backend</value>
</tag>
<tag>
<tag>region</tag>
<value>EU</value>
</tag>
</tags>
</host>