-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snmp table not working on later releases than 1.20.4 #10793
Comments
Could you edit your message, it seems like you pasted the same output for 1.21.4 so we don't see any error messages.. |
Could you also update the relevant telegraf config from your starting post to include the whole |
done, and also corrected the initial 1.21.4 output to represent a real poll with 1.21.4 to same device |
Does it work if you manually added this field for example? [[inputs.snmp.table.field]]
oid = "CHECKPOINT-MIB::fwInstancesCPUUsage"
name = "fwInstancesCPUUsage" |
hmm yes when I add it under the table I get the following.
So config now looks like; [[inputs.snmp.table]]
name = "fwInstancesCPUTable"
inherit_tags = [ "vdName" , "hostname" ]
oid = "CHECKPOINT-MIB::fwInstancesCPUTable"
[[inputs.snmp.table.field]]
oid = "CHECKPOINT-MIB::fwInstancesCPUUsage"
name = "fwInstancesCPUUsage"
[[inputs.snmp.table.field]]
oid = "CHECKPOINT-MIB::fwInstancesCPUInstanceName"
name = "fwInstancesCPUInstanceName"
is_tag = true Am I doing something wrong leaving that table field out? My understanding is that all fields are recorded when adding oid at the table level. |
Hi @MyaLongmire another example that there might be something wrong with snmp's (Other example was in #10445) |
What is the most worrisome is that this fails silently - no way to know that you are actually dropping metrics until someome kindly reminds you that we are missing several days of data :( |
Hi @henriknoerr, we recently merged a change that switches back to the 1.20.4 behavior (#10802). It's in the nightly build now. Could you try the nightly build to see if it works for you? We're planning to release this in 1.23.0 which is scheduled for next Wednesday, March 23. If you could report what you find it would help us flush out bugs and gain confidence in the change. Nightly builds: https://github.com/influxdata/telegraf/blob/master/docs/NIGHTLIES.md |
The nightly build correctly polls the table I was missing. |
root@hostname:~$ telegraf --version |
Thanks for testing. I'm glad it's working again for you |
Since this is working with the netsnmp translator, I'm closing the issue |
No, we still need to investigate what's wrong with the gosmi table init.. |
Relevant telegraf.conf
Logs from Telegraf
on 1.20.4
on 1.21.4 or in between
System info
telegraf 1.21.4
Docker
No response
Steps to reproduce
...
Expected behavior
I want releases later than 1.20.4 to be able to gather metrics from the CHECKPOINT-MIB::fwInstancesCPUTable
Actual behavior
no data from said table
Additional info
snippet from CHECKPOINT-MIB
CHECKPOINT-MIB.txt
The text was updated successfully, but these errors were encountered: