]> arthur.barton.de Git - netdata.git/blob - conf.d/fping.conf
Merge pull request #1070 from tperalta82/master
[netdata.git] / conf.d / fping.conf
1 # This plugin requires a special version of fping.
2 # Get it from https://github.com/ktsaou/fping
3 # and build it, like this:
4 #
5 # cd /usr/src
6 # git clone https://github.com/ktsaou/fping.git fping-netdata.git
7 # cd fping-netdata.git
8 # ./autogen.sh
9 # ./configure --prefix=/usr/local
10 # make
11 # cp src/fping /usr/local/bin/
12 # chown root:root /usr/local/bin/fping
13 # chmod 4755 /usr/local/bin/fping
14 #
15 # -----------------------------------------------------------------------------
16 # configuration options
17 # can be overwritten at /etc/netdata/fping.conf
18
19 # the fping binary to use
20 # we need one that can output netdata friendly info
21 fping="$(which fping || command -v fping)"
22
23 # a space separated list of hosts to fping
24 # it is best to put hostnames here
25 hosts=""
26
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))"
30
31 # how many retries to make if a host does not respond
32 retries=1