Bug 1795926 - iptables collectd plugin doesn't work on RHEL8
Summary: iptables collectd plugin doesn't work on RHEL8
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: collectd
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-29 09:06 UTC by Miroslav Lichvar
Modified: 2024-05-17 12:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.