I have a zabbix server and with separate server hosting its database
and a proxy server with local database
All mariadb databases
Agent Config:
----------------
Server=PROXY_IP
ServerActive=PROXY_IP
StartAgents=3
DebugLevel=3
LogFile=C:\Zabbix\zabbix_agentd.log
LogFileSize=5
Timeout=3
Hostname=LDNPINF
Proxy Config:
-----------------
Server=SERVER_IP
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBHost=127.0.0.1
DBName=zabbix_proxy_emea
DBUser=zabbix
DBPassword=********
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
Server Config:
------------------
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBHost=DATABASE_SERVER_IP
DBName=zabbix
DBUser=zabbix
DBPassword=********
DBPort=3306
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
Added proxy server under Proxies and it is last seen OK
if the host is set under "monitored by proxy" with the Proxy Server, the host's availability is GREY
telnet from server to host
----------------------------------
Connected to IP
Escape character is '^]'.
Connection closed by foreign host.
telnet from proxy to host
--------------------------------
Connected to IP
Escape character is '^]'.
Connection closed by foreign host.
zabbix_proxy.log
----------------------
received configuration data from server at "ZABBIX_SERVER_IP", datalen 12939
zabbix_server.log
-----------------------
sending configuration data to proxy "PROXY_SERVER" at "PROXY_IP", datalen 12939
27305:20180515:130242.891 Zabbix agent item "net.if.in[WAN Miniport (IPv6)]" on host "LDNPINF" failed: first network error, wait for 15 seconds
27306:20180515:130257.202 Zabbix agent item "net.if.in[Microsoft Kernel Debug Network Adapter]" on host "LDNPINF" failed: another network error, wait for 15 seconds
27306:20180515:130312.236 Zabbix agent item "net.if.out[WAN Miniport (Network Monitor)]" on host "LDNPINF" failed: another network error, wait for 15 seconds
27306:20180515:130327.266 temporarily disabling Zabbix agent checks on host "LDNPINF": host unavailable
Please help. The host when monitored by Proxy is not working. The availability is GREY even though there are items and templates attached.
and a proxy server with local database
All mariadb databases
Agent Config:
----------------
Server=PROXY_IP
ServerActive=PROXY_IP
StartAgents=3
DebugLevel=3
LogFile=C:\Zabbix\zabbix_agentd.log
LogFileSize=5
Timeout=3
Hostname=LDNPINF
Proxy Config:
-----------------
Server=SERVER_IP
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBHost=127.0.0.1
DBName=zabbix_proxy_emea
DBUser=zabbix
DBPassword=********
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
Server Config:
------------------
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBHost=DATABASE_SERVER_IP
DBName=zabbix
DBUser=zabbix
DBPassword=********
DBPort=3306
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
Added proxy server under Proxies and it is last seen OK
if the host is set under "monitored by proxy" with the Proxy Server, the host's availability is GREY
telnet from server to host
----------------------------------
Connected to IP
Escape character is '^]'.
Connection closed by foreign host.
telnet from proxy to host
--------------------------------
Connected to IP
Escape character is '^]'.
Connection closed by foreign host.
zabbix_proxy.log
----------------------
received configuration data from server at "ZABBIX_SERVER_IP", datalen 12939
zabbix_server.log
-----------------------
sending configuration data to proxy "PROXY_SERVER" at "PROXY_IP", datalen 12939
27305:20180515:130242.891 Zabbix agent item "net.if.in[WAN Miniport (IPv6)]" on host "LDNPINF" failed: first network error, wait for 15 seconds
27306:20180515:130257.202 Zabbix agent item "net.if.in[Microsoft Kernel Debug Network Adapter]" on host "LDNPINF" failed: another network error, wait for 15 seconds
27306:20180515:130312.236 Zabbix agent item "net.if.out[WAN Miniport (Network Monitor)]" on host "LDNPINF" failed: another network error, wait for 15 seconds
27306:20180515:130327.266 temporarily disabling Zabbix agent checks on host "LDNPINF": host unavailable
Please help. The host when monitored by Proxy is not working. The availability is GREY even though there are items and templates attached.
Comment