On 02 Jun 14:58, Ben Kochie wrote:
> If your config file example is accurate, you are missing the required yaml
> indentation.


The issue here is that it is a mix betweem rc-0 and rc-1 code. Note that
rc-0 did not unmarshal yaml striclty.

> 
> On Tue, Jun 2, 2020 at 2:51 PM SH <[email protected]> wrote:
> 
> > Hey all,
> >
> > I am trying to enable TLS encryption for the node_exporter in my machines.
> > When I am trying to start node_explorer with the --web.config flag I am
> > running to
> >
> > level=error ts=2020-06-02T12:43:38.957Z caller=node_exporter.go:193 
> > err="missing
> > TLSCertPath"
> >
> > My web-config.yml looks like:
> >
> > tls_config:
> >
> >  # Certificate and key files for server to use to authenticate to client
> >
> >  cert_file: /root/data/cert/live/folder/fullchain.pem
> >
> >  key_file:  /root/data/cert/live/folder/privkey.pem
> >
> > entering
> > systemctl status node_exporter
> >
> > shows me that node_exporter is running correctly:
> >
> > *●* node_exporter.service - Node Exporter
> >
> >   Loaded: loaded (/etc/systemd/system/node_exporter.service; enabled;
> > vendor preset: enabled)
> >
> >   Active: *active (running)* since Tue 2020-06-02 12:34:07 UTC; 15min ago
> >
> > Main PID: 10871 (node_exporter)
> >
> >   CGroup: /system.slice/node_exporter.service
> >
> >           └─10871 /usr/local/bin/node_exporter
> >
> > I am thankful for any advices since I can't figure out what the problem
> > is. Any clues maybe?
> >
> >
> > Friendly regards
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Prometheus Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/prometheus-users/037f6dd9-3071-47ed-b5a6-43e7807ec958%40googlegroups.com
> > <https://groups.google.com/d/msgid/prometheus-users/037f6dd9-3071-47ed-b5a6-43e7807ec958%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/CABbyFmp6%3Df31oKLiP110XKUBEYLAEAF2AnwbbKn4jVe5dQhTZw%40mail.gmail.com.

-- 
Julien Pivotto
@roidelapluie

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20200602130204.GB520351%40oxygen.

Reply via email to