Greetings,
I've searched high and low, but cannot seem to figure out what I'm doing wrong. So far, it's all fairly basic. I'm sure I'm overlooking something simple.
- I have a zabbix v2.4.2 server running on a hosted vps. We'll call it server.domain.foo
- I have a pfsense firewall at a remote location with passive zabbix_proxy v2.2.5. it is proxy.domain2.foo
- On the LAN side of the firewall, there is a freeBSD host with zabbix_agent v2.4.2.
Firewall ports have been configured appropriately.
Proxy is configured on the zabbix server and appears to be working
Last seen (age) is 0 or 1s
The proxy can get data from the agent:
The host has been created on the zabbix server using the LAN IP 10.0.0.20 port 10050 and is "Monitored by proxy: proxy.domain2.foo"
However, no data is retrieved. I have an agent.ping trigger that was working before I decided to place the host behind a proxy.
It may also be worth mentioning that the firewall is doing split dns. on the lan "proxy.domain2.foo" resolves to 10.0.0.1
I hope I've been somewhat verbose; if anyone has any suggestions or needs any additional information please let me know. I appreciate anything you have to offer.
Reguards,
Kelie
proxy config:
agent config:
I've searched high and low, but cannot seem to figure out what I'm doing wrong. So far, it's all fairly basic. I'm sure I'm overlooking something simple.
- I have a zabbix v2.4.2 server running on a hosted vps. We'll call it server.domain.foo
- I have a pfsense firewall at a remote location with passive zabbix_proxy v2.2.5. it is proxy.domain2.foo
- On the LAN side of the firewall, there is a freeBSD host with zabbix_agent v2.4.2.
Code:
zabbix.domain.foo--->{wan}proxy.domain2.foo{lan}---> 10.0.0.20 (proxy.domain2.foo)
Code:
[email protected]# telnet proxy.domain2.foo 10051 Trying 98.202.64.214... Connected to proxy.domain2.foo Escape character is '^]'. Connection closed by foreign host.
Last seen (age) is 0 or 1s
The proxy can get data from the agent:
Code:
[2.1.5-RELEASE][[email protected]]: zabbix_get -s 10.0.0.20 -p 10050 -k "agent.ping" 1
The host has been created on the zabbix server using the LAN IP 10.0.0.20 port 10050 and is "Monitored by proxy: proxy.domain2.foo"
However, no data is retrieved. I have an agent.ping trigger that was working before I decided to place the host behind a proxy.
It may also be worth mentioning that the firewall is doing split dns. on the lan "proxy.domain2.foo" resolves to 10.0.0.1
I hope I've been somewhat verbose; if anyone has any suggestions or needs any additional information please let me know. I appreciate anything you have to offer.
Reguards,
Kelie
proxy config:
Code:
Server=server.domain.foo ServerPort=10051 Hostname=proxy.domain2.foo PidFile=/var/run/zabbix2/zabbix2_proxy.pid DBName=/var/db/zabbix2/proxy.db LogFile=/var/log/zabbix2/zabbix_proxy.log ConfigFrequency=60 FpingLocation=/usr/local/sbin/fping Fping6Location=/usr/local/sbin/fping6 ProxyMode=1
Code:
Server=10.0.0.1,proxy.domain2.foo ListenPort=10050 Hostname=n3rd.ru #AllowRoot=1 #StartAgents=1 DebugLevel=4 LogFile=/tmp/zabbix_agentd.log Include=/usr/local/etc/zabbix24/zabbix_agentd.conf.d
Comment