Answers for "received empty response from zabbix agent at [192.168.0.3]. assuming that agent dropped connection because of access permissions."

0

received empty response from zabbix agent at [192.168.0.3]. assuming that agent dropped connection because of access permissions.

# FOR step-by-step guide of running latest zabbix version 5.0 follow these links
# https://blog.zabbix.com/zabbix-docker-containers/7150/
# https://techexpert.tips/zabbix/monitoring-docker-using-zabbix/

#it's simple just add all zabbix server IPs in zabbix host agent  conf #file like below


Server=192.168.101.11,172.1.16.1
ServerActive=192.168.101.11,172.1.16.1


if you ur using zabbix server-agent model using docker containers then while deploying containers specify zabbix server Host/Container IPs which wants to connect to zabbix agent container

Assuming if you wanna deploy zabbix server and agent in the same server running docker containers just run below docker deploy commands 


#Zabbix Server Container
sudo docker run --name zabbix-appliance -p 8080:80 -p 10051:10051 -d -h zabbix-server zabbix/zabbix-appliance

#Zabbix Agent container
sudo docker run --name=dockbix-agent-xxl   --privileged   -v /:/rootfs   -v /var/run:/var/run -p 10050:10050   -e "ZA_Server=192.168.0.3,172.17.0.1" -e "ZA_ServerActive=192.168.0.3,172.17.0.1"   -d monitoringartist/dockbix-agent-xxl-limited:latest

#Default username and password of zabbix server
#username: Admin password: zabbix
# For monitoring docker containers resources import a template from this cloned repository https://github.com/monitoringartist/zabbix-docker-monitoring
Posted by: Guest on September-01-2020

Browse Popular Code Answers by Language