You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put 'enable_tls = true' statement in the telegraf.conf file.
Start Telegraf Docker container.
Error is shown in the logs.
Expected behavior:
Telegraf should start streaming data into my InfluxDB.
Actual behavior:
Seeing the following error message:
Error running agent: Error parsing /etc/telegraf/telegraf.conf, line 31: field corresponding to `enable_tls' is not defined in jti_openconfig_telemetry.OpenConfigTelemetry
Additional info:
If I delete the 'enable_tls = true' line and uncomment "#ssl_cert = "/etc/telegraf/juniper_tls_cert.pem" then everything works. The cert is loaded on the router.
I want to be able to set up a TLS session without providing the pem file in my Telegraf.conf file. I believe if I have the 'insecure_skip_verify = true' line in my telegraf.conf file this should allow me to set up a TLS encrypted session, but currently, it is failing before it even reads the 'insecure_skip_verify=true' line.
The text was updated successfully, but these errors were encountered:
If you wish to use this feature, please use a nightly build, as it hasn't made it to an official release yet. (Implemented in #6027 that will be in telegraf 1.12)
Relevant telegraf.conf:
System info:
Docker container running Telegraf v1.11
Steps to reproduce:
Expected behavior:
Telegraf should start streaming data into my InfluxDB.
Actual behavior:
Seeing the following error message:
Error running agent: Error parsing /etc/telegraf/telegraf.conf, line 31: field corresponding to `enable_tls' is not defined in jti_openconfig_telemetry.OpenConfigTelemetry
Additional info:
If I delete the 'enable_tls = true' line and uncomment "#ssl_cert = "/etc/telegraf/juniper_tls_cert.pem" then everything works. The cert is loaded on the router.
I want to be able to set up a TLS session without providing the pem file in my Telegraf.conf file. I believe if I have the 'insecure_skip_verify = true' line in my telegraf.conf file this should allow me to set up a TLS encrypted session, but currently, it is failing before it even reads the 'insecure_skip_verify=true' line.
The text was updated successfully, but these errors were encountered: