Having issues with Auto Registration, We were running Zabbix 3.2 upgraded to 3.4.13 and now none of our Auto Registration Actions work. I turned up the logging on the server side and can see it says "Insert" but I never seems to really insert. This is what the server side log shows and it just repeats.
10016:20180904:093443.058 trapper got '{"request":"active checks","host":"Kalispell - PFS","host_metadata":"PFS","ip":"x.x.x.x"}'
10016:20180904:093443.058 In is_ip4() ip:'x.x.x.x'
10016:20180904:093443.060 query [txnlev:1] [insert into autoreg_host (autoreg_hostid,proxy_hostid,host,listen_ip,listen _dns,listen_port,host_metadata) values (74259,null,'Kalispell - PFS','64.91.118.225','x.x.x.x .stat.centurytel.net',10050,'PFS');
10016:20180904:093443.066 query [txnlev:1] [insert into interface (interfaceid,hostid,main,type,useip,ip,dns,port) values (314,10423,1,1,1,x.x.x.x','x.x.x.x.stat.centurytel .net',10050)]
10016:20180904:093443.160 cannot send list of active checks to "x.x.x.x": host [Kalispell - PFS] not found
In looking at the Database I can confirm it does not insert.
Example Client Config is simple for testing:
Server=x.x.x.x
ServerActive=x.x.x.x:10051
Hostname=Kalispell - PFS
ListenIP=x.x.x.x
ListenPort=10050
RefreshActiveChecks=120
DebugLevel=3
PidFile=/var/run/zabbix-agent/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=1
Timeout=3
BufferSend=5
BufferSize=100
StartAgents=3
TLSConnect=unencrypted
TLSAccept=unencrypted
HostMetadata=PFS
Where else can I look to see what is going on?
10016:20180904:093443.058 trapper got '{"request":"active checks","host":"Kalispell - PFS","host_metadata":"PFS","ip":"x.x.x.x"}'
10016:20180904:093443.058 In is_ip4() ip:'x.x.x.x'
10016:20180904:093443.060 query [txnlev:1] [insert into autoreg_host (autoreg_hostid,proxy_hostid,host,listen_ip,listen _dns,listen_port,host_metadata) values (74259,null,'Kalispell - PFS','64.91.118.225','x.x.x.x .stat.centurytel.net',10050,'PFS');
10016:20180904:093443.066 query [txnlev:1] [insert into interface (interfaceid,hostid,main,type,useip,ip,dns,port) values (314,10423,1,1,1,x.x.x.x','x.x.x.x.stat.centurytel .net',10050)]
10016:20180904:093443.160 cannot send list of active checks to "x.x.x.x": host [Kalispell - PFS] not found
In looking at the Database I can confirm it does not insert.
Example Client Config is simple for testing:
Server=x.x.x.x
ServerActive=x.x.x.x:10051
Hostname=Kalispell - PFS
ListenIP=x.x.x.x
ListenPort=10050
RefreshActiveChecks=120
DebugLevel=3
PidFile=/var/run/zabbix-agent/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=1
Timeout=3
BufferSend=5
BufferSize=100
StartAgents=3
TLSConnect=unencrypted
TLSAccept=unencrypted
HostMetadata=PFS
Where else can I look to see what is going on?
Comment