-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Host operating system: output of uname -a
2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC 2013 x86_64 GNU/Linux
node_exporter version: output of node_exporter --version
node_exporter, version 1.6.1 (branch: HEAD, revision: 4a1b776)
build user: root@586879db11e5
build date: 20230717-12:10:52
go version: go1.20.6
platform: linux/amd64
tags: netgo osusergo static_build
node_exporter command line flags
./node_exporter
node_exporter log output
ts=2023-07-24T12:47:06.629Z caller=tls_config.go:274 level=info msg="Listening on" address=[::]:9100
ts=2023-07-24T12:47:06.629Z caller=tls_config.go:277 level=info msg="TLS is disabled." http2=false address=[::]:9100
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa17ae7]
goroutine 59 [running]:
github.com/prometheus/node_exporter/collector.parseNetlinkStats({0xc0001fd180, 0x9, 0x0?}, 0x0?, {0xce3460, 0xc0000b4a00})
<------>/app/collector/netdev_linux.go:69 +0x227
github.com/prometheus/node_exporter/collector.netlinkStats(0x0?, {0xce3460, 0xc0000b4a00})
<------>/app/collector/netdev_linux.go:52 +0xea
github.com/prometheus/node_exporter/collector.getNetDevStats(0x0?, {0xce3460?, 0xc0000b4a00?})
<------>/app/collector/netdev_linux.go:35 +0x2f
github.com/prometheus/node_exporter/collector.(*netDevCollector).Update(0xc0000aee80, 0x0?)
<------>/app/collector/netdev_common.go:113 +0x50
github.com/prometheus/node_exporter/collector.execute({0xbcc939, 0x6}, {0xce3ce0, 0xc0000aee80}, 0x0?, {0xce3500, 0xc000242580})
<------>/app/collector/collector.go:161 +0x9c
github.com/prometheus/node_exporter/collector.NodeCollector.Collect.func1({0xbcc939?, 0x0?}, {0xce3ce0?, 0xc0000aee80?})
<------>/app/collector/collector.go:152 +0x3d
created by github.com/prometheus/node_exporter/collector.NodeCollector.Collect
<------>/app/collector/collector.go:151 +0xd0
Are you running node_exporter in Docker?
No
What did you do that produced an error?
Just run
What did you expect to see?
What did you see instead?
Metadata
Metadata
Assignees
Labels
No labels