Here is the curl command forwarded via kubectl port-forward to the
snmp-exporter kubernetes container
If I call the 1.1.1.1 which not existing, I get:
curl 'localhost:9116/snmp?module=ipn&target=1.1.1.1&debug=true'
An error has occurred while serving metrics:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping
target", constLabels: {}, variableLabels: []}: error getting target
1.1.1.1: request timeout (after 3 retries)
If I call the existing ip, I get the exception
curl 'localhost:9116/snmp?module=ipn&target=10.17.125.14&debug=true'
looks like the response breaks it and not a timeout. Would be interesting
to see the real response, what's missing or breaking it. Other devices of
our module ipn are working fine, btw. these are Cisco N9k devices.
I am using a configuration which is generated with a generator docker image.
An error has occurred while serving metrics:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping
target", constLabels: {}, variableLabels: []}: error getting target
10.17.125.14: recover: runtime error: invalid memory address or nil pointer
dereference
Stack:goroutine 507 [running]:
github.com/gosnmp/gosnmp.(*GoSNMP).send.func1(0xc00070f5c8)
/go/pkg/mod/github.com/gosnmp/[email protected]/marshal.go:326 +0xa5
panic(0x9e4880, 0xe89790)
/usr/local/go/src/runtime/panic.go:969 +0x1b9
github.com/gosnmp/gosnmp.(*GoSNMP).send(0xc0003e6360, 0xc001982460,
0xc000a9a001, 0x0, 0xb34ee0, 0xc000b6fe40)
/go/pkg/mod/github.com/gosnmp/[email protected]/marshal.go:372 +0x20e
github.com/gosnmp/gosnmp.(*GoSNMP).Get(0xc0003e6360, 0xc000c33060, 0x2,
0x2, 0x0, 0x0, 0xc00083bad0)
/go/pkg/mod/github.com/gosnmp/[email protected]/gosnmp.go:363 +0x159
main.ScrapeTarget(0xb40660, 0xc000458000, 0xc0005b801c, 0xc, 0xc0001520f0,
0xb34f40, 0xc00083b7a0, 0x0, 0x0, 0x0, ...)
/app/collector.go:133 +0x5be
main.collector.Collect(0xb40660, 0xc000458000, 0xc0005b801c, 0xc,
0xc0001520f0, 0xb34f40, 0xc00083b7a0, 0xc0012fe2a0)
/app/collector.go:222 +0xbc
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:446
+0x1a2
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:457
+0x5ce
goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7efcd8f14eb8, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000d0c018, 0x72, 0x0, 0x0, 0xa85b68)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000d0c000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:394 +0x1fc
net.(*netFD).accept(0xc000d0c000, 0x3631c3285197d274, 0x0, 0x0)
/usr/local/go/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc000b74300, 0x612e317d, 0xc000da3ad0, 0x48e3a6)
/usr/local/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000b74300, 0xc000da3b20, 0x18, 0xc000000180,
0x7f8dec)
/usr/local/go/src/net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc000d0a000, 0xb3ee20, 0xc000b74300, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2937 +0x266
github.com/prometheus/exporter-toolkit/web.Serve(0xb3ee20, 0xc000b74300,
0xc000d0a000, 0x0, 0x0, 0xb34f40, 0xc000299e30, 0x0, 0xe0)
/go/pkg/mod/github.com/prometheus/[email protected]/web/tls_config.go:192
+0x1b0
github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc000d0a000,
0x0, 0x0, 0xb34f40, 0xc000299e30, 0x0, 0x0)
/go/pkg/mod/github.com/prometheus/[email protected]/web/tls_config.go:184
+0xfd
main.main()
/app/main.go:248 +0xb71
goroutine 8 [syscall, 3 minutes]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:147 +0x9d
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
/usr/local/go/src/os/signal/signal.go:150 +0x45
goroutine 9 [select, 3 minutes]:
main.main.func1(0xc0002801e0, 0xb34f40, 0xc000299e30)
/app/main.go:179 +0xe5
created by main.main
/app/main.go:177 +0x7ce
goroutine 13 [select]:
github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00090c320,
0x0, 0x0, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:513
+0xbbc
github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0xb3f0a0,
0xc000234e00, 0xc000898300)
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/http.go:126
+0x99
net/http.HandlerFunc.ServeHTTP(0xc0001062a0, 0xb3f0a0, 0xc000234e00,
0xc000898300)
/usr/local/go/src/net/http/server.go:2042 +0x44
main.handler(0xb3f0a0, 0xc000234e00, 0xc000898300, 0xb34f40, 0xc000299e30)
/app/main.go:110 +0x6d7
main.main.func2(0xb3f0a0, 0xc000234e00, 0xc000898300)
/app/main.go:201 +0x51
net/http.HandlerFunc.ServeHTTP(0xc000b742a0, 0xb3f0a0, 0xc000234e00,
0xc000898300)
/usr/local/go/src/net/http/server.go:2042 +0x44
net/http.(*ServeMux).ServeHTTP(0xea0040, 0xb3f0a0, 0xc000234e00,
0xc000898300)
/usr/local/go/src/net/http/server.go:2417 +0x1ad
net/http.serverHandler.ServeHTTP(0xc000d0a000, 0xb3f0a0, 0xc000234e00,
0xc000898300)
/usr/local/go/src/net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc000192000, 0xb40660, 0xc000b7e180)
/usr/local/go/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2969 +0x36c
goroutine 561 [IO wait]:
internal/poll.runtime_pollWait(0x7efcd8f145a8, 0x72, 0xb36220)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000566398, 0x72, 0xb36200, 0xe444f0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000566380, 0xc0001e80d1, 0x1, 0x1, 0x0, 0x0,
0x0)
/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000566380, 0xc0001e80d1, 0x1, 0x1, 0x0, 0x0, 0xb3ac20)
/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0005b2020, 0xc0001e80d1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*connReader).backgroundRead(0xc0001e80c0)
/usr/local/go/src/net/http/server.go:690 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:686 +0xd5
goroutine 554 [IO wait]:
internal/poll.runtime_pollWait(0x7efcd8f14208, 0x72, 0xb36220)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000566298, 0x72, 0xb36200, 0xe444f0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000566280, 0xc000c25781, 0x1, 0x1, 0x0, 0x0,
0x0)
/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000566280, 0xc000c25781, 0x1, 0x1, 0x0, 0x0, 0xb3ac20)
/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000c2e008, 0xc000c25781, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*connReader).backgroundRead(0xc000c25770)
/usr/local/go/src/net/http/server.go:690 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:686 +0xd5
goroutine 46 [IO wait]:
internal/poll.runtime_pollWait(0x7efcd8f14c00, 0x72, 0xb36220)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000566118, 0x72, 0xb36200, 0xe444f0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000566100, 0xc000d82000, 0x1000, 0x1000, 0x0,
0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000566100, 0xc000d82000, 0x1000, 0x1000, 0x59e3d3,
0xe8c0e0, 0xa02260)
/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000568008, 0xc000d82000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*connReader).Read(0xc000560360, 0xc000d82000, 0x1000, 0x1000,
0x59ffb4, 0x80, 0x203000)
/usr/local/go/src/net/http/server.go:798 +0x1ad
bufio.(*Reader).fill(0xc00007c2a0)
/usr/local/go/src/bufio/bufio.go:101 +0x105
bufio.(*Reader).ReadSlice(0xc00007c2a0, 0xa, 0x28, 0xc000713988, 0x40d950,
0xc000467100, 0x100)
/usr/local/go/src/bufio/bufio.go:360 +0x3d
bufio.(*Reader).ReadLine(0xc00007c2a0, 0xc000467100, 0x479294,
0xc000090c00, 0x0, 0x40e2b8, 0x30)
/usr/local/go/src/bufio/bufio.go:389 +0x34
net/textproto.(*Reader).readLineSlice(0xc0008d9500, 0xc000467100, 0x4d788d,
0xc000566100, 0x467500, 0xc000582d80)
/usr/local/go/src/net/textproto/reader.go:58 +0x6c
net/textproto.(*Reader).ReadLine(...)
/usr/local/go/src/net/textproto/reader.go:39
net/http.readRequest(0xc00007c2a0, 0x0, 0xc000467100, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:1012 +0xaa
net/http.(*conn).readRequest(0xc0000e43c0, 0xb40660, 0xc00057a080, 0x0,
0x0, 0x0)
/usr/local/go/src/net/http/server.go:984 +0x19a
net/http.(*conn).serve(0xc0000e43c0, 0xb40660, 0xc00057a080)
/usr/local/go/src/net/http/server.go:1851 +0x705
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/serv
Calling the same broken device from my laptop with the darwin snmp_exporter
v0.20.0, fresh download from your github release page and my config, I get:
snmp_exporter-0.20.0.darwin-amd64$ ./snmp_exporter --config.file="snmp.yml"
level=info ts=2021-08-31T14:08:04.742Z caller=main.go:152 msg="Starting
snmp_exporter" version="(version=0.20.0, branch=HEAD,
revision=c33572b6c8c8e43a479fde0f9fa8ac86e15598bc)"
level=info ts=2021-08-31T14:08:04.742Z caller=main.go:153
build_context="(go=go1.15.8, user=root@eebd39e6960e,
date=20210212-11:35:55)"
level=info ts=2021-08-31T14:08:04.792Z caller=main.go:246 msg="Listening on
address" address=:9116
level=info ts=2021-08-31T14:08:04.792Z caller=tls_config.go:191 msg="TLS is
disabled." http2=false
level=info ts=2021-08-31T14:10:45.612Z caller=collector.go:224 module=ipn
target=10.17.125.14 msg="Error scraping target" err="error getting target
10.17.125.14: recover: runtime error: invalid memory address or nil pointer
dereference\nStack:goroutine 45
[running]:\ngithub.com/gosnmp/gosnmp.(*GoSNMP).send.func1(0xc0001295c8)
/go/pkg/mod/github.com/gosnmp/[email protected]/marshal.go:326 +0xa5
panic(0x15e6140, 0x1a90af0)
/usr/local/go/src/runtime/panic.go:969 +0x1b9
github.com/gosnmp/gosnmp.(*GoSNMP).send(0xc0000b0120, 0xc00039e0e0,
0xc00052c701, 0x0, 0x1737940, 0xc000d16330)
/go/pkg/mod/github.com/gosnmp/[email protected]/marshal.go:372 +0x20e
github.com/gosnmp/gosnmp.(*GoSNMP).Get(0xc0000b0120, 0xc000dceec0, 0x2,
0x2, 0x0, 0x0, 0xc0001caab0)
/go/pkg/mod/github.com/gosnmp/[email protected]/gosnmp.go:363 +0x159
main.ScrapeTarget(0x1743200, 0xc0009180c0, 0xc000624091, 0xc, 0xc0002254a0,
0x17379a0, 0xc000699ef0, 0x0, 0x0, 0x0, ...)
/app/collector.go:133 +0x5be
main.collector.Collect(0x1743200, 0xc0009180c0, 0xc000624091, 0xc,
0xc0002254a0, 0x17379a0, 0xc000699ef0, 0xc0002004e0)
/app/collector.go:222 +0xbc
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:446
+0x1a2
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:457
+0x5ce
goroutine 1 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x3724ed0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dfb198, 0x72, 0x0, 0x0, 0x1686b4b)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000dfb180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:394 +0x1fc
net.(*netFD).accept(0xc000dfb180, 0xfa50add9a8b61eed, 0xb001a8b61eed,
0x100000001)
usr/local/go/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc000e0fac0, 0x612e3820, 0xc000cc5ad0, 0x108d3a6)
/usr/local/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000e0fac0, 0xc000cc5b20, 0x18, 0xc000000180,
0x13fa24c)
/usr/local/go/src/net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc00069a1c0, 0x17419c0, 0xc000e0fac0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2937 +0x266
github.com/prometheus/exporter-toolkit/web.Serve(0x17419c0, 0xc000e0fac0,
0xc00069a1c0, 0x0, 0x0, 0x17379a0, 0xc0002025d0, 0x0, 0xe0)
/go/pkg/mod/github.com/prometheus/[email protected]/web/tls_config.go:192
+0x1b0
github.com/prometheus/exporter-toolkit/web.ListenAndServe(0xc00069a1c0,
0x0, 0x0, 0x17379a0, 0xc0002025d0, 0x0, 0x0)
/go/pkg/mod/github.com/prometheus/[email protected]/web/tls_config.go:184
+0xfd
main.main()
/app/main.go:248 +0xb71
goroutine 49 [syscall, 2 minutes]:
os/signal.signal_recv(0x0)\
/usr/local/go/src/runtime/sigqueue.go:144 +0x9d
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
/usr/local/go/src/os/signal/signal.go:150 +0x45
goroutine 50 [select, 2 minutes]:
main.main.func1(0xc000200240, 0x17379a0, 0xc0002025d0)
/app/main.go:179 +0xe5
created by main.main
/app/main.go:177 +0x7ce
ngoroutine 54 [select]:
github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0xc00052c690,
0x0, 0x0, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:513
+0xbbc
github.com/prometheus/client_golang/prometheus/promhttp.HandlerFor.func1(0x1741c40,
0xc00039e000, 0xc0000e2000)
go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/http.go:126
+0x99
net/http.HandlerFunc.ServeHTTP(0xc00054e690, 0x1741c40, 0xc00039e000,
0xc0000e2000)
/usr/local/go/src/net/http/server.go:2042 +0x44
main.handler(0x1741c40, 0xc00039e000, 0xc0000e2000, 0x17379a0, 0xc0002025d0)
/app/main.go:110 +0x6d7
main.main.func2(0x1741c40, 0xc00039e000, 0xc0000e2000)
/app/main.go:201 +0x51
net/http.HandlerFunc.ServeHTTP(0xc000e0fa60, 0x1741c40, 0xc00039e000,
0xc0000e2000)
/usr/local/go/src/net/http/server.go:2042 +0x44
net/http.(*ServeMux).ServeHTTP(0x1aa6da0, 0x1741c40, 0xc00039e000,
0xc0000e2000)
/usr/local/go/src/net/http/server.go:2417 +0x1ad
net/http.serverHandler.ServeHTTP(0xc00069a1c0, 0x1741c40, 0xc00039e000,
0xc0000e2000)
/usr/local/go/src/net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc000288aa0, 0x1743200, 0xc000dd3980)
usr/local/go/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2969 +0x36c
goroutine 43 [IO wait]:
internal/poll.runtime_pollWait(0x3724de8, 0x72, 0x1738d80)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dfb218, 0x72, 0x1738d00, 0x1a4b790,
0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000dfb200, 0xc000e18c41, 0x1, 0x1, 0x0, 0x0,
0x0)
/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
net.(*netFD).Read(0xc000dfb200, 0xc000e18c41, 0x1, 0x1, 0xc000dd3a58,
0xc000051f68, 0x107671c)
/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000dc78c8, 0xc000e18c41, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:182 +0x8e
net/http.(*connReader).backgroundRead(0xc000e18c30)
/usr/local/go/src/net/http/server.go:690 +0x58
created by net/http.(*connReader).startBackgroundRead
/usr/local/go/src/net/http/server.go:686 +0xd5
goroutine 46 [semacquire]:
sync.runtime_Semacquire(0xc0000207b8)
/usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0000207b0)
/usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000207b0,
0xc0002004e0, 0xc000200540)
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:463
+0x2b
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:462
+0x60d
\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
On Tuesday, 31 August 2021 at 15:12:01 UTC+2 Brian Candler wrote:
> Ah OK, so you're using SNMPv3. However I still can't reproduce it with
>
> if_mib3:
> <<: *if_mib
> version: 3
> auth:
> security_level: authPriv
> username: bla
> auth_protocol: SHA
> password: blabla
> priv_protocol: AES
> priv_password: blablabla
>
> # curl 'localhost:9116/snmp?module=if_mib3&target=1.1.1.1&debug=true'
>
> I suggest you try reproducing locally, with curl to your docker container
> and also curl to a local instance of snmp_exporter.
>
> If it reproduces in the first case but not the second then it's most
> likely a problem with the docker packaging, and you should take it up with
> whoever maintains the docker container.
>
> If you can't reproduce it with curl, even on the docker container, then it
> could be something about how prometheus is talking to snmp_exporter. You
> might need to look at tcpdump to see how it's scraping it, to find a way to
> reproduce with curl.
>
> One other thing: are you using the out-of-the-box snmp.yml, or one that
> you've generated yourself?
>
--
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/eba3a68e-df56-4458-9ab9-3f5cc99e8b2bn%40googlegroups.com.