-
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 plugin generating duplicate measurements #773
Comments
cc @titilambert |
@DebtFromAbove Thanks for this bug report. |
@DebtFromAbove Found and fixed :) @sparrc I made a patch for this bug on snmp PR (#735) |
Thanks for fix. On 1 March 2016 00:46:33 GMT+00:00, Thibault Cohen notifications@github.com wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
closes influxdata#735 closes influxdata#773 closes influxdata#540
Hi,
Im running telegraf 0.10.4.1 and trying to use the snmp plugin to gather measurements from a router running DD-WRT and send them to influx. I've specified a few measurements to get using the bulk and get methods.
When I run a config test it is showing some of the measurements twice for each interface
I have checked the router itself by running
snmpwalk -c XXXX -v 2c 192.168.1.4 . > /tmp/dir-router-snmp
. I've then searched the resulting file to ensure that the the translated OID descriptions I am requesting in my config file only appear once for each interface. I have also tried the same config file below but replacing the translated OID descriptions with the actual OID value E.g. '.1.3.6.1.2.1.2.2.1.10'I've run it without the test option and confirmed the same from the influxDB query interface. There are two measurements for each interface approx 1 second apart, then another two 10 seconds later. The global interval is set to 10s so there should only be one measurement every 10s.
One final point, I've also tested with "retries" set to 0 in case it was retrying because it thought there was an error and in actual fact pulled stats twice. This made no difference either
Could someone take a look at what may be causing this, or offer up any advice as to what I could try next
TIA
The text was updated successfully, but these errors were encountered: