telegraf/docs
Andreas Fuchs 3c9c013f4b
common/tls: Allow specifying SNI hostnames (#7897)
* tls_config: Allow specifying SNI hostnames

Add a new configration field `tls_server_name` that allows specifying
the server name that'll be sent in the ClientHello when telegraf makes
a request to TLS servers. This allows checking against load balancers
responding to specific hostnames that otherwise wouldn't resolve to
their addresses.

Add the setting to the documentation of common TLS options, as well as
to the http_response plugin.

Fixes #7598.

* Adjust the x509_cert to allow usage of tls_server_name

This plugin has been using ServerName previously, and will have to
deal with the new setting, too: Extract the server-name choosing into
a method & add a test to ensure we choose the right value (and error
under the right circumstances). Also document that the two settings
are mutually exclusive.

* Improve documentation on what we try to accomplish in the nil return

Also get rid of the TODO, as I am fairly certain this behavior is the
correct one.

* Remove unused struct field in tests
2020-12-23 13:39:43 -06:00
..
AGGREGATORS.md Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
AGGREGATORS_AND_PROCESSORS.md docs update 2020-12-10 13:21:58 -05:00
CONFIGURATION.md change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
DATA_FORMATS_INPUT.md Add a parser plugin for prometheus (#7778) 2020-12-02 12:48:44 -07:00
DATA_FORMATS_OUTPUT.md Missing ServiceNow metrics in DATA_FORMATS_OUTPUT.md (#8205) 2020-09-30 11:52:43 -06:00
EXTERNAL_PLUGINS.md fix links in external plugins readme (#8307) 2020-11-12 09:21:47 -08:00
FAQ.md Update docker FAQ (#7868) 2020-07-21 11:54:39 -07:00
INPUTS.md Typo in INPUTS.md (#8573) 2020-12-16 13:23:50 -05:00
LICENSE_OF_DEPENDENCIES.md Add prometheus remote write serializer (#8360) 2020-12-16 14:11:05 -05:00
METRICS.md Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
OUTPUTS.md add plugin documentation 2020-10-14 12:27:16 -04:00
PROCESSORS.md add plugin documentation 2020-10-14 12:27:16 -04:00
PROFILING.md Added pprof tool (#2512) 2017-03-29 18:28:43 -07:00
README.md Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
TEMPLATE_PATTERN.md Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
TLS.md common/tls: Allow specifying SNI hostnames (#7897) 2020-12-23 13:39:43 -06:00
WINDOWS_SERVICE.md Document --service-display-name flag for Windows service 2019-12-10 13:13:03 -08:00