Hey,
I have a simple setup:
- host A (10.10.10.1) running zabbix server mysql (4.0.41-1.el7)
- host B (10.10.10.2) running zabbix proxy sqlite3 (4.0.39-1.el7) and agent (4.0.39-1.el7).
I configured the proxy with these settings:
and the agent:
In the web interface of the zabbix server, I configured the zabbix proxy (passive mode) with Host name ZabbixProxy and IP 10.10.10.2.
The web page indicates it's reported to be seen every 5 seconds or so.
I added the same machine ZabbixAgent-10.10.10.2 as a host, monitored by the ZabbixProxy.
Note that the setup is currently completely in passive mode (both the agent and the proxy).
My problem is: the ZabbixAgent data is not collected, the host is not monitored.
I debugged my setup this way:
- the port 10.10.10.2:10051 is reachable from the server host.
- the port 10.10.10.2:10050 is reachable from the proxy host (it's on the same machine)
- zabbix_get -s 10.10.10.2 -k agent.ping returns 1 executed the server
- zabbix_get -s 10.10.10.2 -k agent.ping returns 1 executed on the proxy
- after both the server and the proxy are restarted, no other log statements get written, after the startup process (agents getting started etc.)
- I see a lot of traffic between 10.10.10.1 and 10.10.10.2 on port 10051 (about every second)
- I don't see any traffic on the localhost:10050 on the proxy/agent host
When I switch the monitored host to monitored by zabbix server (no proxy), all the data comes in as expected.
I don't see how I can debug this further. Any ideas why the proxy is not executing the passive checks?
regards,
slyper
PS: We're planning on migrating to zabbix 6.0 in the near future.
I have a simple setup:
- host A (10.10.10.1) running zabbix server mysql (4.0.41-1.el7)
- host B (10.10.10.2) running zabbix proxy sqlite3 (4.0.39-1.el7) and agent (4.0.39-1.el7).
I configured the proxy with these settings:
Code:
ProxyMode=1 Server=10.10.10.1 Hostname=ZabbixProxy DBName=/tmp/zabbix_proxy.sqlite3
Code:
Server=127.0.0.1,10.10.10.1,10.10.10.2 Hostname=ZabbixAgent
The web page indicates it's reported to be seen every 5 seconds or so.
I added the same machine ZabbixAgent-10.10.10.2 as a host, monitored by the ZabbixProxy.
Note that the setup is currently completely in passive mode (both the agent and the proxy).
My problem is: the ZabbixAgent data is not collected, the host is not monitored.
I debugged my setup this way:
- the port 10.10.10.2:10051 is reachable from the server host.
- the port 10.10.10.2:10050 is reachable from the proxy host (it's on the same machine)
- zabbix_get -s 10.10.10.2 -k agent.ping returns 1 executed the server
- zabbix_get -s 10.10.10.2 -k agent.ping returns 1 executed on the proxy
- after both the server and the proxy are restarted, no other log statements get written, after the startup process (agents getting started etc.)
- I see a lot of traffic between 10.10.10.1 and 10.10.10.2 on port 10051 (about every second)
- I don't see any traffic on the localhost:10050 on the proxy/agent host
When I switch the monitored host to monitored by zabbix server (no proxy), all the data comes in as expected.
I don't see how I can debug this further. Any ideas why the proxy is not executing the passive checks?
regards,
slyper
PS: We're planning on migrating to zabbix 6.0 in the near future.
Comment