fix: invalid config for vsphere #7087
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes 26912
go run ./cmd/telegraf config > etc/telegraf.confcommand to generateetc/telegraf.conffile.src/writeData/utils/updateTelegrafPlugins.mjsso it will get contents from my localinfluxdata/telegra/etc/telegraf.confinstead of the remote repository/influxdata/telegraf.telegraf-plugins:updatecommand to generate new contents formdandconffiles.This is just a very primitive implementation of the updateTelegrafPlugins.mjs to make the script work
updateTelegrafPlugins.txt
-at the beginning of the.conffile.src/writeData/utils/README.mdguidance and thesrc/writeData/utils/updateTelegrafPlugins.mjsscript file to get contents frometc/telegraf.confin the local repository, not the remote.-at the beginning of the file.Screen.Recording.2025-10-22.at.09.55.53.mov
src/writeData/utils/updateTelegrafPlugins.mjsand run the commandtelegraf-plugins:update, the-at the beginning of the file disappears.Screen.Recording.2025-10-22.at.10.01.23.mov
Checklist
Authors and Reviewer(s), please verify the following: