So far, we configured and discussed only one way a proxy can work, an active proxy. A proxy may also be configured to accept incoming connections from the server, and similar to the agent; it is called a passive proxy in that case:
As opposed to the Zabbix agent, where this mode was set on the item level and a single agent could work in both active and passive mode, a Zabbix proxy can only work in one mode at a time.
Let's switch our active proxy to the passive mode. First, edit zabbix_proxy.conf
and set the ProxyMode
parameter to 1
. That's all that is required to switch the proxy to the passive mode—now restart the proxy process.
In the frontend, navigate to Administration | Proxies and click on First proxy in the NAME column. Choose Passive in the Proxy mode dropdown, and notice how an Interface section appears. In there, set the IP address and port of your proxy:
When...