dist_config_DATA = \
apps_groups.conf \
charts.d.conf \
+ fping.conf \
node.d.conf \
python.d.conf \
health_alarm_notify.conf \
--- /dev/null
+# 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
\r
// ------------------------------------------------------------------------\r
// RETROSHARE\r
+\r
'retroshare.bandwidth': {\r
- info: 'Shows inbound and outbound traffic.',\r
+ info: 'RetroShare inbound and outbound traffic.',\r
mainheads: [\r
netdataDashboard.gaugeChart('Received', '12%', 'bandwidth_down_kb'),\r
netdataDashboard.gaugeChart('Sent', '12%', 'bandwidth_up_kb')\r
},\r
\r
'retroshare.peers': {\r
- info: 'Shows the number of (connected) friends.',\r
+ info: 'Number of (connected) RetroShare friends.',\r
mainheads: [\r
function(id) {\r
return '<div data-netdata="' + id + '"'\r
},\r
\r
'retroshare.dht': {\r
- info: 'Shows statistics about RetroShare\'s DHT. These values are estimated!'\r
+ info: 'Statistics about RetroShare\'s DHT. These values are estimated!'\r
+ },\r
+\r
+ // ------------------------------------------------------------------------\r
+ // fping\r
+\r
+ 'fping.loss': {\r
+ colors: NETDATA.colors[1],\r
+ height: 0.5\r
+ },\r
+\r
+ 'fping.packets': {\r
+ height: 0.5\r
}\r
+\r
};\r
});
NETDATA.requiredJs.push({
- url: NETDATA.serverDefault + 'dashboard_info.js?v20161002-1',
+ url: NETDATA.serverDefault + 'dashboard_info.js?v20161016-1',
async: false,
isAlreadyLoaded: function() { return false; }
});