I have a host that I had a few triggers being monitored by the zabbix server, using the active agent setting. I am now trying to test the proxy functionality, since I'll be rolling out proxies to other locations, but i can't get the proxy to monitor the agent server. In the logfiles I see the following error on the proxy:
cannot send list of active checks to "10.142.0.14": host [test2] not found
I have changed the config files to use the proxy instead of the server, and per other posts, I have verified the hostname in the GUI is the same as the one defined in the zabbix_agentd.conf file on the agent server. Here is my configuration:
zabbix_agentd.conf on test2 (10.142.0.14):
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
DebugLevel=3
SourceIP=10.142.0.14
EnableRemoteCommands=1
LogRemoteCommands=1
Server=10.142.0.9
StartAgents=3
ServerActive=10.142.0.9
Hostname=test2
Include=/etc/zabbix/zabbix_agentd.d/*.conf
zabbix_proxy.conf on zproxy(10.142.0.9):
ProxyMode=0
Server=10.142.0.7
Hostname=zproxy
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBName=zabbix
DBUser=zabbix
DBPassword=123Mypw123$
ConfigFrequency=120
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
zabbix_server.conf on zabbix(10.142.0.7):
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
SocketDir=/var/run/zabbix
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=Zabbix
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
What am I missing? Any help would be appreciated.
cannot send list of active checks to "10.142.0.14": host [test2] not found
I have changed the config files to use the proxy instead of the server, and per other posts, I have verified the hostname in the GUI is the same as the one defined in the zabbix_agentd.conf file on the agent server. Here is my configuration:
zabbix_agentd.conf on test2 (10.142.0.14):
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
DebugLevel=3
SourceIP=10.142.0.14
EnableRemoteCommands=1
LogRemoteCommands=1
Server=10.142.0.9
StartAgents=3
ServerActive=10.142.0.9
Hostname=test2
Include=/etc/zabbix/zabbix_agentd.d/*.conf
zabbix_proxy.conf on zproxy(10.142.0.9):
ProxyMode=0
Server=10.142.0.7
Hostname=zproxy
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBName=zabbix
DBUser=zabbix
DBPassword=123Mypw123$
ConfigFrequency=120
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
zabbix_server.conf on zabbix(10.142.0.7):
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
SocketDir=/var/run/zabbix
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=Zabbix
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
What am I missing? Any help would be appreciated.
Comment