I have been testing the docker monitoring for a while now. It works and would be great to use it in PROD. Now I have some issues with it. I have an Unbuntu 18.04 and a Centos 8 host zabbix_agent2 where this happens:
We have to use active mode, so I had to change the items on all templates to Active. (this is a HARD requirement)
I have zabbix_agent2 that is able to give all the data I ask for from console. Code:
Then the end result is when I have docker is like the Zabbix server does not request that information about the host etc. Or is expecting it in a different format? I am nor sure what could be wrong, that is why I am asking. Any type of help is welcome.
- If I enable the docker monitoring it works FINE, but all other templates like basic linux monitoring stop working. I am talking about all other templates items here.
- If I disable the docker monitoring then everything starts working again.
We have to use active mode, so I had to change the items on all templates to Active. (this is a HARD requirement)
I have zabbix_agent2 that is able to give all the data I ask for from console. Code:
Code:
# sudo -u zabbix zabbix_agent2 -t agent.hostname. # normal templates in active mode.
agent.hostname [s|srv-prod-myhost1]
# sudo -u zabbix zabbix_agent2 -t docker.containers #docker template
docker.containers [s|[{"Id":"93c254385aaea136eda4b9feaf73b6b6ddecd0ef42f 680381a7412b2de19bacf","Image":"name
(...)
"Destination":"/var/log/mysql","Driver":"local","Mode":"","RW":true,"Propa gation":"","Type":"volume"}]}]]
Then the end result is when I have docker is like the Zabbix server does not request that information about the host etc. Or is expecting it in a different format? I am nor sure what could be wrong, that is why I am asking. Any type of help is welcome.
Comment