Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1581470

Summary: [RFE] collectd-connectivity plugin
Product: Red Hat OpenStack Reporter: Martin Magr <mmagr>
Component: collectdAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14.0 (Rocky)CC: abays, apannu, jbadiapa, lars, marjones, mmagr, mrunge, rmccabe, sclewis
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: collectd-5.8.0-11.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 09:51:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1638246    
Bug Blocks: 1566081    

Description Martin Magr 2018-05-22 20:47:10 UTC
We need collectd-connectivity plugin.

Comment 2 Matthias Runge 2018-06-14 10:31:11 UTC
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>

Comment 5 Leonid Natapov 2018-06-19 14:28:25 UTC
Hey,Andrew ! 

You can provide a conf file for this plugin along with the test instructions as a comment to this RFE.

Thanks,
Leonid.

Comment 11 Leonid Natapov 2018-10-14 08:54:14 UTC
[2018-10-14 08:51:17] Notification: severity = OKAY, host = compute-0.localdomain, plugin = connectivity, plugin_instance = eth2, type = gauge, type_instance = interface_status

Comment 13 errata-xmlrpc 2019-01-11 09:51:28 UTC
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