We need collectd-connectivity plugin.
Plugin Connectivity connectivity - Documentation of collectd's C<connectivity plugin> LoadPlugin connectivity # ... <Plugin connectivity> Interface eth0 </Plugin> The C<connectivity plugin> queries interface status using netlink (man 7 netlink) which provides information about network interfaces via the NETLINK_ROUTE family (man 7 rtnetlink). The plugin translates the value it receives to collectd's internal format and, depending on the write plugins you have loaded, it may be written to disk or submitted to another instance. The plugin listens to interfaces enumerated within the plugin configuration (see below). If no interfaces are listed, then the default is for all interfaces to be monitored. This example shows C<connectivity plugin> monitoring all interfaces. LoadPlugin connectivity <Plugin connectivity> </Plugin> This example shows C<connectivity plugin> monitoring 2 interfaces, "eth0" and "eth1". LoadPlugin connectivity <Plugin connectivity> Interface eth0 Interface eth1 </Plugin>
Hey,Andrew ! You can provide a conf file for this plugin along with the test instructions as a comment to this RFE. Thanks, Leonid.
[2018-10-14 08:51:17] Notification: severity = OKAY, host = compute-0.localdomain, plugin = connectivity, plugin_instance = eth2, type = gauge, type_instance = interface_status
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0047