Clarify that cisco mdt telemetry tcp transport does not support TLS

This commit is contained in:
Daniel Nelson 2019-07-01 12:14:30 -07:00
parent 1fe7301b95
commit fae63ed297
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 19 additions and 15 deletions

View File

@ -14,17 +14,19 @@ The TCP dialout transport is supported on IOS XR (32-bit and 64-bit) 6.1.x and l
```toml
[[inputs.cisco_telemetry_mdt]]
## Telemetry transport (one of: tcp, grpc)
## Telemetry transport can be "tcp" or "grpc". TLS is only supported when
## using the grpc transport.
transport = "grpc"
## Address and port to host telemetry listener
service_address = ":57000"
## Enable TLS for GRPC transport
## Enable TLS; grpc transport only.
# tls_cert = "/etc/telegraf/cert.pem"
# tls_key = "/etc/telegraf/key.pem"
## Enable TLS client authentication and define allowed CA certificates
## Enable TLS client authentication and define allowed CA certificates; grpc
## transport only.
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
## Define aliases to map telemetry encoding paths to simple measurement names

View File

@ -348,17 +348,19 @@ func (c *CiscoTelemetryMDT) Stop() {
}
const sampleConfig = `
## Telemetry transport (one of: tcp, grpc)
## Telemetry transport can be "tcp" or "grpc". TLS is only supported when
## using the grpc transport.
transport = "grpc"
## Address and port to host telemetry listener
service_address = ":57000"
## Enable TLS for GRPC transport
## Enable TLS; grpc transport only.
# tls_cert = "/etc/telegraf/cert.pem"
# tls_key = "/etc/telegraf/key.pem"
## Enable TLS client authentication and define allowed CA certificates
## Enable TLS client authentication and define allowed CA certificates; grpc
## transport only.
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
## Define aliases to map telemetry encoding paths to simple measurement names