07:19:24 collectd[17386]: read-function of plugin `openvpn/ovpnserver.log' failed. Will suspend it for 30720.000 seconds.
07:19:24 collectd[17386]: openvpn plugin: failed to get data from: /var/run/ovpnserver.log
03:03:24 collectd[17386]: read-function of plugin `openvpn/ovpnserver.log' failed. Will suspend it for 15360.000 seconds.
03:03:24 collectd[17386]: openvpn plugin: failed to get data from: /var/run/ovpnserver.log
00:55:24 collectd[17386]: read-function of plugin `openvpn/ovpnserver.log' failed. Will suspend it for 7680.000 seconds.
00:55:24 collectd[17386]: openvpn plugin: failed to get data from: /var/run/ovpnserver.log
Okay, so it might be that with the change to collectd-5.12.0 something about the use of the openvpn plugin changed.
I presume @bbitsch that as you don’t use openvpn you don’t have /var/run/ovpnserver.log
I will try and have a look at the change from 4.10.9 to 5.12.0 and see if anything got changed or missed in our settings for that plugin. It presumably should only get loaded if OpenVPN is being used. Or maybe something about how collectd uses that openvpn plugin changed.
was added to IPFire in CU89 and has been uncommented the whole time.
However I have found some commit references to ignoring any errors if openvpn status files are missing or errors from the openvpn configuration files. from back in 2015.
There was at least one patch that was applied to collectd-4.10.9 related to this.
When I did the update from 4.10.9 to 5.12.0 I removed all the existing patches (something like 22 patches). I checked a few of them in the new source tarball and found that they were included in the new version.
So I just removed all the patches and tried the build and that worked without any issues and then tried running the new collectd and also that worked without any issues. However my test systems have openvpn installed and running on them.
It looks like all the testing people also had openvpn installed because the log messages were not reported by anyone.
I will go back and look at the patches in collectd-4.10.9 and see which ones make sense to add back in to collectd-5.12.0 presuming that the same changes for ignoring errors from openvpn would still work in the newer version.
There were 7 patches related to openvpn, all patching bits in openvpn.c in the source tarball.
One of these patches has its contents now included in the source tarball.
The other 6 patches can not be applied as the openvpn.c code is different enough now that the changes can’t be used as the variables etc being used no longer are used and the place in the code where the changes were applied no longer exist.
I will raise this with @ms on the dev mailing list to see the best way to move forward with this.