-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(inputs.upsd): Move to new sample.conf style #11471
Conversation
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
The However the respective lines in |
Forgot to tag @srebhan ^^ . |
The files will be auto-generated once this is merged IIRC. You can check by running |
Confirmed: $ ./usr/bin/telegraf config | grep -A 6 "Network UPS Tools"
# # Monitor UPSes connected via Network UPS Tools
# [[inputs.upsd]]
# ## A running NUT server to connect to.
# # server = "127.0.0.1"
# # port = 3493
# # username = "user"
# # password = "password" LGTM (looking forward to the next release ;-) ) |
This PR moves
inputs.upsd
's sample-configuration to asample.conf
file and embeds the data into both the code and the README. By doing so, we fix the missing[[inputs.upsd]]
header when generating Telegraf's sample-configuration (see comment in #9890).