In this recipe, we will show you how to set up your passive proxy. We will also show you the most important parameters that you need to configure when setting up a passive proxy.
What we need for this recipe is of course, our Zabbix server with super administrator rights. We need an extra machine to install our proxy. You also have to set up your proxy as we showed you in the previous recipe, Installing a proxy.
zabbix_proxy.conf
file, we need to change the option Proxy Mode
:Proxy Mode = 1
ProxyConfigFrequency = 3600
option in the zabbix_server.conf
file to a value that suits this option. This will influence how many times the Zabbix server will send the configuration to the proxy.ProxyDataFrequency = 1
option in the zabbix_server.conf
file to a value that suits you. This will tell the Zabbix server how many times it needs to fetch history data from the proxy.zabbix_server.conf
file, alter the option StartProxyPollers=1
to at least the number of proxies in your network.service zabbix-server restart
and for the proxy service zabbix-proxy restart
.Passive
for Proxy mode.When we work with a passive proxy, the proxy will just work like a passive client. The proxy will wait for the server to initiate a connection to fetch all the data from the proxy.
A passive proxy is perfect to use in a DMZ zone where you don't just want your severs to communicate with your LAN. This way the Zabbix server will initiate the connection and fetch all data from the proxy over port 10051.