Affects Version/s: 1.17.2
Fix Version/s: 1.17.3
OS: CentOS 7
Sprint:Platform Sprint 4, Platform Sprint 5, Platform Sprint 6, Platform Sprint 7, Platform Sprint 8
The problem: Textfile collector feature is not working by default (with default file location )
Additionally, there are error messages in the log
Affected versions: Updated version of pmm1
Workaround: rename the folder from textfile-collector to textfile_collector
1) Fix the code to work with `textfile-collector` folder
2) Make sure we renamed from folders to proper one during the update
Versions need to be checked:
I updated pmm-client on CentOS7 a week ago now noticed 180MB of pmm-linux-metrics log filed with:
time="2019-11-03T22:35:51+02:00" level=error msg="Error reading textfile collector directory /usr/local/percona/pmm-client/textfile_collector: open /usr/local/percona/pmm-client/textfile_collector: no such file or directory" source="text
I downgraded to 1.17.1 and the messages are gone.
It seems some script is looking for:
but the correct file is: /usr/local/percona/pmm-client/textfile-collector, with a hyphen.
For now I renamed textfile-collector to textfile_collector to suppress the error message.