Setting up a new host, I get the following message:
My setup is: Linux host running the agent --> Zabbix Proxy --> Zabbix Server
Host IP Address: 192.168.188.110
Host Hostname: uatweb.datacentre.example.com
Zabbix Server version: zabbix_server (Zabbix) 4.4.7
Zabbix Agent version: zabbix_agentd (daemon) (Zabbix) 4.4.7
Zabbix Proxy version: zabbix_proxy (Zabbix) 4.4.7
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: Hostname=uatweb.datacentre.example.com
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: Server=zabby-proxy
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: ServerActive=zabby-proxy
Zabbix dashboard:

What could be happening here? I've also restarted Zabbix Server, Zabbix Agent and Zabbix Proxy just in case.
Thanks in advance!
Error message in DebugLevel 4 with more details:
Code:
cannot send list of active checks to "192.168.188.110": host [uatweb] not found
Host IP Address: 192.168.188.110
Host Hostname: uatweb.datacentre.example.com
Zabbix Server version: zabbix_server (Zabbix) 4.4.7
Zabbix Agent version: zabbix_agentd (daemon) (Zabbix) 4.4.7
Zabbix Proxy version: zabbix_proxy (Zabbix) 4.4.7
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: Hostname=uatweb.datacentre.example.com
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: Server=zabby-proxy
uatweb.datacentre.example.com /etc/zabbix/zabbix_agentd.conf Hostname entry: ServerActive=zabby-proxy
Zabbix dashboard:
What could be happening here? I've also restarted Zabbix Server, Zabbix Agent and Zabbix Proxy just in case.
Thanks in advance!
Error message in DebugLevel 4 with more details:
Code:
34243:20200414:040439.654 Received [{"globalmacro":{"fields":["globalmacroid","macro","value"],"data":[[2,"{$SNMP_COMMUNITY}","public"]]},"hosts":{"fields":["hostid","host","status","available","ipmi_authtype","ipmi_privilege","ipmi_username","ipmi_password","ipmi_available","snmp_available","jmx_available","name","tls_connect","tls_accept","tls_issuer","tls_subject","tls_psk_identity","tls_psk"],"data":[[10321,"uatweb.datacentre.example.com",0,0,-1,2,"","",0,0,0,"uatweb.datacentre.example.com",1,1,"","","",""]]},"interface":{"fields":["interfaceid","hostid","main","type","useip","ip","dns","port","bulk"],"data":[[4,10321,1,1,1,"192.168.188.101","uatweb.datacentre.example.com","10050",1]]},"hosts_templates":{"fields":["hosttemplateid","hostid","templateid"],"data":[]},"hostmacro":{"fields":["hostmacroid","hostid","macro","value"],"data":[]},"items":{"fields":["itemid","type","snmp_community","snmp_oid","hostid","key_","delay","status","value_type","trapper_hosts","snmpv3_securityname","snmpv3_securitylevel","snmpv3_authpassphrase","snmpv3_privpassphrase","logtimefmt","params","ipmi_sensor","authtype","username","password","publickey","privatekey","flags","interfaceid","port","snmpv3_authprotocol","snmpv3_privprotocol","snmpv3_contextname","jmx_endpoint","master_itemid","timeout","url","query_fields","posts","status_codes","follow_redirects","post_type","http_proxy","headers","retrieve_mode","request_method","output_format","ssl_cert_file","ssl_key_file","ssl_key_password","verify_peer","verify_host","allow_traps"],"data":[]},"drules":{"fields":["druleid","name","iprange","delay"],"data":[]},"dchecks":{"fields":["dcheckid","druleid","type","key_","snmp_community","ports","snmpv3_securityname","snmpv3_securitylevel","snmpv3_authpassphrase","snmpv3_privpassphrase","uniq","snmpv3_authprotocol","snmpv3_privprotocol","snmpv3_contextname","host_source","name_source"],"data":[]},"regexps":{"fields":["regexpid","name"],"data":[[1,"File systems for discovery"],[2,"Network interfaces for discovery"],[3,"Storage devices for SNMP discovery"],[4,"Windows service names for discovery"],[5,"Windows service startup states for discovery"]]},"expressions":{"fields":["expressionid","regexpid","expression","expression_type","exp_delimiter","case_sensitive"],"data":[[1,1,"^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",3,",",0],[3,3,"^(Physical memory|Virtual memory|Memory buffers|Cached memory|Swap space)$",4,",",1],[5,4,"^(MMCSS|gupdate|SysmonLog|clr_optimization_v2.0.50727_32|clr_optimization_v4.0.30319_32)$",4,",",1],[6,5,"^(automatic|automatic delayed)$",3,",",1],[7,2,"^Software Loopback Interface",4,",",1],[8,2,"^(In)?[Ll]oop[Bb]ack[0-9._]*$",4,",",1],[9,2,"^NULL[0-9.]*$",4,",",1],[10,2,"^[Ll]o[0-9.]*$",4,",",1],[11,2,"^[Ss]ystem$",4,",",1],[12,2,"^Nu[0-9.]*$",4,",",1]]},"hstgrp":{"fields":["groupid"],"data":[[5]]},"config":{"fields":["configid","refresh_unsupported","discovery_groupid","snmptrap_logging","autoreg_tls_accept"],"data":[[1,"10m",5,1,1]]},"httptest":{"fields":["httptestid","name","delay","agent","authentication","http_user","http_password","hostid","http_proxy","retries","ssl_cert_file","ssl_key_file","ssl_key_password","verify_peer","verify_host"],"data":[]},"httptestitem":{"fields":["httptestitemid","httptestid","itemid","type"],"data":[]},"httptest_field":{"fields":["httptest_fieldid","httptestid","type","name","value"],"data":[]},"httpstep":{"fields":["httpstepid","httptestid","name","no","url","timeout","posts","required","status_codes","follow_redirects","retrieve_mode","post_type"],"data":[]},"httpstepitem":{"fields":["httpstepitemid","httpstepid","itemid","type"],"data":[]},"httpstep_field":{"fields":["httpstep_fieldid","httpstepid","type","name","value"],"data":[]},"config_autoreg_tls":{"fields":["autoreg_tlsid","tls_psk_identity","tls_psk"],"data":[[1,"",""]]}}] from server
34243:20200414:040439.656 query [txnlev:1] [insert into hosts (hostid,host,status,available,ipmi_authtype,ipmi_privilege,ipmi_username,ipmi_password,ipmi_available,snmp_available,jmx_available,name,tls_connect,tls_accept,tls_issuer,tls_subject,tls_psk_identity,tls_psk) values (10321,'uatweb.datacentre.example.com',0,0,-1,2,'','',0,0,0,'uatwe
.datacentre.example.com',1,1,'','','','');
34243:20200414:040439.657 query [txnlev:1] [insert into interface (interfaceid,hostid,main,type,useip,ip,dns,port,bulk) values (4,10321,1,1,1,'192.168.188.101','uatweb.datacentre.example.com','10050',1);
34248:20200414:040447.061 trapper got '{"request":"active checks","host":"uatweb"}'
34248:20200414:040447.061 In get_hostid_by_host() host:'uatweb' metadata:''
34248:20200414:040447.061 query [txnlev:0] [select h.hostid,h.status,h.tls_accept,h.tls_issuer,h.tls_subject,h.tls_psk_identity,a.host_metadata,a.listen_ip,a.listen_dns,a.listen_port,a.flags from hosts h left join autoreg_host a on a.proxy_hostid is null and a.host=h.host where h.host='uatweb' and h.status in (0,1) and h.flags<>2 and h.proxy_hostid is null]
34248:20200414:040447.067 query [txnlev:1] [insert into proxy_autoreg_host (clock,host,listen_ip,listen_dns,listen_port,tls_accepted,host_metadata,flags) values (1586837087,'uatweb','192.168.188.110','uatweb.datacentre.example.com',10050,1,'',0)]
34248:20200414:040447.070 cannot send list of active checks to "192.168.188.110": host [uatweb] not found
34248:20200414:040447.070 send_list_of_active_checks_json() sending [{"response":"failed","info":"host [uatweb] not found"}]
34248:20200414:040647.096 trapper got '{"request":"active checks","host":"uatweb"}'
34248:20200414:040647.096 In get_hostid_by_host() host:'uatweb' metadata:''
34248:20200414:040647.096 query [txnlev:0] [select h.hostid,h.status,h.tls_accept,h.tls_issuer,h.tls_subject,h.tls_psk_identity,a.host_metadata,a.listen_ip,a.listen_dns,a.listen_port,a.flags from hosts h left join autoreg_host a on a.proxy_hostid is null and a.host=h.host where h.host='uatweb' and h.status in (0,1) and h.flags<>2 and h.proxy_hostid is null]
34248:20200414:040647.098 query [txnlev:1] [insert into proxy_autoreg_host (clock,host,listen_ip,listen_dns,listen_port,tls_accepted,host_metadata,flags) values (1586837207,'uatweb','192.168.188.110','uatweb.datacentre.example.com',10050,1,'',0)]
34248:20200414:040647.099 cannot send list of active checks to "192.168.188.110": host [uatweb] not found
34248:20200414:040647.099 send_list_of_active_checks_json() sending [{"response":"failed","info":"host [uatweb] not found"}]
34247:20200414:040847.126 trapper got '{"request":"active checks","host":"uatweb"}'
34247:20200414:040847.126 In get_hostid_by_host() host:'uatweb' metadata:''
34247:20200414:040847.126 query [txnlev:0] [select h.hostid,h.status,h.tls_accept,h.tls_issuer,h.tls_subject,h.tls_psk_identity,a.host_metadata,a.listen_ip,a.listen_dns,a.listen_port,a.flags from hosts h left join autoreg_host a on a.proxy_hostid is null and a.host=h.host where h.host='uatweb' and h.status in (0,1) and h.flags<>2 and h.proxy_hostid is null]
34247:20200414:040847.132 query [txnlev:1] [insert into proxy_autoreg_host (clock,host,listen_ip,listen_dns,listen_port,tls_accepted,host_metadata,flags) values (1586837327,'uatweb','192.168.188.110','uatweb.datacentre.example.com',10050,1,'',0)]
34247:20200414:040847.134 cannot send list of active checks to "192.168.188.110": host [uatweb] not found
34247:20200414:040847.134 send_list_of_active_checks_json() sending [{"response":"failed","info":"host [uatweb] not found"}]
Comment