Hi erveryone.
Im having a issue with Zabbix Proxy + DMZ + Auto-Registration Action combo.
I created the following infraestructure:
Monitoring works fine, but specifically the auto-registration action does not.
I try connect a new machine (with no host registered) and Agent logs just show:
Im figured could be a problem with configurations then i did a test:
Put Zabbix Server and Zabbix Proxy in the same VLAN/INTERNAL and....works fine.
I catched and autoregistration loop in Zabbix Server logs getting the gateway (literally 192.168.2.1) and trying autoregister, maybe thats the problem?
Already checked all info between Zabbix Agent Conf, metadata, server addresses, everything...nothing wrong here (confirmed when i manully register the host in Zabbix Frontend - Zabbix can monitor without problems)
Does anyone have any ideas what it could be?
Some additional information:
Im having a issue with Zabbix Proxy + DMZ + Auto-Registration Action combo.
I created the following infraestructure:
Zabbix Proxy - 192.168.50.10 in DMZ (firewall permissions was adjusted to communicate with server)
Zabbix Server - 192.168.2.20 in VLAN/Internal (firewall permissions was adjusted to communicate with proxy)
Zabbix Agent Active connected with Proxy.
Zabbix Server - 192.168.2.20 in VLAN/Internal (firewall permissions was adjusted to communicate with proxy)
Zabbix Agent Active connected with Proxy.

Monitoring works fine, but specifically the auto-registration action does not.
I try connect a new machine (with no host registered) and Agent logs just show:
no active checks on server [mypublicdns]: host [myhostname] not found
Im figured could be a problem with configurations then i did a test:
Put Zabbix Server and Zabbix Proxy in the same VLAN/INTERNAL and....works fine.
I catched and autoregistration loop in Zabbix Server logs getting the gateway (literally 192.168.2.1) and trying autoregister, maybe thats the problem?
Already checked all info between Zabbix Agent Conf, metadata, server addresses, everything...nothing wrong here (confirmed when i manully register the host in Zabbix Frontend - Zabbix can monitor without problems)
Does anyone have any ideas what it could be?
Some additional information:
- Zabbix Proxy logs:
received configuration data from server - normal
unknows request received from "192.168.50.1" [active check heatbeat]
unknows request received from "192.168.50.1" [active check heatbeat]
- Zabbix Server
sending configuration data to proxy "proxy" at "192.168.50.10"... - normal
process_autoregistration_contents(): "_gateway" is not a valid hostname
process_autoregistration_contents(): "_gateway" is not a valid hostname
- Zabbix Active Agent
no active checks on server [mypublicdns]: host [myhostname] not found
- Auto Registration Rule
Condition:
host metadata contains: myinformation
Zabbix Proxy equals: MyZabbixProxy
Operations:
Add Host
Add to Host Groups: MyGroup
Link to template: MyTemplate
host metadata contains: myinformation
Zabbix Proxy equals: MyZabbixProxy
Operations:
Add Host
Add to Host Groups: MyGroup
Link to template: MyTemplate
Comment