Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23316

fping failed: no out due to Zabbix not providing any hosts

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.20
    • Proxy (P), Server (S)
    • None
    • Ubuntu 20.04

      In our proxy logs, we regularly see the message: "fping failed: no output". Increasing the log level of the icmp pinger processes to trace level shows:

      1635639:20230825:121358.669 In add_pinger_host() addr:''
      1635639:20230825:121358.669 End of add_pinger_host()
      1635639:20230825:121358.669 zbx_setproctitle() title:'icmp pinger #23 [pinging hosts]'
      1635639:20230825:121358.669 In zbx_ping() hosts_count:1
      1635639:20230825:121358.669 /tmp/zabbix_proxy_1635639.pinger
      1635639:20230825:121358.669
      1635639:20230825:121358.669 /usr/bin/fping -C4 -t2500 -i0 2>&1 </tmp/zabbix_proxy_1635639.pinger;
      1635639:20230825:121358.671 fping failed: no output
      1635639:20230825:121358.671 End of zbx_ping():NOTSUPPORTED
      1635639:20230825:121358.671 In process_values()
      1635639:20230825:121358.671 host [] fping failed: no output
      1635639:20230825:121358.671 In process_value()
      1635639:20230825:121358.671 In zbx_preprocess_item_value()
      1635639:20230825:121358.671 End of zbx_preprocess_item_value()
      1635639:20230825:121358.671 End of process_value()
      1635639:20230825:121358.671 In zbx_ipc_socket_write()
      1635639:20230825:121358.671 End of zbx_ipc_socket_write():SUCCEED
      1635639:20230825:121358.671 End of process_values()
      

      It appears the proxy writes an empty line to the text file, and hence not getting anything back from fping. It's unclear what zabbix was trying to ping in the first place.

      fping version 4.2

            fvilarnovo Facundo Vilarnovo
            kdaudt Kevin Daudt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: