Ad Widget

Collapse

no data after proxy die and reinstalled

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GIL
    Junior Member
    • Nov 2014
    • 10

    #1

    no data after proxy die and reinstalled

    Hi all. recently one of my zabbix proxies is die. I've just install new VM with same name, ip and config. Zabbix server is 6.4.12 ver, and new proxy is 6.4.13 ver. Also i have some other zabbix proxies with 6.4.13 versions and it's works fine.
    What I see on zabbix server - all hosts (Linux and Windows) have status as unknown (active\passive).
    What I see on zabbix proxy - I have a lot of messages in log as "cannot send list of active checks to <ip>: host <host> not found". zabbix_get gets items properly w\o any issue.
    What I see on zabbix agent - I have a lot of messages in log as "no active checks on server [proxy address]: host [agent host name] not found"
    Zabbix server and proxy hosts on Ubuntu 22.04
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    You definitely have some kind of communication issue between server and proxy. All the rest are consequences not a reason... Those messages in proxy and agent logs are normal. Proxy has not received any info from server, thus, it cannot provide anything to any agent, that asks for it. And agent message says the same, nothing received from proxy...
    Probably not visible also on proxy page (admin->proxies)? Last seen was since you had your old proxy? Do you have any encryption enabled between server and proxy? Are those configured correctly? TLS names-keys? Anything in server log about proxy comms? Active or passive proxies?

    Comment

    • GIL
      Junior Member
      • Nov 2014
      • 10

      #3
      On Admin->Proxies this proxy is normal (last seen have few seconds). No encryption between server and proxy
      Grep from zabbix server log:
      Code:
      2032429:20240412:132922.894 sending configuration data to proxy "v-xxx-zabbix-proxy1.xxx.local" at "yyy.yyy.yyy.yyy", datalen 497298, bytes 42980 with compression ratio 11.6
      2032429:20240412:132933.016 sending configuration data to proxy "v-xxx-zabbix-proxy1.xxx.local" at "yyy.yyy.yyy.yyy", datalen 497298, bytes 42980 with compression ratio 11.6
      2032429:20240412:132943.127 sending configuration data to proxy "v-xxxg-zabbix-proxy1.xxx.local" at "yyy.yyy.yyy.yyy", datalen 497298, bytes 42980 with compression ratio 11.6
      On proxy server side:
      Code:
      2888:20240412:133323.393 In zbx_ipc_service_recv() timeout:1.000
      2855:20240412:133323.393 In zbx_connect_to_server() [zbx.kmk.pro]:10051 [timeout:600, connection timeout:30]
       2855:20240412:133323.429 In zbx_is_ip4() ip:'zbx.kmk.pro'
      2855:20240412:133323.429 End of zbx_is_ip4():FAIL
      2855:20240412:133323.429 In zbx_is_ip6() ip:'zbx.kmk.pro'
      2855:20240412:133323.429 End of zbx_is_ip6():FAIL
      2855:20240412:133323.429 In zbx_put_data_to_server() datalen:280
      2855:20240412:133323.429 In zbx_recv_response()
      2855:20240412:133323.438 zbx_tcp_recv_ext(): received 48 bytes with compression ratio 0.9
      2855:20240412:133323.438 zbx_recv_response() '{"upload":"enabled","response":"success"}'
      2855:20240412:133323.438 End of zbx_recv_response():SUCCEED
      2855:20240412:133323.438 End of zbx_put_data_to_server():SUCCEED
      2855:20240412:133323.439 query [txnlev:1] [begin;]
      2855:20240412:133323.439 In proxy_set_lastid() [proxy_autoreg_host.autoreg_host_lastid:76782]
      2855:20240412:133323.439 query [txnlev:1] [select 1 from ids where table_name='proxy_autoreg_host' and field_name='autoreg_host_lastid']
      2855:20240412:133323.439 query [txnlev:1] [update ids set nextid=76782 where table_name='proxy_autoreg_host' and field_name='autoreg_host_lastid']
      2855:20240412:133323.440 End of proxy_set_lastid()
      2855:20240412:133323.440 query [txnlev:1] [commit;]
      2855:20240412:133323.440 End of proxy_data_sender():SUCCEED more:0 flags:0x8008
      2855:20240412:133323.441 zbx_setproctitle() title:'data sender [sent 1 values in 0.051223 sec, idle 1 sec]'
      2885:20240412:133323.922 zbx_setproctitle() title:'icmp pinger #1 [getting values]'
      2885:20240412:133323.922 In get_pinger_hosts()
      2885:20240412:133323.922 In DCconfig_get_poller_items() poller_type:3
      2885:20240412:133323.922 End of DCconfig_get_poller_items():0
      2885:20240412:133323.922 End of get_pinger_hosts():0
      2885:20240412:133323.922 In process_pinger_hosts()
      2885:20240412:133323.922 End of process_pinger_hosts()
      ​
      proxy is active

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        There is clearly no configuration received from the server on the proxy.
        Do you see the messages "received configuration data from server at "....", datalen ...." in the proxy logs ?
        Try to forcibly update the proxy configuration from the GUI (you should see the message "forced reloading of the configuration cache" in the proxy log )

        Comment

        • GIL
          Junior Member
          • Nov 2014
          • 10

          #5
          it seems like official bug for 6.4.13 version of zabbix, I remove 6.4.13 version and install 6.4.12 - all ok

          Comment

          Working...