At least it's an easy fix ;)

On Mon, Oct 24, 2016 at 10:22 AM, <ykla...@ippon.fr> wrote:

> Le lundi 24 octobre 2016 17:58:18 UTC+2, Sean Beckett a écrit :
> > Have you tried with
> >
> >
> > address = "consul.service.test:8500"
> > scheme = "https"
> >
> >
> > On Mon, Oct 24, 2016 at 6:15 AM,  <ykl...@ippon.fr> 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 influxdb+u...@googlegroups.com.
> >
> > To post to this group, send email to infl...@googlegroups.com.
> >
> > 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
>
> In fact nothing was wrong, it turn out that the hostname
> consul.service.test:8500 was wrong ....
> Great week is starting ^^
>
> Thank you Mr Sean Beckeet
>
> --
> 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 influxdb+unsubscr...@googlegroups.com.
> To post to this group, send email to influxdb@googlegroups.com.
> 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/de316f9b-c9a2-4551-b5b0-859ff00dd979%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 influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
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/CALGqCvM5szk5-M61SQ_Gxr%2Bkgm3Q%3DWTVtsHSHWTOH0phgRwW0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to