A while ago, following the instructions in a forum post, I modified the /etc/collectd.conf file to create a response time graph.
It worked well enough for a while, but then it stopped working. Checking the file, I noticed that the customizations I had added were no longer present.
I tried re-added them, but the graph still doesn’t generate.
Do you know what might have changed and how I can recreate the same graph?
CU203 had a correction patch applied for the building of collectd and this then required the collectd files to be shipped, including the default collectd.conf file.
If you look through the collectd.conf file you will see that the last line in it is
include "/etc/collectd.d/*"
which allows you to create custom plugins, place them in that directory and they will be included into the collectd.conf file.
That might be better than modifying collectd.conf itself which will be overwritten any time an update of some sort is applied to collectd.
First of all, thank you for your reply.
I applied the change you recommended. I moved my configuration to the collectd.custom file, but something probably isn’t working because it stopped working.
To be exactly: The line must be terminated by an EOL.
I remember those ‘special’ parser behaviour from long ago with simple compilers. I don’t the EOL is part of the syntax.