Ad Widget

Collapse

Zabbix can't find fping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phalle
    Junior Member
    • Feb 2025
    • 1

    #1

    Zabbix can't find fping

    Hi,

    .New install of Zabbix 7.2.3 on Ubuntu 24.04.
    When I set up a discovery I get error 'ICMP ping' checks failed: "At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both are missing in the system
    I did some googeling and tried to fix the permissions but without success. I'll paste the config below. Is there anything that is wrong?

    cat /etc/group
    zabbix:x:111:zabbix
    !
    netadmin@zabbix01:~$ groups zabbix
    zabbix : zabbix
    !
    ls -la /usr/sbin/fping*
    lrwxrwxrwx 1 root root 14 Feb 15 06:13 /usr/sbin/fping -> /usr/bin/fping
    !
    ls -la /usr/bin/fping*
    -rws--x--- 1 root zabbix 52088 Feb 7 2022 /usr/bin/fping
    lrwxrwxrwx 1 root root 5 Feb 7 2022 /usr/bin/fping6 -> fping
    !
    grep FpingLocation /etc/zabbix/zabbix_server.conf
    ### Option: FpingLocation
    FpingLocation=/usr/bin/fping

    I tried both /usr/bin/fping and /usr/sbin/fping as location but none of them worked.
  • jdupree
    Junior Member
    • Feb 2025
    • 3

    #2
    I have the same issue as well.

    Comment

    • PavelZ
      Senior Member
      • Dec 2024
      • 162

      #3
      This is distribution specific settings.
      Setup FpingLocation=/usr/bin/fping for Ubuntu in file /etc/zabbix/zabbix_server.conf.

      No problems on fresh Ubuntu installation with default apparmor settings and filesystem settings.

      PHP Code:
      Distributor IDUbuntu
      Description
      Ubuntu 24.04.2 LTS
      Release
      24.04
      Codename
      noble

      ls 
      -la /usr/bin/ping
      -rwxr-xr-x 1 root root 89768 Apr 23 2024 /usr/bin/ping

      getcap 
      /usr/bin/ping
      /usr/bin/ping cap_net_raw=ep


      grep FpingLocation 
      /etc/zabbix/zabbix_server.conf
      ### Option: FpingLocation
      FpingLocation=/usr/bin/fping 
      Can we assume that there are some problems with apparmor or systemd unit
      Last edited by PavelZ; 22-02-2025, 14:37.

      Comment

      Working...