Ad Widget

Collapse

fping: address family for hostname not supported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varnav
    Member
    • Jul 2009
    • 36

    #1

    fping: address family for hostname not supported

    Hello!

    I'm getting this error "fping: address family for hostname not supported" if using ICMP ping template.

    Zabbix 3.0.0 on CentOS 7.2
  • varnav
    Member
    • Jul 2009
    • 36

    #2
    I set Fping6 option to empty in config file.

    Now I'm getting another problem: fping failed (null): can't create socket (must run as root?): Permission denied

    Comment

    • varnav
      Member
      • Jul 2009
      • 36

      #3
      Looks like the solution is to run commands in the following order:

      chown root:zabbix /usr/sbin/fping
      chmod 4710 /usr/sbin/fping
      chmod ug+s /usr/sbin/fping

      Docs do not mention last command.

      You can test it then by running:

      su - zabbix -s /bin/bash
      fping 8.8.8.8

      it has to return: 8.8.8.8 is alive

      Comment

      Working...