启动node_exporter 失败,日志信息展示:TLS is disabled and it cannot be enabled on the fly
执行命令:
./node_exporter
输出日志:
level=info ts=2020-07-18T04:38:46.494Z caller=node_exporter.go:112 collector=uname
level=info ts=2020-07-18T04:38:46.494Z caller=node_exporter.go:112 collector=vmstat
level=info ts=2020-07-18T04:38:46.494Z caller=node_exporter.go:112 collector=xfs
level=info ts=2020-07-18T04:38:46.494Z caller=node_exporter.go:112 collector=zfs
level=info ts=2020-07-18T04:38:46.494Z caller=node_exporter.go:191 msg="Listening on" address=:9100
level=info ts=2020-07-18T04:38:46.494Z caller=tls_config.go:170 msg="TLS is disabled and it cannot be enabled on the fly." http2=false
监控平台中的node_exploter 是down状态:
配置文件信息:
[root@localhost home]# cat prometheus.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'node_exporter'
static_configs:
- targets: ['localhost:9100']
[root@localhost home]#
环境:
node_exporter版本:1.0.1
系统:centos7
请老师指点一下啦