Hello
I apologize, the Docker topic is pretty new for me.
My goal is to install Zabbix automated with Docker. The preferred Environment is currently:
- Zabbix 5.4 (yes, i know it's not 6.0)
- zabbix-server-pgsql
- zabbix-web-nginx-pgsql
- Zabbix Agent2 (Not Zabbix Agent)
- postgres-db
- Alpine Linux for the containers
Fort that I am using docker-compose_v3_alpine_pgsql_local.yaml from https://github.com/zabbix/zabbix-docker/tree/5.4 including the corresponding Docker files. I want to use the local install because i want to play with the Docker files.
My problem here is, I can everything deploy, except the Zabbix Agent2. I didn't deployed the Zabbix Agent because from my perspective it make sense to use the Agent2 instead of the Zabbix Agent.
And I didn't checked out, whether I can deploy the old Zabbix Agent.
The Docker Compose is not aborting the installation. There is just no Agent2 available... No Image, no Container.
I have two question regarding this Docker Concept and my Install fail.
1. Do I need to deploy the old Zabbix Agent to monitor the Zabbix Server in the corresponding container?
I guess, if I would deploy the old Zabbix Agent it would work.. I have currently no idea why that is not working with the Agent2 Docker Compose installer.
So my goal would be to install the Agent2 instead of Agent for the Zabbix Server to monitor that in the Docker Container.
Shouldn't here be BUILD_BASE_IMAGE=zabbix-build-pqsql:alpine instead of BUILD_BASE_IMAGE=zabbix-build-mysql:alpine ?
Or will the argument overwritten by that what it's defined in the Docker Compose File?
- https://github.com/zabbix/zabbix-doc...ine/Dockerfile
- https://github.com/zabbix/zabbix-doc...sql_local.yaml
2. Agent in a Docker Container or Agent as a local installation (from apt sources) to monitor the Docker host itself?
The next question is.
If I would be able to install the Agent2 from https://github.com/zabbix/zabbix-doc...sql_local.yaml . Could that monitor the Docker Host itself or could that just monitor what's insight the Container, where the Agent2 is running?
I am asking because the Zabbix Agent2 must not be newer than the Zabbix version of the installation itself due to the compatibility definitions. And installing that from APT sources could lead into compatibility issues, if i am operating a Zabbix 5.4 and the apt installer will deploy a Agent2 version 6.0.
Would really appreciate it much to get some feedback here.
Thanks.
I apologize, the Docker topic is pretty new for me.
My goal is to install Zabbix automated with Docker. The preferred Environment is currently:
- Zabbix 5.4 (yes, i know it's not 6.0)
- zabbix-server-pgsql
- zabbix-web-nginx-pgsql
- Zabbix Agent2 (Not Zabbix Agent)
- postgres-db
- Alpine Linux for the containers
Fort that I am using docker-compose_v3_alpine_pgsql_local.yaml from https://github.com/zabbix/zabbix-docker/tree/5.4 including the corresponding Docker files. I want to use the local install because i want to play with the Docker files.
My problem here is, I can everything deploy, except the Zabbix Agent2. I didn't deployed the Zabbix Agent because from my perspective it make sense to use the Agent2 instead of the Zabbix Agent.
And I didn't checked out, whether I can deploy the old Zabbix Agent.
The Docker Compose is not aborting the installation. There is just no Agent2 available... No Image, no Container.
I have two question regarding this Docker Concept and my Install fail.
1. Do I need to deploy the old Zabbix Agent to monitor the Zabbix Server in the corresponding container?
I guess, if I would deploy the old Zabbix Agent it would work.. I have currently no idea why that is not working with the Agent2 Docker Compose installer.
So my goal would be to install the Agent2 instead of Agent for the Zabbix Server to monitor that in the Docker Container.
Shouldn't here be BUILD_BASE_IMAGE=zabbix-build-pqsql:alpine instead of BUILD_BASE_IMAGE=zabbix-build-mysql:alpine ?
Or will the argument overwritten by that what it's defined in the Docker Compose File?
- https://github.com/zabbix/zabbix-doc...ine/Dockerfile
- https://github.com/zabbix/zabbix-doc...sql_local.yaml
Code:
# syntax=docker/dockerfile:1
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}.11
ARG BUILD_BASE_IMAGE=zabbix-build-mysql:alpine-${ZBX_VERSION}
The next question is.
If I would be able to install the Agent2 from https://github.com/zabbix/zabbix-doc...sql_local.yaml . Could that monitor the Docker Host itself or could that just monitor what's insight the Container, where the Agent2 is running?
I am asking because the Zabbix Agent2 must not be newer than the Zabbix version of the installation itself due to the compatibility definitions. And installing that from APT sources could lead into compatibility issues, if i am operating a Zabbix 5.4 and the apt installer will deploy a Agent2 version 6.0.
Would really appreciate it much to get some feedback here.
Thanks.
Comment