Monitor I/O latency using ioping.plugin
The ioping plugin supports monitoring I/O latency for any number of directories/files/devices, by pinging them with
A recent version of
ioping is required (one that supports option
The supplied plugin can install it, by running:
-e option can be supplied to indicate where the Netdata environment file is installed. The default path is
The above will download, build and install the right version as
Then you need to edit
/etc/netdata/ioping.conf (to edit it on your system run
/etc/netdata/edit-config ioping.conf) like this:
# uncomment the following line - it should already be there
# set here the directory/file/device, you need to ping
# override the chart update frequency - the default is inherited from Netdata
# the request size in bytes to ping the destination
# other iping options - these are the defaults
ioping_opts="-T 1000000 -R"
Netdata will automatically attach a few alarms for each host. Check the latest versions of the ioping alarms
Multiple ioping Plugins With Different Settings
You may need to run multiple ioping plugins with different settings or different end points. For example, you may need to ping one destination once per 10 seconds, and another once per second.
Netdata allows you to add as many
ioping plugins as you like.
Follow this procedure:
1. Create New ioping Configuration File
# Step Into Configuration Directory
# Copy Original ioping Configuration File To New Configuration File
cp ioping.conf ioping2.conf
ioping2.conf and set the settings and the destination you need for the seconds instance.
2. Soft Link Original ioping Plugin to New Plugin File
# Become root (If The Step Step Is Performed As Non-Root User)
# Step Into The Plugins Directory
# Link ioping.plugin to ioping2.plugin
ln -s ioping.plugin ioping2.plugin
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.
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.