Automating Container Registration In Zabbix

preview_player
Показать описание
Zabbix Auto-Registration Feature to register containers and also servers automatically
Рекомендации по теме
Комментарии
Автор

Thank you for the Video - however I believe there is a small error. Upon the Auto Registration of the 2nd Docker container. You set the Host port to be 10057 pointing to the Zabbix agent Container of 10050 - That is fine. The issue is, when you started that 2nd Docker, and the Auto Registration happened, the port of 10050 is being sent to the Zabbix server to be used. The PORT in the Zabbix Server for the NEW docker is pointing to port 10050, which means that it will communicate to the 1st container that you started and NOT the 2nd. I think the fix could be, I have not tested this yet - is to set the Host port AND the Zabbix agent port to be the same. This way, the registration and ports will be different but the Auto Registration and Port information should then match, thus Zabbix Server then talk to the correct container within that Host. This is NOT ideal as we know that the Zabbix agent port should be 10050, and not 100xx. Also the Server name - would you happen to know how to change the hostname, or maybe prefix it. As having that Docker container name just does not mean anything to a human when you have LOTS of servers to manage. Any additional thoughts on this is welcome.

sharkybait