I am using telegraf to collect some information over modbus TCP.
The problem now is I need to do some changes on the modbus plugin and I dont know where I can find the client.go file.
My problems are the same issues like these at the topic below and I need to change the safety check “if count != length” in the client.go file, which is part of the telegraf modbus plugin.
No that’s not possible. At least not easily… Binary patching is like black magic and you should not get into this. What you can do though is to fix that bug in source-code and recompile. Even better, once you fixed the code upstream, we could easily bump the version in telegraf and you get a nightly build with that change in…