Добрый день!
Настроил авто-регистрацию хостов по мануалу
Но хосты в заббиксе не появляются.
настройки сервера:

настройки агента:
вроде все правильно сделано, но хосты не добавляются
вот логи с заббикса:
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13542:20191030:155719.451 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:155919.358 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160119.365 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13542:20191030:160319.260 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160519.203 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:160719.277 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160919.209 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:161119.216 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
логи агента:
4052:20191030:134308.427 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
2256:20191030:134316.370 Zabbix Agent stopped. Zabbix 4.4.0 (revision 52334).
6076:20191030:134317.478 Starting Zabbix Agent [admincenter.domain.local]. Zabbix 2.4.4 (revision 52334).
6076:20191030:134317.478 using configuration file: c:\program files\Zabbix Agent\zabbix_agentd.conf
6076:20191030:134317.478 agent #0 started [main process]
5432:20191030:134317.478 agent #1 started [collector]
4248:20191030:134317.494 agent #2 started[listener #1]
2336:20191030:134317.494 agent #4 started[listener #3]
6468:20191030:134317.494 agent #3 started[listener #2]
6084:20191030:134317.494 agent #6 started[listener #5]
1580:20191030:134317.494 agent #7 started[listener #6]
4280:20191030:134317.494 agent #5 started[listener #4]
6836:20191030:134317.494 agent #8 started[listener #7]
7096:20191030:134317.509 agent #9 started[listener #8]
836:20191030:134317.509 agent #10 started[listener #9]
1244:20191030:134317.509 agent #12 started [active checks #1]
568:20191030:134317.509 agent #11 started[listener #10]
1244:20191030:134317.509 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
1244:20191030:134517.459 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
1244:20191030:134717.401 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
заранее спасибо за помощь
Настроил авто-регистрацию хостов по мануалу
Но хосты в заббиксе не появляются.
настройки сервера:
Code:
LogFile=/var/log/zabbix/zabbix_server.log LogFileSize=1024 PidFile=/var/run/zabbix/zabbix_server.pid DBHost= DBPort=6432 DBName=zabbix DBSchema=public DBUser=zabbix DBPassword=86160213 StartPollers=20 StartPollersUnreachable=15 StartPingers=5 StartDiscoverers=10 JavaGateway=127.0.0.1 StartVMwareCollectors=5 VMwareFrequency=40 VMwareCacheSize=64M SNMPTrapperFile=/var/log/snmptt/traps.log StartSNMPTrapper=1 HousekeepingFrequency=0 MaxHousekeeperDelete=10000 CacheSize=512M StartDBSyncers=10 HistoryCacheSize=128M HistoryIndexCacheSize=64M TrendCacheSize=48M ValueCacheSize=64M Timeout=9 AlertScriptsPath=/usr/lib/zabbix/alertscripts ExternalScripts=/usr/lib/zabbix/externalscripts FpingLocation=/usr/bin/fping Fping6Location=/usr/bin/fping6 SSHKeyLocation=/root/.ssh/known_hosts StartTrappers=5 #DebugLevel=5
настройки агента:
Code:
Server=10.1.60.33 ServerActive=10.1.60.33 # Unique hostname. Required for active checks. #HostnameItem=system.hostname[host] #HostnameItem=system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.ToLower()"] HostnameItem=system.run[powershell -NonInteractive "((Get-WmiObject win32_computersystem).DNSHostName+'.'+(Get-WmiObject win32_computersystem).Domain).ToLower()"] #HostMetadataItem=system.uname HostMetadata=windowsautoreg ListenPort=10050 LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log LogFileSize=10 #DebugLevel=4 EnableRemoteCommands=1 LogRemoteCommands=1 StartAgents=10 Timeout=30
вроде все правильно сделано, но хосты не добавляются
вот логи с заббикса:
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13542:20191030:155719.451 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:155919.358 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160119.365 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13542:20191030:160319.260 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160519.203 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:160719.277 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13546:20191030:160919.209 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
DETAIL: Failing row contains (11070, null, admincenter.domain.local, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , admincenter.domain.local, 0, null, null, 1, 1, , , , , , 1).
[insert into hosts (hostid,proxy_hostid,host,name) values (11070,null,'admincenter.domain.local','admincente r.domain.local');
13545:20191030:161119.216 cannot send list of active checks to "10.1.60.220": host [admincenter.domain.local] not found
логи агента:
4052:20191030:134308.427 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
2256:20191030:134316.370 Zabbix Agent stopped. Zabbix 4.4.0 (revision 52334).
6076:20191030:134317.478 Starting Zabbix Agent [admincenter.domain.local]. Zabbix 2.4.4 (revision 52334).
6076:20191030:134317.478 using configuration file: c:\program files\Zabbix Agent\zabbix_agentd.conf
6076:20191030:134317.478 agent #0 started [main process]
5432:20191030:134317.478 agent #1 started [collector]
4248:20191030:134317.494 agent #2 started[listener #1]
2336:20191030:134317.494 agent #4 started[listener #3]
6468:20191030:134317.494 agent #3 started[listener #2]
6084:20191030:134317.494 agent #6 started[listener #5]
1580:20191030:134317.494 agent #7 started[listener #6]
4280:20191030:134317.494 agent #5 started[listener #4]
6836:20191030:134317.494 agent #8 started[listener #7]
7096:20191030:134317.509 agent #9 started[listener #8]
836:20191030:134317.509 agent #10 started[listener #9]
1244:20191030:134317.509 agent #12 started [active checks #1]
568:20191030:134317.509 agent #11 started[listener #10]
1244:20191030:134317.509 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
1244:20191030:134517.459 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
1244:20191030:134717.401 no active checks on server [10.1.60.33:10051]: host [admincenter.domain.local] not found
заранее спасибо за помощь
Comment