Ad Widget

Collapse

Zabbix Agent: FQDN with Multiple "A" Records in "Server" Parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rodrigorenie
    Junior Member
    • Oct 2024
    • 1

    #1

    Zabbix Agent: FQDN with Multiple "A" Records in "Server" Parameter

    I have a question regarding the "Server" parameter in the Zabbix agent configuration file. This parameter lists the IPs of the Zabbix servers allowed to connect to the agent, and it can accept an FQDN. My question is, if the FQDN has multiple "A" records in DNS, will the agent recognize and accept connections from all IPs listed under those "A" records? Or will it only accept connections from the first IP resolved when the agent starts?

    For example:

    Code:
    $dig +short zabproxy.domain.local
    192.168.10.100
    192.168.10.101
    192.168.10.102
    In the agent configuration file, the "Server" parameter is set as follows:

    Code:
    $ cat /etc/zabbix/zabbix_agentd.conf | grep Server
    Server=zabproxy.domain.local
    My question is: will the agent accept connections from all three IPs (192.168.10.100, 101, 102), or will it only use the first one resolved (192.168.10.100) when it starts?
Working...