Have you tried with address = "consul.service.test:8500" scheme = "https"
On Mon, Oct 24, 2016 at 6:15 AM, <[email protected]> wrote: > Hi everyone, > > I have some problem with telegraf 1.0.1 > > telegraf.conf > > # # Gather health check statuses from services registered in Consul > [[inputs.consul]] > ## Most of these values defaults to the one configured on a Consul's > agent level. > ## Optional Consul server address (default: "localhost") > address = "https://consul.service.test:8500" > ## Optional URI scheme for the Consul server (default: "http") > # scheme = "" > ## Optional ACL token used in every request (default: "") > # token = "" > ## Optional username used for request HTTP Basic Authentication > (default: "") > # username = "" > ## Optional password used for HTTP Basic Authentication (default: "") > # password = "" > ## Optional data centre to query the health checks from (default: "") > # datacentre = "" > > ## Optional SSL Config > > ssl_ca = ".../ca.pem" > ssl_cert = ".../cert.pem" > ssl_key = ".../key.pem" > ## Use SSL but skip chain & host verification > insecure_skip_verify = false > > > When I launch telegraf i got this : > > 2016/10/24 12:08:50 ERROR in input [consul]: Get http://https:%2F%2Fconsul > .service.test:8500/v1/health/state/any: dial tcp: too many colons in > address https://consul.service.console.beta:8500 > > I don't find out why the plugin add http:// before my > https://consul.service.test:8500 adress > > I got look at https://godoc.org/github.com/hashicorp/consul/api#Config > but I don't find out the problem > > I also tried scheme="https" it didn't worked > > Do you have an idea ? > > -- > Remember to include the version number! > --- > You received this message because you are subscribed to the Google Groups > "InfluxData" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/9f09182c-7836-4487-89ec-b9b50c845b9c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CALGqCvNvdKO3LJvREJ8dRaX2hvRpw7NHKeOopVDNWWQnuJgqjg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
