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