Hey, thanks for your fast response. What do you mean by required yaml indentation? Can you please specify your point? I am realy new to this topic...
friendly regards Am Dienstag, 2. Juni 2020 14:59:14 UTC+2 schrieb Ben Kochie: > > If your config file example is accurate, you are missing the required yaml > indentation. > > On Tue, Jun 2, 2020 at 2:51 PM SH <[email protected] <javascript:>> > 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] <javascript:>. >> 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/7a4531c8-b7f3-4429-9856-8b3a2957c364%40googlegroups.com.

