Here is a the part of the config file downloaded directly from Influx:
## Optional TLS Config for use on HTTP connections.
# tls_ca = "/etc/telegraf/ca.pem"
# tls_cert = "/etc/telegraf/cert.pem"
# tls_key = "/etc/telegraf/key.pem"
## Use TLS but skip chain & host verification
# insecure_skip_verify = false
-# Read metrics from one or many vCenters
[[inputs.vsphere]]
vcenters = [ "https://lol.no" ]
username = "nothappening@lol.no"
password = "Password12345"
Line 128 that it’s complaining about is [[inputs.vsphere]]How is this fixable if I have no control over the final file generated that’s seemingly much different than the file that I edit in the setup process to add credentials for vSphere?
That’s from the config file that is generated from the “create configuration” wizard. That dash is there in the “stock” file. If that dash is an issue I can regenerate the config using the wizard and remove it since I do see it here on line 1.
Yes, that is indeed very strange and perhaps a bug that needs to be fixed. @Ryanhaku glad you were able to resolve it manually, mind give me the steps to reproduce the problem so I can file a bug or you can directly do it here: GitHub · Where software is built Thanks!