public Zabbix server - hosts inside firewall
Now that my Zabbix server is up, I'm trying to add hosts. All of my hosts are inside firewalls. If it was just one host inside a firewall, I could probably do a port mapping, but since it's multiple servers inside the firewall, I can't do that. What's the procedure for connecting the agent to the server?
gjacobse last edited by
Not that I know - but is this multiple hosts behind a single firewall or more than one firewall?
@gjacobse Site A with a firewall and then 20 servers behind that firewall. Then site B with 5 servers, etc. The Zabbix server has a public IP, but all the hosts are NATed.
JaredBusch last edited by JaredBusch
Zabbix defaults to the server contacting the agents, but can it not be configured to let the agent initiate everything?
it looks like I need to configure active agents. working on that....
dafyre last edited by
A Zabbix proxy would do this for you... IIRC, the inside hosts report to the inside proxy. The proxy reports to the public Zabbix server.
coliver last edited by
Mike Davis last edited by Mike Davis
I got it working. For some reason I needed to use the 32 bit agent on my 64 bit systems.
You download the agent from:
extract the zabbix_agentd.exe to a folder like c:\zabbix
in the c:\zabbix folder create a file called:
The file needs to contain:
Server=xx.xx.14.212 #the IP address of your Zabbix server
ServerActive=xx.xx.14.212 #the IP address of your Zabbix server
Hostname=yourinternalservername #the name here has to match the name that you configure on the Zabbix server
once you save the file you run:
c:\zabbix\zabbix_agentd.exe --config c:\zabbix\zabbix_agentd.win.conf --install
net start "zabbix agent"
If you open services.msc you should see the Zabbix service and it should be running.