]> git.ipfire.org Git - ipfire-2.x.git/commit
collectd: Fixes bug-13074, create collectd.d directory
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 7 Aug 2024 12:16:45 +0000 (14:16 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Sep 2024 14:18:12 +0000 (14:18 +0000)
commit5b75ddfff2531addadecdfe40e31438ecf2c2945
tree46ce2594252f53af32de24889638c96310605221
parentbefebc44b4ec1726900bad202a88e4e6a715ebfc
collectd: Fixes bug-13074, create collectd.d directory

- As requested in bug 13074, create a collectd.d directory to enable any addon definitions
   to be created.
- Added include statement in conf file to load everything that is stored in the collectd.d
   directory.
- collectd.precache and collectd.thermal have been left in their original locations
- Removed the arm section in the initscript as only aarch64 is now used.
- Modified the lfs to create the collectd.d directory
- Removal of collectd.custom file as this was the previous way to define custom collectd
   profiles but would have been overwritten by any update of collectd.
- Update of rootfile to take account of new path and removal of collectd.custom
- Tested out in vm testbed with Core Update 188 and all existing graphs were still created
   and updated. From my evaluation the changes have not affected anything.
- The creation of the collectd.d directory now allows users to add their own desired
   profiles but also if it is decided that an addon should be included in the processes
   graph, or if a new graph for addons is created then profiles for that addon can be
   placed in the collectd.d directory and will be automatically included by collectd.

Fixes: Bug13074
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/collectd/collectd.conf
config/collectd/collectd.custom [deleted file]
config/rootfiles/common/collectd
lfs/collectd
src/initscripts/system/collectd