monitoringartist / dockbix-agent-xxl

:whale: Dockerized Zabbix agent with Docker metrics and host metrics support for CoreOS, RHEL, CentOS, Ubuntu, Debian, Fedora, Boot2docker, Photon OS, Amazon Linux, ...
https://hub.docker.com/r/monitoringartist/dockbix-agent-xxl-limited/
Other
182 stars 54 forks source link

how to deploy zabbix-agent on real host but not zabbix-agent-xxl? #19

Closed JerryDog closed 8 years ago

JerryDog commented 8 years ago

I have deployed zabbix-agent(3.0.0) on my real host(not by container).

$cat /etc/zabbix/zabbix_agentd.conf PidFile=/var/run/zabbix/zabbix_agentd.pid LogFile=/var/log/zabbix/zabbix_agentd.log LogFileSize=0 Server=10.43.1.198 ServerActive=10.43.1.198 Hostname=vhs10-43-1-193.ubank365.local Include=/etc/zabbix/zabbix_agentd.d/ AllowRoot=1 LoadModulePath=/etc/zabbix/zabbix_agentd.d/modules LoadModule=zabbix_module_docker.so LoadModule=zabbix_module_stress.so

*.so I have download and chmod 755

zabbix server said on the dashboard: Received empty response from Zabbix Agent at [10.43.1.193]. Assuming that agent dropped connection because of access permissions.

$docker logs zabbix Zabbix agent item "docker.discovery" on host "vhs10-43-1-193.ubank365.local" failed: another network error, wait for 15 seconds

use zabbix-agent-xll-limited worked well. But I can not use any command. like: docker exec zabbix-agent-xxl ps -ef (not found ps in $PATH)

JerryDog commented 8 years ago

Solved, I downloaded the wrong mudule.