Bug 1795926

Summary: iptables collectd plugin doesn't work on RHEL8
Product: [Fedora] Fedora EPEL Reporter: Miroslav Lichvar <mlichvar>
Component: collectdAssignee: Jonathan Wright <jonathan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: gregswift, jskarvad, kevin, mhlavink, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Miroslav Lichvar 2020-01-29 09:06:38 UTC
Description of problem:
The iptables plugin of collectd doesn't seem to work on RHEL8. I guess this is related to the switch to nftables and its iptables emulation.

With a Chain6 specified in the configuration, the plugin fails with an error on each read.

# cat /etc/collectd.conf 
LoadPlugin iptables

<Plugin iptables>
  Chain "filter" "INPUT" "foo"
  Chain6 "filter" "INPUT" "foo"
</Plugin>

# collectd -T
plugin_load: plugin "iptables" successfully loaded.
iptables plugin: ip6tc_init (filter) failed: iptables who? (do you need to insmod?)
read-function of plugin `iptables' failed.
Error: one or more plugin read callbacks failed.
Exiting normally.
collectd: Stopping 5 write threads.

If I remove the Chain6 line, there is no error, but it doesn't seem to collect any data. The same configuration works on RHEL7.


Version-Release number of selected component (if applicable):
collectd-5.9.0-5.el8.x86_64
collectd-iptables-5.9.0-5.el8.x86_64
iptables-libs-1.8.4-6.el8.x86_64

How reproducible:
Always

Comment 1 Fedora Admin user for bugzilla script actions 2024-05-17 00:14:07 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2024-05-17 12:33:10 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.