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
Strange behavior in SNMP plugin #3411
Comments
I think the value in non_negative_derivative is probably wrong, try setting it to the collection internal (probably 10s). |
I guess you should go back to 1s, I think this is right because you want bytes/sec. I think this could just be caused by variations in how long it takes to collect the data, since we can't always poll exactly 10s apart. Does it appear better when grouped by a larger interval? |
I'm happy to continue trying to help figure this out here, but you might get better results at the InfluxData Community site. |
umm yeap, seems that, because the router is slow to respond to SNMP requests... but i solved that (before that I used InfluxDB with Telegraf) with a ruby script that catch the "uptime" of the router on response and make the math with this, not with the time configurated. Thanks. |
thanks... @danielnelson this is the new link |
Hello, i'm using telegraf to obtain information from my internet router with SNMP plugin, but i see this strange behavior ( I have a 2mbps/2mbps of internet, so the max has to be of 256 KBytes/s, but i see in this 400 Kbytes/s)
My Configuration is
[[inputs.snmp]]
agents = [ "190.6.71.161" ]
version = 2
community = "public"
name = "router_internet"
interval = "10s"
[[inputs.snmp.field]]
name = "rx"
oid = "IF-MIB::ifInOctets.1286"
[[inputs.snmp.field]]
name = "tx"
oid = "IF-MIB::ifOutOctets.1286"
[[inputs.snmp.field]]
name = "erx"
oid = "IF-MIB::ifInErrors.1286"
[[inputs.snmp.field]]
name = "etx"
oid = "IF-MIB::ifOutErrors.1286"
The text was updated successfully, but these errors were encountered: