# This plugin requires a special version of fping. # Get it from https://github.com/ktsaou/fping # and build it, like this: # # cd /usr/src # git clone https://github.com/ktsaou/fping.git fping-netdata.git # cd fping-netdata.git # ./autogen.sh # ./configure --prefix=/usr/local # make # cp src/fping /usr/local/bin/ # chown root:root /usr/local/bin/fping # chmod 4755 /usr/local/bin/fping # # ----------------------------------------------------------------------------- # configuration options # can be overwritten at /etc/netdata/fping.conf # the fping binary to use # we need one that can output netdata friendly info fping="$(which fping || command -v fping)" # a space separated list of hosts to fping # it is best to put hostnames here hosts="" # the time in milliseconds (1 sec = 1000 ms) # to ping the hosts - by default 2 pings per iteration ping_every="$((update_every * 1000 / 2))" # how many retries to make if a host does not respond retries=1