fping.plugin
The fping plugin supports monitoring latency, packet loss and uptime of any number of network end points,
by pinging them with fping
.
A recent version of fping
is required (one that supports option -N
).
The supplied plugin can install it, by running:
The above will download, build and install the right version as /usr/local/bin/fping
.
Then you need to edit /etc/netdata/fping.conf
(to edit it on your system run
/etc/netdata/edit-config fping.conf
) like this:
#
alarmsNetdata will automatically attach a few alarms for each host. Check the latest versions of the fping alarms
#
Additional Tips#
Customizing Amount of Pings Per SecondFor example, to update the chart every 10 seconds and use 2 pings every 10 seconds, use this:
#
Multiple fping Plugins With Different SettingsYou may need to run multiple fping plugins with different settings for different end points. For example, you may need to ping a few hosts 10 times per second, and others once per second.
Netdata allows you to add as many fping
plugins as you like.
Follow this procedure:
1. Create New fping Configuration File
Edit fping2.conf
and set the settings and the hosts you need for the seconds instance.
2. Soft Link Original fping Plugin to New Plugin File
That's it. Netdata will detect the new plugin and start it.
You can name the new plugin any name you like. Just make sure the plugin and the configuration file have the same name.