When trying to start node_exporter I get ""TLS is disabled and it cannot be enabled on the fly." http2=false"

2,702 views
Skip to first unread message

Rod

unread,
Jul 13, 2020, 2:41:45 AM7/13/20
to Prometheus Users
]# ./node_exporter
level=info ts=2020-07-13T06:20:23.671Z caller=node_exporter.go:177 msg="Starting node_exporter" version="(version=1.0.1, branch=HEAD, revision=3715be6ae899f2a9b9dbfd9c39f3e09a7bd4559f)"
level=info ts=2020-07-13T06:20:23.671Z caller=node_exporter.go:178 msg="Build context" build_context="(go=go1.14.4, user=root@1f76dbbcfa55, date=20200616-12:44:45)"
level=info ts=2020-07-13T06:20:23.673Z caller=node_exporter.go:105 msg="Enabled collectors"
level=info ts=2020-07-13T06:20:23.673Z caller=node_exporter.go:112 collector=arp
level=info ts=2020-07-13T06:20:23.673Z caller=node_exporter.go:112 collector=bcache
......
level=info ts=2020-07-13T06:20:23.674Z caller=node_exporter.go:112 collector=vmstat
level=info ts=2020-07-13T06:20:23.674Z caller=node_exporter.go:112 collector=xfs
level=info ts=2020-07-13T06:20:23.674Z caller=node_exporter.go:112 collector=zfs
level=info ts=2020-07-13T06:20:23.674Z caller=node_exporter.go:191 msg="Listening on" address=:9100
level=info ts=2020-07-13T06:20:23.674Z caller=tls_config.go:170 msg="TLS is disabled and it cannot be enabled on the fly." http2=false

Julien Pivotto

unread,
Jul 13, 2020, 3:13:06 AM7/13/20
to Rod, Prometheus Users
Hello,

First, it is not required to run the node exporter as root.

Then, it means that you did not enable TLS, which is the default:
https://github.com/prometheus/node_exporter/tree/master/https

>
> --
> 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 prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0272f262-0571-4072-a148-8671e74501d4o%40googlegroups.com.


--
Julien Pivotto
@roidelapluie
Message has been deleted

Rod

unread,
Jul 13, 2020, 6:38:04 AM7/13/20
to Prometheus Users
Thanks Julien 

I think that there an issue with the RHEL6 image...
I installed on a RHEL7 image and it is working fine. 

--Rod

 
Hello,

First, it is not required to run the node exporter as root.

Then, it means that you did not enable TLS, which is the default:
https://github.com/prometheus/node_exporter/tree/master/https

>
> --
> 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 promethe...@googlegroups.com.

Julien Pivotto

unread,
Jul 13, 2020, 6:52:08 AM7/13/20
to Rod, Prometheus Users
On 13 Jul 03:33, Rod wrote:
> Thanks....
>
> I moved it to a RHEL 7 server and it is working fine now.
>
> I am guessing that there some issues with my RHEL 6 image.

I see no issue here. What do you mean?

It can not be enabled *on the fly*. It can still be enabled however.
> > an email to promethe...@googlegroups.com <javascript:>.
> > > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/prometheus-users/0272f262-0571-4072-a148-8671e74501d4o%40googlegroups.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 prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/150a9d27-fe74-446e-ab27-8b156d8377c5o%40googlegroups.com.


--
Julien Pivotto
@roidelapluie
Reply all
Reply to author
Forward
0 new messages