Description of problem: The config option "ReportRelative" of "load" plugin causes starting failures: Error: Parsing the config file failed! Documentation of collectd: ----- Plugin "load" The Load plugin collects the system load. These numbers give a rough overview over the utilization of a machine. The system load is defined as the number of runnable tasks in the run-queue and is provided by many operating systems as a one, five or fifteen minute average. The following configuration options are available: ReportRelative false|true When enabled, system load divided by number of available CPU cores is reported for intervals 1 min, 5 min and 15 min. Defaults to false. ------ Version-Release number of selected component (if applicable): collectd 5.9.0 5.el8 epel-8-everything-x86_64 centos 8 How reproducible: Create file /etc/collectd.d/load.conf with content: <LoadPlugin load> Globals false </LoadPlugin> <Plugin load> ReportRelative false </Plugin> Steps to Reproduce: 1. use load plugin 2. set ReportRelative to true or false 3. restart collectd Actual results: collectd does not start Expected results: collectd starts Additional info: Without the option "ReportRelative" it works.
Created attachment 1677277 [details] git diff of load.c from version 5.0.0 to 5.0.2 Using the load.so from 5.0.2 works. Could you please apply the commits between 5.0.0 and 5.0.2 on src/load.c (attachment)?
Probibly better to upgrade... The versions you mention are collectd versions? or ?
yes
So, this was fixed in https://github.com/collectd/collectd/issues/3180 upstream, so upgrading should fix it. I'll try and make a PR for upgrading epel7/8 this weekend.
Is there an update on this issue please ?
I started working on this a while back, but haven't had time to finish it... I'll try and do so as soon as I can.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.