Здравствуйте!
У мя проблемка. Бьюсь уже не первый день.
Агенты и сервер запускаются нормально. Порты прослушиваются:
Вот логи:
И дальше всё повторяется ..
На запросы агент отзывается:
В авто обнаружении находит всех агентов в виртуальной сети. Показывает, что агент обнаружен. А вот в вкладке "Узлы сети" упорно не хочет загораться значёк "Z" и как в следствии не получаю данные с агентов(( Куда копать не представляю.
Есть у кого идеи?
Заранее спасибо!
У мя проблемка. Бьюсь уже не первый день.
Агенты и сервер запускаются нормально. Порты прослушиваются:
Code:
root@happy:~# netstat -anp |grep 1005 tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 1514/zabbix_agentd tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 1468/zabbix_server tcp 0 0 192.168.1.201:10051 192.168.1.1:43535 TIME_WAIT - tcp 0 0 192.168.1.201:10051 192.168.1.201:57572 TIME_WAIT - tcp6 0 0 :::10051 :::* LISTEN 1468/zabbix_server
Code:
1476:20120625:155952.666 sleeping for 5 seconds
1506:20120625:155953.544 In collect_selfmon_stats()
1506:20120625:155953.545 End of collect_selfmon_stats()
1506:20120625:155953.545 sleeping for 1 seconds
1506:20120625:155954.545 In collect_selfmon_stats()
1506:20120625:155954.545 End of collect_selfmon_stats()
1506:20120625:155954.545 sleeping for 1 seconds
1481:20120625:155955.445 Trapper got [{
"request":"active checks",
"host":"happy"}] len 46
1481:20120625:155955.445 In send_list_of_active_checks_json()
1481:20120625:155955.445 In get_hostid_by_host() host:'happy'
1481:20120625:155955.445 query [txnlev:0] [select hostid,status from hosts where host='happy' and status in (0,1) and proxy_hostid is null and hostid between 0 and 99999999999999]
1481:20120625:155955.445 End of get_hostid_by_host():SUCCEED
1481:20120625:155955.445 query [txnlev:0] [select i.key_,i.delay,i.lastlogsize,i.mtime from items i,hosts h where i.hostid=h.hostid and h.status=0 and i.type=7 and i.flags<>2 and h.hostid=10096 and h.proxy_hostid is null and (i.status=0 or (i.status=3 and i.lastclock+600<=1340625595))]
1481:20120625:155955.445 send_list_of_active_checks_json() sending [{
"response":"success",
"data":[]}]
1481:20120625:155955.445 End of send_list_of_active_checks_json():SUCCEED
1506:20120625:155955.545 In collect_selfmon_stats()
1506:20120625:155955.545 End of collect_selfmon_stats()
1506:20120625:155955.545 sleeping for 1 seconds
1504:20120625:155955.663 In process_escalations()
1504:20120625:155955.663 query [txnlev:1] [begin;]
1504:20120625:155955.663 query [txnlev:1] [select escalationid,actionid,triggerid,eventid,r_eventid,esc_step,status,nextcheck from escalations where 1=1 and escalationid between 0 and 99999999999999 order by actionid,triggerid,escalationid]
1504:20120625:155955.663 query [txnlev:1] [commit;]
1504:20120625:155955.663 End of process_escalations()
1504:20120625:155955.663 escalator #1 spent 0.000254 seconds while processing escalations
1504:20120625:155955.663 sleeping for 3 seconds
1506:20120625:155956.545 In collect_selfmon_stats()
1506:20120625:155956.545 End of collect_selfmon_stats()
1506:20120625:155956.545 sleeping for 1 seconds
1489:20120625:155956.763 Syncing ...
1489:20120625:155956.790 In DCsync_history() history_first:0 history_num:0
1489:20120625:155956.790 history syncer #1 spent 0.000056 seconds while processing 0 items
1489:20120625:155956.791 sleeping for 5 seconds
1503:20120625:155957.122 Syncing ...
1503:20120625:155957.122 In DCsync_history() history_first:0 history_num:0
1503:20120625:155957.122 history syncer #4 spent 0.000042 seconds while processing 0 items
1503:20120625:155957.122 sleeping for 5 seconds
1473:20120625:155957.122 In get_values()
1473:20120625:155957.122 In DCconfig_get_poller_items() poller_type:0
1473:20120625:155957.122 End of DCconfig_get_poller_items():0
1473:20120625:155957.122 End of get_values():0
1473:20120625:155957.122 poller #2 spent 0.000085 seconds while updating 0 values
1473:20120625:155957.122 In DCconfig_get_poller_nextcheck() poller_type:0
1473:20120625:155957.122 End of DCconfig_get_poller_nextcheck():-1
1473:20120625:155957.122 sleeping for 5 seconds
1475:20120625:155957.122 In get_values()
1475:20120625:155957.122 In DCconfig_get_poller_items() poller_type:0
1475:20120625:155957.122 End of DCconfig_get_poller_items():0
1475:20120625:155957.122 End of get_values():0
1475:20120625:155957.122 poller #4 spent 0.000080 seconds while updating 0 values
1475:20120625:155957.122 In DCconfig_get_poller_nextcheck() poller_type:0
1475:20120625:155957.122 End of DCconfig_get_poller_nextcheck():-1
1475:20120625:155957.122 sleeping for 5 seconds
1502:20120625:155957.387 Syncing ...
1502:20120625:155957.387 In DCsync_history() history_first:0 history_num:0
1502:20120625:155957.387 history syncer #3 spent 0.000018 seconds while processing 0 items
1502:20120625:155957.387 sleeping for 5 seconds
1501:20120625:155957.481 Syncing ...
1501:20120625:155957.481 In DCsync_history() history_first:0 history_num:0
1501:20120625:155957.481 history syncer #2 spent 0.000018 seconds while processing 0 items
1501:20120625:155957.482 sleeping for 5 seconds
1505:20120625:155957.482 In process_proxy()
1505:20120625:155957.482 In DCconfig_get_proxypoller_hosts()
1505:20120625:155957.482 End of DCconfig_get_proxypoller_hosts():0
1505:20120625:155957.482 End of process_proxy()
1505:20120625:155957.482 proxy poller #1 spent 0.000092 seconds while processing 0 proxies
1505:20120625:155957.482 In DCconfig_get_proxypoller_nextcheck()
1505:20120625:155957.482 End of DCconfig_get_proxypoller_nextcheck():-1
1505:20120625:155957.482 sleeping for 5 seconds
1477:20120625:155957.501 In get_values()
1477:20120625:155957.501 In DCconfig_get_poller_items() poller_type:1
1477:20120625:155957.501 End of DCconfig_get_poller_items():0
1477:20120625:155957.501 End of get_values():0
1477:20120625:155957.501 unreachable poller #1 spent 0.000099 seconds while updating 0 values
1477:20120625:155957.501 In DCconfig_get_poller_nextcheck() poller_type:1
1477:20120625:155957.501 End of DCconfig_get_poller_nextcheck():-1
1477:20120625:155957.501 sleeping for 5 seconds
1472:20120625:155957.503 In get_values()
1472:20120625:155957.503 In DCconfig_get_poller_items() poller_type:0
1472:20120625:155957.503 End of DCconfig_get_poller_items():0
1472:20120625:155957.503 End of get_values():0
1472:20120625:155957.503 poller #1 spent 0.000097 seconds while updating 0 values
1472:20120625:155957.503 In DCconfig_get_poller_nextcheck() poller_type:0
1472:20120625:155957.503 End of DCconfig_get_poller_nextcheck():-1
1472:20120625:155957.503 sleeping for 5 seconds
1474:20120625:155957.506 In get_values()
1474:20120625:155957.506 In DCconfig_get_poller_items() poller_type:0
1474:20120625:155957.507 End of DCconfig_get_poller_items():0
1474:20120625:155957.507 End of get_values():0
1474:20120625:155957.507 poller #3 spent 0.000104 seconds while updating 0 values
1474:20120625:155957.507 In DCconfig_get_poller_nextcheck() poller_type:0
1474:20120625:155957.507 End of DCconfig_get_poller_nextcheck():-1
1474:20120625:155957.507 sleeping for 5 seconds
1483:20120625:155957.507 In get_pinger_hosts()
1483:20120625:155957.507 In DCconfig_get_poller_items() poller_type:3
1483:20120625:155957.507 End of DCconfig_get_poller_items():0
1483:20120625:155957.507 End of get_pinger_hosts():0
1483:20120625:155957.507 In process_pinger_hosts()
1483:20120625:155957.507 End of process_pinger_hosts()
1483:20120625:155957.507 icmp pinger #1 spent 0.000102 seconds while processing 0 items
1483:20120625:155957.507 In DCconfig_get_poller_nextcheck() poller_type:3
1483:20120625:155957.507 End of DCconfig_get_poller_nextcheck():-1
1483:20120625:155957.507 sleeping for 5 seconds
1506:20120625:155957.545 In collect_selfmon_stats()
1506:20120625:155957.545 End of collect_selfmon_stats()
1506:20120625:155957.545 sleeping for 1 seconds
1487:20120625:155957.573 In process_httptests()
1487:20120625:155957.573 query [txnlev:0] [select t.httptestid,t.name,t.macros,t.agent,t.authentication,t.http_user,t.http_password from httptest t,applications a,hosts h where t.applicationid=a.applicationid and a.hostid=h.hostid and t.nextcheck<=1340625597 and mod(t.httptestid,1)=0 and t.status=0 and h.proxy_hostid is null and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0) and t.httptestid between 0 and 99999999999999]
1487:20120625:155957.573 End of process_httptests()
1487:20120625:155957.573 http poller #1 spent 0.000518 seconds while updating HTTP tests
1487:20120625:155957.573 query [txnlev:0] [select min(t.nextcheck) from httptest t,applications a,hosts h where t.applicationid=a.applicationid and a.hostid=h.hostid and mod(t.httptestid,1)=0 and t.status=0 and h.proxy_hostid is null and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0) and t.httptestid between 0 and 99999999999999]
1487:20120625:155957.573 No httptests to process in get_minnextcheck.
1487:20120625:155957.573 sleeping for 5 seconds
1476:20120625:155957.666 In get_values()
1476:20120625:155957.666 In DCconfig_get_poller_items() poller_type:0
1476:20120625:155957.666 End of DCconfig_get_poller_items():0
1476:20120625:155957.666 End of get_values():0
1476:20120625:155957.666 poller #5 spent 0.000100 seconds while updating 0 values
1476:20120625:155957.666 In DCconfig_get_poller_nextcheck() poller_type:0
1476:20120625:155957.666 End of DCconfig_get_poller_nextcheck():-1
1476:20120625:155957.666 sleeping for 5 seconds
На запросы агент отзывается:
Code:
root@happy:~# zabbix_get -s 192.168.1.201 -k agent.version 2.0.0
Есть у кого идеи? Заранее спасибо!
Comment