Bug 1789399

Summary: collectd 5.9.0 load plugin starting problems el8
Product: [Fedora] Fedora EPEL Reporter: Christian <c.saller>
Component: collectdAssignee: Jonathan Wright <jonathan>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: emayoral, gregswift, jskarvad, kevin, mhlavink, nareshsukhija, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
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:
Attachments:
Description Flags
git diff of load.c from version 5.0.0 to 5.0.2 none

Description Christian 2020-01-09 13:47:36 UTC
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.

Comment 1 Christian 2020-04-08 14:56:31 UTC
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)?

Comment 2 Kevin Fenzi 2020-06-30 01:02:16 UTC
Probibly better to upgrade... The versions you mention are collectd versions? or ?

Comment 3 Christian 2020-06-30 06:43:52 UTC
yes

Comment 4 Kevin Fenzi 2020-06-30 20:58:10 UTC
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.

Comment 5 Naresh Sukhija 2021-10-27 13:15:49 UTC
Is there an update on this issue please ?

Comment 6 Kevin Fenzi 2022-10-24 19:55:29 UTC
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.

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

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