Ad Widget

Collapse

Active agent works on Appliance 3.2 but not on Zabbix 3.2 Centos7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rogerv
    Junior Member
    • May 2016
    • 6

    #1

    Active agent works on Appliance 3.2 but not on Zabbix 3.2 Centos7

    Hi

    Running two versions of Zabbix in-house. First the zabbix appliance (version 3.2). We have successfully got zabbix agents communicating with the zabbix applince server, both active and passive. Because of the limitations of the zabbix appliance i've installed zabbix (3.2) on a centos7 server and was starting to transfer the setup from the appliance server to the full server. Everything seemed to be working fine until i started to switch the active zabbix agents across. None of them seem to be ableto communicate with the new server (passive agenst are fine). Repointing these active agents back to the appliance server works as well. The error shown on the zabbix server is
    "Get value from Agent Failed:cannot connect to [[0.0.0.0]:10050]:[111] Connection refused".

    Upping the log level on the agent shows that data seems to be being transmitted from the agent, also the agent seems to be picking up the templates from the server, but the server just seems to think it cannot connect. I've tried disabling both Selinux and firewalld on the zabbix server but still no luck. I can ping the agent OS from the server and can ping the server from the agent OS (all the agents are installed on Windows OS). I can telnet from the agent OS to the server and get a connection. I'm not sure where the issue lies here. Can anybody suggest how to troubleshoot this or has come across this issue before ?
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by rogerv
    Hi

    Running two versions of Zabbix in-house. First the zabbix appliance (version 3.2). We have successfully got zabbix agents communicating with the zabbix applince server, both active and passive. Because of the limitations of the zabbix appliance i've installed zabbix (3.2) on a centos7 server and was starting to transfer the setup from the appliance server to the full server. Everything seemed to be working fine until i started to switch the active zabbix agents across. None of them seem to be ableto communicate with the new server (passive agenst are fine). Repointing these active agents back to the appliance server works as well. The error shown on the zabbix server is
    "Get value from Agent Failed:cannot connect to [[0.0.0.0]:10050]:[111] Connection refused".

    Upping the log level on the agent shows that data seems to be being transmitted from the agent, also the agent seems to be picking up the templates from the server, but the server just seems to think it cannot connect. I've tried disabling both Selinux and firewalld on the zabbix server but still no luck. I can ping the agent OS from the server and can ping the server from the agent OS (all the agents are installed on Windows OS). I can telnet from the agent OS to the server and get a connection. I'm not sure where the issue lies here. Can anybody suggest how to troubleshoot this or has come across this issue before ?
    can you try re-installing the agent ?
    and try to telnet between agent and server to see port 10050 is open
    telnet $ZABBIXSERVERIP 10050 --> from agent machine
    telnet $AGENTSERVERIP 10050 -->> from zabbix machine.

    see zabbix server logs with debug level 4

    Comment

    • rogerv
      Junior Member
      • May 2016
      • 6

      #3
      Hi
      So i can telnet from the Agent to the zabbix server (on port 10050) and get a response, and i can telnet from the server to the agent (on port 10051) and get a response.

      Logs from the agent show that it picks up template changes - snip here:

      70128:20170202:102605.834 sending [{"request":"active checks","host":"Test-74"}]
      70128:20170202:102605.850 before read
      70128:20170202:102605.850 got [{"response":"success","data":[]}]
      70128:20170202:102605.850 In parse_list_of_checks()
      70128:20170202:102605.850 End of parse_list_of_checks():SUCCEED
      70128:20170202:102605.850 End of refresh_active_checks():SUCCEED
      70128:20170202:102605.865 In process_active_checks() server:'10.0.5.156' port:10051
      70128:20170202:102605.865 End of process_active_checks()
      70128:20170202:102605.865 In get_min_nextcheck()
      70128:20170202:102605.865 End of get_min_nextcheck():-1
      71484:20170202:102606.053 End of get_counter_name():SUCCEED
      71484:20170202:102606.068 In get_counter_name() pdhIndex:6
      71484:20170202:102606.068 End of get_counter_name():SUCCEED
      71484:20170202:102606.068 In add_perf_counter() counter:'\Processor(_Total)\% Processor Time' interval:900
      71484:20170202:102606.068 add_perf_counter(): PerfCounter '\Processor(_Total)\% Processor Time' successfully added
      71484:20170202:102606.068 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.084 In add_perf_counter() counter:'\Processor(0)\% Processor Time' interval:900
      71484:20170202:102606.084 add_perf_counter(): PerfCounter '\Processor(0)\% Processor Time' successfully added
      71484:20170202:102606.084 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.084 In add_perf_counter() counter:'\Processor(1)\% Processor Time' interval:900
      71484:20170202:102606.084 add_perf_counter(): PerfCounter '\Processor(1)\% Processor Time' successfully added
      71484:20170202:102606.099 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.099 In add_perf_counter() counter:'\Processor(2)\% Processor Time' interval:900
      71484:20170202:102606.099 add_perf_counter(): PerfCounter '\Processor(2)\% Processor Time' successfully added
      71484:20170202:102606.099 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.099 In add_perf_counter() counter:'\Processor(3)\% Processor Time' interval:900
      71484:20170202:102606.099 add_perf_counter(): PerfCounter '\Processor(3)\% Processor Time' successfully added
      71484:20170202:102606.115 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.115 In get_counter_name() pdhIndex:2
      71484:20170202:102606.115 End of get_counter_name():SUCCEED
      71484:20170202:102606.115 In get_counter_name() pdhIndex:44
      71484:20170202:102606.115 End of get_counter_name():SUCCEED
      71484:20170202:102606.115 In add_perf_counter() counter:'\System\Processor Queue Length' interval:900
      71484:20170202:102606.131 add_perf_counter(): PerfCounter '\System\Processor Queue Length' successfully added
      71484:20170202:102606.131 End of add_perf_counter(): SUCCEED
      71484:20170202:102606.131 End of init_cpu_collector():SUCCEED


      Logs from server show:

      2720:20170202:102509.907 trapper got '{"request":"active checks","host":"Test-74"}'
      2720:20170202:102509.907 In send_list_of_active_checks_json()
      2720:20170202:102509.908 In get_hostid_by_host() host:'Test-74'
      2720:20170202:102509.908 query [txnlev:0] [select hostid,status,tls_accept,tls_issuer,tls_subject,tl s_psk_identity from hosts where host='Test-74' and status in (0,1) and flags<>2 and proxy_hostid is null]
      2720:20170202:102509.908 End of get_hostid_by_host():SUCCEED
      2720:20170202:102509.908 query [txnlev:0] [select itemid from items where type=7 and flags<>2 and hostid=10111]
      2720:20170202:102509.908 send_list_of_active_checks_json() sending [{"response":"success","data":[]}]
      2720:20170202:102509.908 End of send_list_of_active_checks_json():SUCCEED
      2720:20170202:102509.908 __zbx_zbx_setproctitle() title:'trapper #3 [processed data in 0.000675 sec, waiting for connection]'
      2736:20170202:102510.550 __zbx_zbx_setproctitle() title:'task manager [processing tasks]'
      2736:20170202:102510.550 query [txnlev:0] [select taskid,type from task order by taskid]
      2736:20170202:102510.550 __zbx_zbx_setproctitle() title:'task manager [processed 0 task(s) in 0.000205 sec, idle 5 sec]'
      2735:20170202:102510.575 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
      2735:20170202:102510.575 In collect_selfmon_stats()
      2735:20170202:102510.575 End of collect_selfmon_stats()



      Further logs in the agent show:

      70128:20170202:102606.879 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
      70128:20170202:102606.879 End of send_buffer():SUCCEED
      71484:20170202:102607.160 In collect_perfstat()
      71484:20170202:102607.176 End of collect_perfstat()
      70128:20170202:102607.909 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
      70128:20170202:102607.909 End of send_buffer():SUCCEED
      71484:20170202:102608.205 In collect_perfstat()
      71484:20170202:102608.221 End of collect_perfstat()
      70128:20170202:102608.939 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
      70128:20170202:102608.939 End of send_buffer():SUCCEED


      And server logs show:

      2715:20170202:102652.567 __zbx_zbx_setproctitle() title:'poller #4 [got 0 values in 0.000049 sec, idle 5 sec]'
      2735:20170202:102652.593 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
      2735:20170202:102652.593 In collect_selfmon_stats()
      2735:20170202:102652.593 End of collect_selfmon_stats()
      2735:20170202:102652.593 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000021 sec, idle 1 sec]'
      2729:20170202:102652.642 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000141 sec, syncing history]'
      2729:20170202:102652.642 In DCsync_history() history_num:0
      2732:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000114 sec, syncing history]'
      2729:20170202:102652.643 In flush_correlated_events() events_num:0
      2732:20170202:102652.643 In DCsync_history() history_num:0
      2729:20170202:102652.643 End of flush_correlated_events() events_num:0
      2732:20170202:102652.643 In flush_correlated_events() events_num:0
      2729:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000144 sec, idle 1 sec]'
      2732:20170202:102652.643 End of flush_correlated_events() events_num:0
      2732:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000123 sec, idle 1 sec]'
      2731:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000124 sec, syncing history]'
      2731:20170202:102652.643 In DCsync_history() history_num:0
      2730:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000113 sec, syncing history]'
      2731:20170202:102652.643 In flush_correlated_events() events_num:0
      2730:20170202:102652.643 In DCsync_history() history_num:0
      2731:20170202:102652.643 End of flush_correlated_events() events_num:0
      2730:20170202:102652.643 In flush_correlated_events() events_num:0
      2731:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000119 sec, idle 1 sec]'
      2730:20170202:102652.643 End of flush_correlated_events() events_num:0
      2730:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000110 sec, idle 1 sec]'
      2734:20170202:102653.556 __zbx_zbx_setproctitle() title:'proxy poller #1 [exchanged data with 0 proxies in 0.000038 sec, exchanging data]'
      2734:20170202:102653.556 In process_proxy()
      2734:20170202:102653.556 In DCconfig_get_proxypoller_hosts()
      2734:20170202:102653.556 End of DCconfig_get_proxypoller_hosts():0
      2734:20170202:102653.556 End of process_proxy()
      2734:20170202:102653.556 In DCconfig_get_proxypoller_nextcheck()
      2734:20170202:102653.556 End of DCconfig_get_proxypoller_nextcheck():-1
      2734:20170202:102653.556 __zbx_zbx_setproctitle() title:'proxy poller #1 [exchanged data with 0 proxies in 0.000068 sec, idle 5 sec]'
      2723:20170202:102653.558 __zbx_zbx_setproctitle() title:'icmp pinger #1 [getting values]'
      2723:20170202:102653.558 In get_pinger_hosts()
      2723:20170202:102653.558 In DCconfig_get_poller_items() poller_type:3
      2723:20170202:102653.558 End of DCconfig_get_poller_items():0
      2723:20170202:102653.558 End of get_pinger_hosts():0
      2723:20170202:102653.558 In process_pinger_hosts()
      2723:20170202:102653.558 End of process_pinger_hosts()
      2723:20170202:102653.558 In DCconfig_get_poller_nextcheck() poller_type:3
      2723:20170202:102653.558 End of DCconfig_get_poller_nextcheck():-1
      2723:20170202:102653.558 __zbx_zbx_setproctitle() title:'icmp pinger #1 [got 0 values in 0.000053 sec, idle 5 sec]'
      2735:20170202:102653.593 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
      2735:20170202:102653.593 In collect_selfmon_stats()
      2735:20170202:102653.593 End of collect_selfmon_stats()
      2735:20170202:102653.593 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000022 sec, idle 1 sec]'
      2727:20170202:102653.624 __zbx_zbx_setproctitle() title:'http poller #1 [got 0 values in 0.000426 sec, getting values]'
      2727:20170202:102653.624 In process_httptests()
      2727:20170202:102653.624 query [txnlev:0] [select h.hostid,h.host,h.name,t.httptestid,t.name,t.varia bles,t.headers,t.agent,t.authentication,t.http_use r,t.http_password,t.http_proxy,t.retries,t.ssl_cer t_file,t.ssl_key_file,t.ssl_key_password,t.verify_ peer,t.verify_host from httptest t,hosts h where t.hostid=h.hostid and t.nextcheck<=1486031213 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)]
      2727:20170202:102653.625 End of process_httptests()
      2727:20170202:102653.625 query [txnlev:0] [select min(t.nextcheck) from httptest t,hosts h where t.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)]
      2727:20170202:102653.625 No httptests to process in get_minnextcheck.
      2727:20170202:102653.625 __zbx_zbx_setproctitle() title:'http poller #1 [got 0 values in 0.000421 sec, idle 5 sec]'
      2729:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000144 sec, syncing history]'
      2729:20170202:102653.643 In DCsync_history() history_num:0
      2732:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000123 sec, syncing history]'
      2729:20170202:102653.643 In flush_correlated_events() events_num:0
      2732:20170202:102653.643 In DCsync_history() history_num:0
      2729:20170202:102653.643 End of flush_correlated_events() events_num:0
      2732:20170202:102653.643 In flush_correlated_events() events_num:0
      2729:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000138 sec, idle 1 sec]'
      2732:20170202:102653.643 End of flush_correlated_events() events_num:0
      2732:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000111 sec, idle 1 sec]'
      2731:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000119 sec, syncing history]'
      2731:20170202:102653.643 In DCsync_history() history_num:0
      2730:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000110 sec, syncing history]'
      2731:20170202:102653.643 In flush_correlated_events() events_num:0
      2730:20170202:102653.643 In DCsync_history() history_num:0
      2731:20170202:102653.643 End of flush_correlated_events() events_num:0
      2730:20170202:102653.643 In flush_correlated_events() events_num:0
      2731:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000110 sec, idle 1 sec]'
      2730:20170202:102653.643 End of flush_correlated_events() events_num:0
      2730:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000106 sec, idle 1 sec]'


      From these logs i cannot see a lot wrong. Can anybody spot anything ?. Would there be any error codes or messages that i could search for perhaps ?

      Thanks

      Roger

      Comment

      • batchenr
        Senior Member
        • Sep 2016
        • 440

        #4
        Originally posted by rogerv
        Hi
        So i can telnet from the Agent to the zabbix server (on port 10050) and get a response, and i can telnet from the server to the agent (on port 10051) and get a response.

        Logs from the agent show that it picks up template changes - snip here:

        70128:20170202:102605.834 sending [{"request":"active checks","host":"Test-74"}]
        70128:20170202:102605.850 before read
        70128:20170202:102605.850 got [{"response":"success","data":[]}]
        70128:20170202:102605.850 In parse_list_of_checks()
        70128:20170202:102605.850 End of parse_list_of_checks():SUCCEED
        70128:20170202:102605.850 End of refresh_active_checks():SUCCEED
        70128:20170202:102605.865 In process_active_checks() server:'10.0.5.156' port:10051
        70128:20170202:102605.865 End of process_active_checks()
        70128:20170202:102605.865 In get_min_nextcheck()
        70128:20170202:102605.865 End of get_min_nextcheck():-1
        71484:20170202:102606.053 End of get_counter_name():SUCCEED
        71484:20170202:102606.068 In get_counter_name() pdhIndex:6
        71484:20170202:102606.068 End of get_counter_name():SUCCEED
        71484:20170202:102606.068 In add_perf_counter() counter:'\Processor(_Total)\% Processor Time' interval:900
        71484:20170202:102606.068 add_perf_counter(): PerfCounter '\Processor(_Total)\% Processor Time' successfully added
        71484:20170202:102606.068 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.084 In add_perf_counter() counter:'\Processor(0)\% Processor Time' interval:900
        71484:20170202:102606.084 add_perf_counter(): PerfCounter '\Processor(0)\% Processor Time' successfully added
        71484:20170202:102606.084 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.084 In add_perf_counter() counter:'\Processor(1)\% Processor Time' interval:900
        71484:20170202:102606.084 add_perf_counter(): PerfCounter '\Processor(1)\% Processor Time' successfully added
        71484:20170202:102606.099 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.099 In add_perf_counter() counter:'\Processor(2)\% Processor Time' interval:900
        71484:20170202:102606.099 add_perf_counter(): PerfCounter '\Processor(2)\% Processor Time' successfully added
        71484:20170202:102606.099 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.099 In add_perf_counter() counter:'\Processor(3)\% Processor Time' interval:900
        71484:20170202:102606.099 add_perf_counter(): PerfCounter '\Processor(3)\% Processor Time' successfully added
        71484:20170202:102606.115 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.115 In get_counter_name() pdhIndex:2
        71484:20170202:102606.115 End of get_counter_name():SUCCEED
        71484:20170202:102606.115 In get_counter_name() pdhIndex:44
        71484:20170202:102606.115 End of get_counter_name():SUCCEED
        71484:20170202:102606.115 In add_perf_counter() counter:'\System\Processor Queue Length' interval:900
        71484:20170202:102606.131 add_perf_counter(): PerfCounter '\System\Processor Queue Length' successfully added
        71484:20170202:102606.131 End of add_perf_counter(): SUCCEED
        71484:20170202:102606.131 End of init_cpu_collector():SUCCEED


        Logs from server show:

        2720:20170202:102509.907 trapper got '{"request":"active checks","host":"Test-74"}'
        2720:20170202:102509.907 In send_list_of_active_checks_json()
        2720:20170202:102509.908 In get_hostid_by_host() host:'Test-74'
        2720:20170202:102509.908 query [txnlev:0] [select hostid,status,tls_accept,tls_issuer,tls_subject,tl s_psk_identity from hosts where host='Test-74' and status in (0,1) and flags<>2 and proxy_hostid is null]
        2720:20170202:102509.908 End of get_hostid_by_host():SUCCEED
        2720:20170202:102509.908 query [txnlev:0] [select itemid from items where type=7 and flags<>2 and hostid=10111]
        2720:20170202:102509.908 send_list_of_active_checks_json() sending [{"response":"success","data":[]}]
        2720:20170202:102509.908 End of send_list_of_active_checks_json():SUCCEED
        2720:20170202:102509.908 __zbx_zbx_setproctitle() title:'trapper #3 [processed data in 0.000675 sec, waiting for connection]'
        2736:20170202:102510.550 __zbx_zbx_setproctitle() title:'task manager [processing tasks]'
        2736:20170202:102510.550 query [txnlev:0] [select taskid,type from task order by taskid]
        2736:20170202:102510.550 __zbx_zbx_setproctitle() title:'task manager [processed 0 task(s) in 0.000205 sec, idle 5 sec]'
        2735:20170202:102510.575 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
        2735:20170202:102510.575 In collect_selfmon_stats()
        2735:20170202:102510.575 End of collect_selfmon_stats()



        Further logs in the agent show:

        70128:20170202:102606.879 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
        70128:20170202:102606.879 End of send_buffer():SUCCEED
        71484:20170202:102607.160 In collect_perfstat()
        71484:20170202:102607.176 End of collect_perfstat()
        70128:20170202:102607.909 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
        70128:20170202:102607.909 End of send_buffer():SUCCEED
        71484:20170202:102608.205 In collect_perfstat()
        71484:20170202:102608.221 End of collect_perfstat()
        70128:20170202:102608.939 In send_buffer() host:'10.0.5.156' port:10051 entries:0/100
        70128:20170202:102608.939 End of send_buffer():SUCCEED


        And server logs show:

        2715:20170202:102652.567 __zbx_zbx_setproctitle() title:'poller #4 [got 0 values in 0.000049 sec, idle 5 sec]'
        2735:20170202:102652.593 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
        2735:20170202:102652.593 In collect_selfmon_stats()
        2735:20170202:102652.593 End of collect_selfmon_stats()
        2735:20170202:102652.593 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000021 sec, idle 1 sec]'
        2729:20170202:102652.642 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000141 sec, syncing history]'
        2729:20170202:102652.642 In DCsync_history() history_num:0
        2732:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000114 sec, syncing history]'
        2729:20170202:102652.643 In flush_correlated_events() events_num:0
        2732:20170202:102652.643 In DCsync_history() history_num:0
        2729:20170202:102652.643 End of flush_correlated_events() events_num:0
        2732:20170202:102652.643 In flush_correlated_events() events_num:0
        2729:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000144 sec, idle 1 sec]'
        2732:20170202:102652.643 End of flush_correlated_events() events_num:0
        2732:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000123 sec, idle 1 sec]'
        2731:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000124 sec, syncing history]'
        2731:20170202:102652.643 In DCsync_history() history_num:0
        2730:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000113 sec, syncing history]'
        2731:20170202:102652.643 In flush_correlated_events() events_num:0
        2730:20170202:102652.643 In DCsync_history() history_num:0
        2731:20170202:102652.643 End of flush_correlated_events() events_num:0
        2730:20170202:102652.643 In flush_correlated_events() events_num:0
        2731:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000119 sec, idle 1 sec]'
        2730:20170202:102652.643 End of flush_correlated_events() events_num:0
        2730:20170202:102652.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000110 sec, idle 1 sec]'
        2734:20170202:102653.556 __zbx_zbx_setproctitle() title:'proxy poller #1 [exchanged data with 0 proxies in 0.000038 sec, exchanging data]'
        2734:20170202:102653.556 In process_proxy()
        2734:20170202:102653.556 In DCconfig_get_proxypoller_hosts()
        2734:20170202:102653.556 End of DCconfig_get_proxypoller_hosts():0
        2734:20170202:102653.556 End of process_proxy()
        2734:20170202:102653.556 In DCconfig_get_proxypoller_nextcheck()
        2734:20170202:102653.556 End of DCconfig_get_proxypoller_nextcheck():-1
        2734:20170202:102653.556 __zbx_zbx_setproctitle() title:'proxy poller #1 [exchanged data with 0 proxies in 0.000068 sec, idle 5 sec]'
        2723:20170202:102653.558 __zbx_zbx_setproctitle() title:'icmp pinger #1 [getting values]'
        2723:20170202:102653.558 In get_pinger_hosts()
        2723:20170202:102653.558 In DCconfig_get_poller_items() poller_type:3
        2723:20170202:102653.558 End of DCconfig_get_poller_items():0
        2723:20170202:102653.558 End of get_pinger_hosts():0
        2723:20170202:102653.558 In process_pinger_hosts()
        2723:20170202:102653.558 End of process_pinger_hosts()
        2723:20170202:102653.558 In DCconfig_get_poller_nextcheck() poller_type:3
        2723:20170202:102653.558 End of DCconfig_get_poller_nextcheck():-1
        2723:20170202:102653.558 __zbx_zbx_setproctitle() title:'icmp pinger #1 [got 0 values in 0.000053 sec, idle 5 sec]'
        2735:20170202:102653.593 __zbx_zbx_setproctitle() title:'self-monitoring [processing data]'
        2735:20170202:102653.593 In collect_selfmon_stats()
        2735:20170202:102653.593 End of collect_selfmon_stats()
        2735:20170202:102653.593 __zbx_zbx_setproctitle() title:'self-monitoring [processed data in 0.000022 sec, idle 1 sec]'
        2727:20170202:102653.624 __zbx_zbx_setproctitle() title:'http poller #1 [got 0 values in 0.000426 sec, getting values]'
        2727:20170202:102653.624 In process_httptests()
        2727:20170202:102653.624 query [txnlev:0] [select h.hostid,h.host,h.name,t.httptestid,t.name,t.varia bles,t.headers,t.agent,t.authentication,t.http_use r,t.http_password,t.http_proxy,t.retries,t.ssl_cer t_file,t.ssl_key_file,t.ssl_key_password,t.verify_ peer,t.verify_host from httptest t,hosts h where t.hostid=h.hostid and t.nextcheck<=1486031213 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)]
        2727:20170202:102653.625 End of process_httptests()
        2727:20170202:102653.625 query [txnlev:0] [select min(t.nextcheck) from httptest t,hosts h where t.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)]
        2727:20170202:102653.625 No httptests to process in get_minnextcheck.
        2727:20170202:102653.625 __zbx_zbx_setproctitle() title:'http poller #1 [got 0 values in 0.000421 sec, idle 5 sec]'
        2729:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000144 sec, syncing history]'
        2729:20170202:102653.643 In DCsync_history() history_num:0
        2732:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000123 sec, syncing history]'
        2729:20170202:102653.643 In flush_correlated_events() events_num:0
        2732:20170202:102653.643 In DCsync_history() history_num:0
        2729:20170202:102653.643 End of flush_correlated_events() events_num:0
        2732:20170202:102653.643 In flush_correlated_events() events_num:0
        2729:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #1 [synced 0 items in 0.000138 sec, idle 1 sec]'
        2732:20170202:102653.643 End of flush_correlated_events() events_num:0
        2732:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #4 [synced 0 items in 0.000111 sec, idle 1 sec]'
        2731:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000119 sec, syncing history]'
        2731:20170202:102653.643 In DCsync_history() history_num:0
        2730:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000110 sec, syncing history]'
        2731:20170202:102653.643 In flush_correlated_events() events_num:0
        2730:20170202:102653.643 In DCsync_history() history_num:0
        2731:20170202:102653.643 End of flush_correlated_events() events_num:0
        2730:20170202:102653.643 In flush_correlated_events() events_num:0
        2731:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000110 sec, idle 1 sec]'
        2730:20170202:102653.643 End of flush_correlated_events() events_num:0
        2730:20170202:102653.643 __zbx_zbx_setproctitle() title:'history syncer #2 [synced 0 items in 0.000106 sec, idle 1 sec]'


        From these logs i cannot see a lot wrong. Can anybody spot anything ?. Would there be any error codes or messages that i could search for perhaps ?

        Thanks

        Roger
        i dont see that your error repeat -
        "Get value from Agent Failed:cannot connect to [[0.0.0.0]:10050]:[111] Connection refused".
        do you still have it ?
        what is the issue now ?

        i dont spot any error from the logs all look like it works fine

        Comment

        • rogerv
          Junior Member
          • May 2016
          • 6

          #5
          Hi
          Yes, issue is still the same. Just wondering if there is something in the Centos7 minimal build that may be stopping something, or perhaps it's something to do with the build level of zabbix ad tne pre-req's, though when i built it all the pre-reqs showed green ticks. And the active agents work ok on a zabbix appliance server on the same network and the centos7 zabbix server. Pretty much stumped for a solution at the moment.

          Comment

          • batchenr
            Senior Member
            • Sep 2016
            • 440

            #6
            Originally posted by rogerv
            Hi
            Yes, issue is still the same. Just wondering if there is something in the Centos7 minimal build that may be stopping something, or perhaps it's something to do with the build level of zabbix ad tne pre-req's, though when i built it all the pre-reqs showed green ticks. And the active agents work ok on a zabbix appliance server on the same network and the centos7 zabbix server. Pretty much stumped for a solution at the moment.
            did you disabled Selinux ?

            Comment

            • kloczek
              Senior Member
              • Jun 2006
              • 1771

              #7
              Originally posted by rogerv
              "Get value from Agent Failed:cannot connect to [[0.0.0.0]:10050]:[111] Connection refused".
              On first loo seems like you have still type of the items on this host not as "zabbix agent (active)" but "zabbix agent".
              On change from passive agent to active one you must change types of the items.
              http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
              https://kloczek.wordpress.com/
              zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
              My zabbix templates https://github.com/kloczek/zabbix-templates

              Comment

              • rogerv
                Junior Member
                • May 2016
                • 6

                #8
                Hi

                SELinux is disabled (and so is firewalld). As regards the active vs passive checks. I can point the agent to a zabbix appliance server and it is monitored correctly, both the zabbix servers are on the same network (and in the same subnet). I would have thought that if the passive vs active checks was the cause it would be the same for both servers ? (maybe not). I've done this the same way for a few zabbix appliance servers now (at different sites) and all the appliance servers are ok. This is my first attempt at a full zabbix server build and everything works apart from the active checks, which is quite frustrating.

                How would i go about removing the passive checks (there are not many - the only template being applied is the Windows OS one).

                Comment

                • kloczek
                  Senior Member
                  • Jun 2006
                  • 1771

                  #9
                  Originally posted by rogerv
                  How would i go about removing the passive checks (there are not many - the only template being applied is the Windows OS one).
                  G list of items of your Windows template -> mark all "zabbix agent" items in template -> mass update and change type to "zabbix agent (active)"
                  http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
                  https://kloczek.wordpress.com/
                  zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
                  My zabbix templates https://github.com/kloczek/zabbix-templates

                  Comment

                  Working...