remove deprecated fping.plugin in accordance with v1.37.0 deprecation notice (#14073)
Ilya Mashchenko committed
Dec 9, 2022 at 17:35 UTC
4322b1973d23a93d4e78a6cdf4c6da295da9f71c
23 files changed
+3
-539
.github/labeler.yml
-4
@@ -88,10 +88,6 @@ collectors/ebpf:
88
- collectors/ebpf.plugin/*
89
- collectors/ebpf.plugin/**/*
90
91
-collectors/fping:
92
- - collectors/fping.plugin/*
93
- - collectors/fping.plugin/**/*
94
-
91
collectors/freebsd:
92
- collectors/freebsd.plugin/*
93
- collectors/freebsd.plugin/**/*
.gitignore
-1
@@ -137,7 +137,6 @@ claim/netdata-claim.sh
137
collectors/tc.plugin/tc-qos-helper.sh
138
collectors/charts.d.plugin/charts.d.plugin
139
collectors/python.d.plugin/python.d.plugin
140
-collectors/fping.plugin/fping.plugin
140
collectors/ioping.plugin/ioping.plugin
141
collectors/go.d.plugin
142
web/netdata-switch-dashboard.sh
build_external/scenarios/aclk-testing/agent_netdata.conf
-5
@@ -80,7 +80,6 @@
80
# go.d = yes
81
# apps = yes
82
# charts.d = yes
83
- # fping = yes
83
# python.d = yes
84
# perf = yes
85
# ioping = yes
@@ -251,10 +250,6 @@
250
# update every = 1
251
# command options =
252
254
-[plugin:fping]
255
- # update every = 1
256
- # command options =
257
-
253
[plugin:python.d]
254
# update every = 1
255
# command options =
build_external/scenarios/gaps_lo/mostly_off.conf
-1
@@ -25,7 +25,6 @@ errors flood protection period = 0
25
apps = no
26
go.d = no
27
perf = no
28
- fping = no
28
python.d = no
29
charts.d = no
30
nfacct = no
collectors/COLLECTORS.md
+1
-1
@@ -410,7 +410,7 @@ The Netdata Agent can collect these system- and hardware-level metrics using a v
410
### Networks
411
412
- [Access points](/collectors/charts.d.plugin/ap/README.md): Visualizes data related to access points.
413
-- [fping.plugin](fping.plugin/README.md): Measure network latency, jitter and packet loss between the monitored node
413
+- [Ping](https://learn.netdata.cloud/docs/agent/collectors/go.d.plugin/modules/ping/): Measure network latency, jitter and packet loss between the monitored node
414
and any number of remote network end points.
415
- [Netfilter](/collectors/nfacct.plugin/README.md): Collect netfilter firewall, connection tracker, and accounting
416
metrics using `libmnl` and `libnetfilter_acct`.
collectors/Makefile.am
-1
@@ -10,7 +10,6 @@ SUBDIRS = \
10
cups.plugin \
11
diskspace.plugin \
12
timex.plugin \
13
- fping.plugin \
13
ioping.plugin \
14
freebsd.plugin \
15
freeipmi.plugin \
collectors/REFERENCE.md
-1
@@ -93,7 +93,6 @@ This section features a list of Netdata's plugins, with a boolean setting to ena
93
# enable running new plugins = yes
94
# check for new plugins every = 60
95
# slabinfo = no
96
- # fping = yes
96
# ioping = yes
97
# python.d = yes
98
# go.d = yes
collectors/fping.plugin/Makefile.am
deleted
-24
@@ -1,24 +0,0 @@
1
-# SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-AUTOMAKE_OPTIONS = subdir-objects
4
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
5
-
6
-CLEANFILES = \
7
- fping.plugin \
8
- $(NULL)
9
-
10
-include $(top_srcdir)/build/subst.inc
11
-SUFFIXES = .in
12
-
13
-dist_plugins_SCRIPTS = \
14
- fping.plugin \
15
- $(NULL)
16
-
17
-dist_noinst_DATA = \
18
- fping.plugin.in \
19
- README.md \
20
- $(NULL)
21
-
22
-dist_libconfig_DATA = \
23
- fping.conf \
24
- $(NULL)
collectors/fping.plugin/README.md
deleted
-110
@@ -1,110 +0,0 @@
1
-<!--
2
-title: "fping.plugin"
3
-custom_edit_url: https://github.com/netdata/netdata/edit/master/collectors/fping.plugin/README.md
4
--->
5
-
6
-# fping.plugin
7
-
8
-The fping plugin supports monitoring latency, packet loss and uptime of any number of network end points,
9
-by pinging them with `fping`.
10
-
11
-This plugin requires version 5.1 or newer of `fping` (earlier versions may or may not work). Our static builds and
12
-Docker images come bundled with a known working version of `fping`. Native packages and local builds will need to
13
-have a working version installed before the plugin is usable.
14
-
15
-## Installing fping locally
16
-
17
-If your distribution’s repositories do not include a working version of `fping`, the supplied plugin can install
18
-it, by running:
19
-
20
-```sh
21
-/usr/libexec/netdata/plugins.d/fping.plugin install
22
-```
23
-
24
-The above will download, build and install the right version as `/usr/local/bin/fping`. This requires a working C
25
-compiler, GNU autotools (at least autoconf and automake), and GNU make. On Debian or Ubuntu, you can pull in most
26
-of the required tools by installing the `build-essential` package (this should include everything except automake
27
-and autoconf).
28
-
29
-## Configuration
30
-
31
-Then you need to edit `/etc/netdata/fping.conf` (to edit it on your system run
32
-`/etc/netdata/edit-config fping.conf`) like this:
33
-
34
-```sh
35
-# set here all the hosts you need to ping
36
-# I suggest to use hostnames and put their IPs in /etc/hosts
37
-hosts="host1 host2 host3"
38
-
39
-# override the chart update frequency - the default is inherited from Netdata
40
-update_every=1
41
-
42
-# time in milliseconds (1 sec = 1000 ms) to ping the hosts
43
-# 200 = 5 pings per second
44
-ping_every=200
45
-
46
-# other fping options - these are the defaults
47
-fping_opts="-R -b 56 -i 1 -r 0 -t 5000"
48
-```
49
-
50
-## alarms
51
-
52
-Netdata will automatically attach a few alarms for each host.
53
-Check the [latest versions of the fping alarms](https://raw.githubusercontent.com/netdata/netdata/master/health/health.d/fping.conf)
54
-
55
-## Additional Tips
56
-
57
-### Customizing Amount of Pings Per Second
58
-
59
-For example, to update the chart every 10 seconds and use 2 pings every 10 seconds, use this:
60
-
61
-```sh
62
-# Chart Update Frequency (Time in Seconds)
63
-update_every=10
64
-
65
-# Time in Milliseconds (1 sec = 1000 ms) to Ping the Hosts
66
-# The Following Example Sends 1 Ping Every 5000 ms
67
-# Calculation Formula: ping_every = (update_every * 1000 ) / 2
68
-ping_every=5000
69
-```
70
-
71
-### Multiple fping Plugins With Different Settings
72
-
73
-You may need to run multiple fping plugins with different settings for different end points.
74
-For example, you may need to ping a few hosts 10 times per second, and others once per second.
75
-
76
-Netdata allows you to add as many `fping` plugins as you like.
77
-
78
-Follow this procedure:
79
-
80
-**1. Create New fping Configuration File**
81
-
82
-```sh
83
-# Step Into Configuration Directory
84
-cd /etc/netdata
85
-
86
-# Copy Original fping Configuration File To New Configuration File
87
-cp fping.conf fping2.conf
88
-```
89
-
90
-Edit `fping2.conf` and set the settings and the hosts you need for the seconds instance.
91
-
92
-**2. Soft Link Original fping Plugin to New Plugin File**
93
-
94
-```sh
95
-# Become root (If The Step Step Is Performed As Non-Root User)
96
-sudo su
97
-
98
-# Step Into The Plugins Directory
99
-cd /usr/libexec/netdata/plugins.d
100
-
101
-# Link fping.plugin to fping2.plugin
102
-ln -s fping.plugin fping2.plugin
103
-```
104
-
105
-That's it. Netdata will detect the new plugin and start it.
106
-
107
-You can name the new plugin any name you like.
108
-Just make sure the plugin and the configuration file have the same name.
109
-
110
-
collectors/fping.plugin/fping.conf
deleted
-44
@@ -1,44 +0,0 @@
1
-# no need for shebang - this file is sourced from fping.plugin
2
-
3
-# fping.plugin requires a recent version of fping.
4
-#
5
-# You can get it on your system, by running:
6
-#
7
-# /usr/libexec/netdata/plugins.d/fping.plugin install
8
-
9
-# -----------------------------------------------------------------------------
10
-# configuration options
11
-
12
-# The fping binary to use. We need one that can output netdata friendly info
13
-# (supporting: -N). If you have multiple versions, put here the full filename
14
-# of the right one
15
-
16
-#fping="/usr/local/bin/fping"
17
-
18
-
19
-# a space separated list of hosts to fping
20
-# we suggest to put names here and the IPs of these names in /etc/hosts
21
-
22
-hosts=""
23
-
24
-
25
-# The update frequency of the chart - the default is inherited from netdata
26
-
27
-#update_every=2
28
-
29
-
30
-# The time in milliseconds (1 sec = 1000 ms) to ping the hosts
31
-# by default 5 pings per host per iteration
32
-# fping will not allow this to be below 20ms
33
-
34
-#ping_every="200"
35
-
36
-
37
-# other fping options - defaults:
38
-# -R = send packets with random data
39
-# -b 56 = the number of bytes per packet
40
-# -i 1 = 1 ms when sending packets to others hosts (switching hosts)
41
-# -r 0 = never retry packets
42
-# -t 5000 = per packet timeout at 5000 ms
43
-
44
-#fping_opts="-R -b 56 -i 1 -r 0 -t 5000"
collectors/fping.plugin/fping.plugin.in
deleted
-202
@@ -1,202 +0,0 @@
1
-#!/usr/bin/env bash
2
-# SPDX-License-Identifier: GPL-3.0-or-later
3
-
4
-# netdata
5
-# real-time performance and health monitoring, done right!
6
-# (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
7
-# GPL v3+
8
-#
9
-# This plugin requires a latest version of fping.
10
-# You can compile it from source, by running me with option: install
11
-
12
-export PATH="${PATH}:/sbin:/usr/sbin:/usr/local/sbin"
13
-export LC_ALL=C
14
-
15
-if [ "${1}" = "install" ]
16
- then
17
- [ "${UID}" != 0 ] && echo >&2 "Please run me as root. This will install a single binary file: /usr/local/bin/fping." && exit 1
18
-
19
- [ -z "${2}" ] && fping_version="5.1" || fping_version="${2}"
20
-
21
- run() {
22
- printf >&2 " > "
23
- printf >&2 "%q " "${@}"
24
- printf >&2 "\n"
25
- "${@}" || exit 1
26
- }
27
-
28
- download() {
29
- local curl="$(which curl 2>/dev/null || command -v curl 2>/dev/null)"
30
- [ ! -z "${curl}" ] && run curl -s -L "${1}" && return 0
31
-
32
- local wget="$(which wget 2>/dev/null || command -v wget 2>/dev/null)"
33
- [ ! -z "${wget}" ] && run wget -q -O - "${1}" && return 0
34
-
35
- echo >&2 "Cannot find 'curl' or 'wget' in this system." && exit 1
36
- }
37
-
38
- [ ! -d /usr/src ] && run mkdir -p /usr/src
39
- [ ! -d /usr/local/bin ] && run mkdir -p /usr/local/bin
40
-
41
- run cd /usr/src
42
-
43
- if [ -d "fping-${fping_version}" ]
44
- then
45
- run rm -rf "fping-${fping_version}" || exit 1
46
- fi
47
-
48
- download "https://github.com/schweikert/fping/releases/download/v${fping_version}/fping-${fping_version}.tar.gz" | run tar -zxvpf -
49
- [ $? -ne 0 ] && exit 1
50
- run cd "fping-${fping_version}" || exit 1
51
-
52
- run ./configure --prefix=/usr/local
53
- run make clean
54
- run make
55
- if [ -f /usr/local/bin/fping ]
56
- then
57
- run mv -f /usr/local/bin/fping /usr/local/bin/fping.old
58
- fi
59
- run mv src/fping /usr/local/bin/fping
60
- run chown root:root /usr/local/bin/fping
61
- run chmod 4755 /usr/local/bin/fping
62
- echo >&2
63
- echo >&2 "All done, you have a compatible fping now at /usr/local/bin/fping."
64
- echo >&2
65
-
66
- fping="$(which fping 2>/dev/null || command -v fping 2>/dev/null)"
67
- if [ "${fping}" != "/usr/local/bin/fping" ]
68
- then
69
- echo >&2 "You have another fping installed at: ${fping}."
70
- echo >&2 "Please set:"
71
- echo >&2
72
- echo >&2 " fping=\"/usr/local/bin/fping\""
73
- echo >&2
74
- echo >&2 "at /etc/netdata/fping.conf"
75
- echo >&2
76
- fi
77
- exit 0
78
-fi
79
-
80
-# -----------------------------------------------------------------------------
81
-
82
-PROGRAM_NAME="$(basename "${0}")"
83
-
84
-logdate() {
85
- date "+%Y-%m-%d %H:%M:%S"
86
-}
87
-
88
-log() {
89
- local status="${1}"
90
- shift
91
-
92
- echo >&2 "$(logdate): ${PROGRAM_NAME}: ${status}: ${*}"
93
-
94
-}
95
-
96
-warning() {
97
- log WARNING "${@}"
98
-}
99
-
100
-error() {
101
- log ERROR "${@}"
102
-}
103
-
104
-info() {
105
- log INFO "${@}"
106
-}
107
-
108
-fatal() {
109
- log FATAL "${@}"
110
- echo "DISABLE"
111
- exit 1
112
-}
113
-
114
-debug=0
115
-debug() {
116
- [ $debug -eq 1 ] && log DEBUG "${@}"
117
-}
118
-
119
-# -----------------------------------------------------------------------------
120
-
121
-# store in ${plugin} the name we run under
122
-# this allows us to copy/link fping.plugin under a different name
123
-# to have multiple fping plugins running with different settings
124
-plugin="${PROGRAM_NAME/.plugin/}"
125
-
126
-
127
-# -----------------------------------------------------------------------------
128
-
129
-# the frequency to send info to netdata
130
-# passed by netdata as the first parameter
131
-update_every="${1-1}"
132
-
133
-# the netdata configuration directory
134
-# passed by netdata as an environment variable
135
-[ -z "${NETDATA_USER_CONFIG_DIR}" ] && NETDATA_USER_CONFIG_DIR="@configdir_POST@"
136
-[ -z "${NETDATA_STOCK_CONFIG_DIR}" ] && NETDATA_STOCK_CONFIG_DIR="@libconfigdir_POST@"
137
-
138
-# -----------------------------------------------------------------------------
139
-# configuration options
140
-# can be overwritten at /etc/netdata/fping.conf
141
-
142
-# the fping binary to use
143
-# we need one that can output netdata friendly info (supporting: -N)
144
-# if you have multiple versions, put here the full filename of the right one
145
-fping="$( which fping 2>/dev/null || command -v fping 2>/dev/null )"
146
-
147
-# a space separated list of hosts to fping
148
-# we suggest to put names here and the IPs of these names in /etc/hosts
149
-hosts=""
150
-
151
-# the time in milliseconds (1 sec = 1000 ms)
152
-# to ping the hosts - by default 5 pings per host per iteration
153
-ping_every="$((update_every * 1000 / 5))"
154
-
155
-# fping options
156
-fping_opts="-R -b 56 -i 1 -r 0 -t 5000"
157
-
158
-# -----------------------------------------------------------------------------
159
-# load the configuration files
160
-
161
-for CONFIG in "${NETDATA_STOCK_CONFIG_DIR}/${plugin}.conf" "${NETDATA_USER_CONFIG_DIR}/${plugin}.conf"
162
-do
163
- if [ -f "${CONFIG}" ]
164
- then
165
- info "Loading config file '${CONFIG}'..."
166
- source "${CONFIG}"
167
- [ $? -ne 0 ] && error "Failed to load config file '${CONFIG}'."
168
- else
169
- warning "Cannot find file '${CONFIG}'."
170
- fi
171
-done
172
-
173
-if [ -z "${hosts}" ]
174
-then
175
- fatal "no hosts configured - nothing to do."
176
-fi
177
-
178
-if [ -z "${fping}" ]
179
-then
180
- fatal "fping command is not found. Please set its full path in '${NETDATA_USER_CONFIG_DIR}/${plugin}.conf'"
181
-fi
182
-
183
-if [ ! -x "${fping}" ]
184
-then
185
- fatal "fping command '${fping}' is not executable - cannot proceed."
186
-fi
187
-
188
-if [ ${ping_every} -lt 20 ]
189
- then
190
- warning "ping every was set to ${ping_every} but 20 is the minimum for non-root users. Setting it to 20 ms."
191
- ping_every=20
192
-fi
193
-
194
-# the fping options we will use
195
-options=( -N -l -Q ${update_every} -p ${ping_every} ${fping_opts} ${hosts} )
196
-
197
-# execute fping
198
-info "starting fping: ${fping} ${options[*]}"
199
-exec "${fping}" "${options[@]}"
200
-
201
-# if we cannot execute fping, stop
202
-fatal "command '${fping} ${options[*]}' failed to be executed (returned code $?)."
collectors/plugins.d/README.md
-2
@@ -15,7 +15,6 @@ from external processes, thus allowing Netdata to use **external plugins**.
15
|[apps.plugin](/collectors/apps.plugin/README.md)|`C`|linux, freebsd|monitors the whole process tree on Linux and FreeBSD and breaks down system resource usage by **process**, **user** and **user group**.|
16
|[charts.d.plugin](/collectors/charts.d.plugin/README.md)|`BASH`|all|a **plugin orchestrator** for data collection modules written in `BASH` v4+.|
17
|[cups.plugin](/collectors/cups.plugin/README.md)|`C`|all|monitors **CUPS**|
18
-|[fping.plugin](/collectors/fping.plugin/README.md)|`C`|all|measures network latency, jitter and packet loss between the monitored node and any number of remote network end points.|
18
|[ioping.plugin](/collectors/ioping.plugin/README.md)|`C`|all|measures disk latency.|
19
|[freeipmi.plugin](/collectors/freeipmi.plugin/README.md)|`C`|linux|collects metrics from enterprise hardware sensors, on Linux servers.|
20
|[nfacct.plugin](/collectors/nfacct.plugin/README.md)|`C`|linux|collects netfilter firewall, connection tracker and accounting metrics using `libmnl` and `libnetfilter_acct`.|
@@ -71,7 +70,6 @@ Example:
70
# check for new plugins every = 60
71
72
# charts.d = yes
74
- # fping = yes
73
# ioping = yes
74
# python.d = yes
75
```
configure.ac
-1
@@ -1702,7 +1702,6 @@ AC_CONFIG_FILES([
1702
collectors/charts.d.plugin/Makefile
1703
collectors/diskspace.plugin/Makefile
1704
collectors/timex.plugin/Makefile
1705
- collectors/fping.plugin/Makefile
1705
collectors/ioping.plugin/Makefile
1706
collectors/freebsd.plugin/Makefile
1707
collectors/freeipmi.plugin/Makefile
health/Makefile.am
-1
@@ -42,7 +42,6 @@ dist_healthconfig_DATA = \
42
health.d/dockerd.conf \
43
health.d/entropy.conf \
44
health.d/exporting.conf \
45
- health.d/fping.conf \
45
health.d/geth.conf \
46
health.d/ioping.conf \
47
health.d/gearman.conf \
health/QUICKSTART.md
+1
-1
@@ -52,7 +52,7 @@ Navigate to the health configuration directory to see all the available files an
52
cd /usr/lib/netdata/conf.d/health.d/
53
ls
54
adaptec_raid.conf entropy.conf memory.conf squid.conf
55
-am2320.conf fping.conf mongodb.conf
55
+am2320.conf mongodb.conf
56
apache.conf mysql.conf swap.conf
57
...
58
```
health/health.d/fping.conf
deleted
-64
@@ -1,64 +0,0 @@
1
-
2
- template: fping_last_collected_secs
3
- families: *
4
- on: fping.latency
5
- class: Latency
6
- type: Other
7
-component: Network
8
- calc: $now - $last_collected_t
9
- units: seconds ago
10
- every: 10s
11
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
12
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
13
- delay: down 5m multiplier 1.5 max 1h
14
- info: number of seconds since the last successful data collection
15
- to: sysadmin
16
-
17
- template: fping_host_reachable
18
- families: *
19
- on: fping.latency
20
- class: Errors
21
- type: Other
22
-component: Network
23
- calc: $average != nan
24
- units: up/down
25
- every: 10s
26
- crit: $this == 0
27
- delay: down 30m multiplier 1.5 max 2h
28
- info: reachability status of the network host (0: unreachable, 1: reachable)
29
- to: sysadmin
30
-
31
- template: fping_host_latency
32
- families: *
33
- on: fping.latency
34
- class: Latency
35
- type: Other
36
-component: Network
37
- lookup: average -10s unaligned of average
38
- units: ms
39
- every: 10s
40
- green: 500
41
- red: 1000
42
- warn: $this > $green OR $max > $red
43
- crit: $this > $red
44
- delay: down 30m multiplier 1.5 max 2h
45
- info: average latency to the network host over the last 10 seconds
46
- to: sysadmin
47
-
48
- template: fping_packet_loss
49
- families: *
50
- on: fping.quality
51
- class: Errors
52
- type: System
53
-component: Network
54
- lookup: average -10m unaligned of returned
55
- calc: 100 - $this
56
- green: 1
57
- red: 10
58
- units: %
59
- every: 10s
60
- warn: $this > $green
61
- crit: $this > $red
62
- delay: down 30m multiplier 1.5 max 2h
63
- info: packet loss ratio to the network host over the last 10 minutes
64
- to: sysadmin
packaging/docker/Dockerfile
-3
@@ -76,9 +76,6 @@ RUN mkdir -p /opt/src /var/log/netdata && \
76
ln -sf /dev/stdout /var/log/netdata/access.log && \
77
ln -sf /dev/stdout /var/log/netdata/debug.log && \
78
ln -sf /dev/stderr /var/log/netdata/error.log && \
79
- # fping from alpine apk is on a different location. Moving it.
80
- ln -snf /usr/sbin/fping /usr/local/bin/fping && \
81
- chmod 4755 /usr/local/bin/fping && \
79
# Add netdata user
80
addgroup -g ${NETDATA_GID} -S "${DOCKER_GRP}" && \
81
adduser -S -H -s /usr/sbin/nologin -u ${NETDATA_GID} -h /etc/netdata -G "${DOCKER_GRP}" "${DOCKER_USR}"
packaging/makeself/install-or-update.sh
-6
@@ -218,12 +218,6 @@ if [ -f "usr/libexec/netdata/plugins.d/go.d.plugin" ] && command -v setcap 1>/de
218
run setcap "cap_net_admin+epi cap_net_raw=eip" "usr/libexec/netdata/plugins.d/go.d.plugin"
219
fi
220
221
-# fix the fping binary
222
-if [ -f bin/fping ]; then
223
- run chown root:${NETDATA_GROUP} bin/fping
224
- run chmod 4750 bin/fping
225
-fi
226
-
221
# -----------------------------------------------------------------------------
222
223
echo "Configure TLS certificate paths"
packaging/makeself/jobs/50-fping-5.1.install.sh
deleted
-45
@@ -1,45 +0,0 @@
1
-#!/usr/bin/env bash
2
-# SPDX-License-Identifier: GPL-3.0-or-later
3
-
4
-# shellcheck source=packaging/makeself/functions.sh
5
-. "$(dirname "${0}")/../functions.sh" "${@}" || exit 1
6
-
7
-version="5.1"
8
-
9
-# shellcheck disable=SC2015
10
-[ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Building fping" || true
11
-
12
-fetch "fping-${version}" "https://fping.org/dist/fping-${version}.tar.gz" \
13
- 1ee5268c063d76646af2b4426052e7d81a42b657e6a77d8e7d3d2e60fd7409fe fping
14
-
15
-export CFLAGS="-static -I/openssl-static/include -pipe"
16
-export LDFLAGS="-static -L/openssl-static/lib"
17
-export PKG_CONFIG_PATH="/openssl-static/lib/pkgconfig"
18
-
19
-if [ "${CACHE_HIT:-0}" -eq 0 ]; then
20
- run ./configure \
21
- --prefix="${NETDATA_INSTALL_PATH}" \
22
- --enable-ipv4 \
23
- --enable-ipv6 \
24
- --disable-dependency-tracking
25
-
26
- cat > doc/Makefile <<-EOF
27
- all:
28
- clean:
29
- install:
30
- EOF
31
-
32
- run make clean
33
- run make -j "$(nproc)"
34
-fi
35
-
36
-run make install
37
-
38
-store_cache fping "${NETDATA_MAKESELF_PATH}/tmp/fping-${version}"
39
-
40
-if [ "${NETDATA_BUILD_WITH_DEBUG}" -eq 0 ]; then
41
- run strip "${NETDATA_INSTALL_PATH}"/bin/fping
42
-fi
43
-
44
-# shellcheck disable=SC2015
45
-[ "${GITHUB_ACTIONS}" = "true" ] && echo "::endgroup::" || true
system/netdata.service.in
+1
-1
@@ -52,7 +52,7 @@ CapabilityBoundingSet=CAP_SYS_ADMIN CAP_PERFMON
52
CapabilityBoundingSet=CAP_SYS_PTRACE
53
# is required for ebpf plugin
54
CapabilityBoundingSet=CAP_SYS_RESOURCE
55
-# is required for fping app
55
+# is required for go.d/ping app
56
CapabilityBoundingSet=CAP_NET_RAW
57
# is required for cgroups plugin
58
CapabilityBoundingSet=CAP_SYS_CHROOT
tests/alarm_repetition/netdata.conf_with_repetition
-1
@@ -38,7 +38,6 @@
38
nfacct = no
39
python.d = no
40
apps = no
41
- fping = no
41
cups = no
42
43
[health]
tests/alarm_repetition/netdata.conf_without_repetition
-1
@@ -38,7 +38,6 @@
38
nfacct = no
39
python.d = no
40
apps = no
41
- fping = no
41
cups = no
42
43
[health]
web/gui/dashboard_info.js
-19
@@ -297,12 +297,6 @@ netdataDashboard.menu = {
297
info: 'Docker containers state and disk usage.'
298
},
299
300
- 'fping': {
301
- title: 'fping',
302
- icon: '<i class="fas fa-exchange-alt"></i>',
303
- info: 'Network latency statistics, via <b>fping</b>. <b>fping</b> is a program to send ICMP echo probes to network hosts, similar to <code>ping</code>, but much better performing when pinging multiple hosts. fping versions after 3.15 can be directly used as netdata plugins.'
304
- },
305
-
300
'ping': {
301
title: 'Ping',
302
icon: '<i class="fas fa-exchange-alt"></i>',
@@ -4648,19 +4642,6 @@ netdataDashboard.context = {
4642
info: 'Statistics about RetroShare\'s DHT. These values are estimated!'
4643
},
4644
4651
- // ------------------------------------------------------------------------
4652
- // fping
4653
-
4654
- 'fping.quality': {
4655
- colors: NETDATA.colors[10],
4656
- height: 0.5
4657
- },
4658
-
4659
- 'fping.packets': {
4660
- height: 0.5
4661
- },
4662
-
4663
-
4645
// ------------------------------------------------------------------------
4646
// containers
4647