Hi Folks
I am running my zabbix server in docker containers (1 for server, 1 for front end and 1 for DB). I am also running the Zabbix agent 2 on the same server in another container. While this setup works beautifully I have few issues:
1. I do not know how to get data from within the containers. For eg i want to use the MYSQL template, but since MYSQL is running in a container how do i tell the zabbix agent to look into the container for info.
2. How do i monitor the docker details. I tried using the docker template, but it does not collect any information (assuming this is because i am running the agent inside a container and not on the server). Is there any way around this ?
Any advice would be appreciated. My details are
Docker Version - 20.10.8
Zabbix - 5.4
Mariadb - 10.5
EDIT: I resolved point 1. But i dont know how to resolve point 2. I need the zabbix agent 2 running in a container to get the docker.info from the host. How do i do this ?
I am running my zabbix server in docker containers (1 for server, 1 for front end and 1 for DB). I am also running the Zabbix agent 2 on the same server in another container. While this setup works beautifully I have few issues:
1. I do not know how to get data from within the containers. For eg i want to use the MYSQL template, but since MYSQL is running in a container how do i tell the zabbix agent to look into the container for info.
2. How do i monitor the docker details. I tried using the docker template, but it does not collect any information (assuming this is because i am running the agent inside a container and not on the server). Is there any way around this ?
Any advice would be appreciated. My details are
Docker Version - 20.10.8
Zabbix - 5.4
Mariadb - 10.5
EDIT: I resolved point 1. But i dont know how to resolve point 2. I need the zabbix agent 2 running in a container to get the docker.info from the host. How do i do this ?