You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[processors.snmp_lookup]]
namepass = ["interface"]
## Name of tag holding the table row indexindex_tag = "index"## SNMP community string.community = "public"## The GETBULK max-repetitions parameter.max_repetitions = 100## The amount of agents to cache entries for. If limit is reached, ## oldest will be removed first. 0 means no limit.max_cache_entries = 0## List of tags to be looked up.
[[processors.snmp_lookup.tag]]
oid = "IF-MIB::ifName"
Logs from Telegraf
2024-06-05T08:32:43Z E! [processors.snmp_lookup] Building table for "172.16.43.2" failed: performing bulk walk for field ifName: request timeout (after 3 retries)
Worker exits from a panic: runtime error: invalid memory address or nil pointer dereference
Stack trace: goroutine 160 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x5e
github.com/alitto/pond.defaultPanicHandler({0x70a8180, 0xdc68f90})
/go/pkg/mod/github.com/alitto/pond@v1.8.3/pond.go:26 +0x25
github.com/alitto/pond.(*WorkerPool).executeTask.func1()
/go/pkg/mod/github.com/alitto/pond@v1.8.3/pond.go:437 +0x4a
panic({0x70a8180?, 0xdc68f90?})
/usr/local/go/src/runtime/panic.go:770 +0x132
github.com/influxdata/telegraf/plugins/processors/snmp_lookup.(*backlog).resolve(0xc03b210180, {0xc0256de590, 0xb}, 0x0)
/go/src/github.com/influxdata/telegraf/plugins/processors/snmp_lookup/backlog.go:79 +0x26e
github.com/influxdata/telegraf/plugins/processors/snmp_lookup.(*store).enqueue.func1()
/go/src/github.com/influxdata/telegraf/plugins/processors/snmp_lookup/store.go:80 +0x96
github.com/alitto/pond.(*WorkerPool).executeTask(0xc03b220000, 0x0?, 0x0?)
/go/pkg/mod/github.com/alitto/pond@v1.8.3/pond.go:454 +0x6c
github.com/alitto/pond.worker({0x8cdbd10, 0xc03aee5400}, 0x0?, 0x0?, 0xc02f837980, 0xc03aee1ee0)
/go/pkg/mod/github.com/alitto/pond@v1.8.3/worker.go:32 +0xc2
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker in goroutine 1
/go/pkg/mod/github.com/alitto/pond@v1.8.3/pond.go:423 +0x133
System info
Telegraf 1.30.3
Docker
No response
Steps to reproduce
Run telegraf
Have metric for source which does not respond (in my case it was because of max-repetitions was too high for the device)
Expected behavior
Processor to return the metrics unmodified.
Actual behavior
Telegraf panics with given stack trace and crashes.
Additional info
No response
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.30.3
Docker
No response
Steps to reproduce
source
which does not respond (in my case it was because ofmax-repetitions
was too high for the device)Expected behavior
Processor to return the metrics unmodified.
Actual behavior
Telegraf panics with given stack trace and crashes.
Additional info
No response
The text was updated successfully, but these errors were encountered: