{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/1044","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/1044/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1044/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/1044/events","html_url":"https://github.com/influxdata/telegraf/pull/1044","id":148874558,"number":1044,"title":"snmp: possible fix for oid key collision when there is an oid key partially matches with current oid_key","user":{"login":"relip","id":308623,"avatar_url":"https://avatars.githubusercontent.com/u/308623?v=3","gravatar_id":"","url":"https://api.github.com/users/relip","html_url":"https://github.com/relip","followers_url":"https://api.github.com/users/relip/followers","following_url":"https://api.github.com/users/relip/following{/other_user}","gists_url":"https://api.github.com/users/relip/gists{/gist_id}","starred_url":"https://api.github.com/users/relip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relip/subscriptions","organizations_url":"https://api.github.com/users/relip/orgs","repos_url":"https://api.github.com/users/relip/repos","events_url":"https://api.github.com/users/relip/events{/privacy}","received_events_url":"https://api.github.com/users/relip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-16T17:48:50Z","updated_at":"2016-04-17T06:06:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/1044","html_url":"https://github.com/influxdata/telegraf/pull/1044","diff_url":"https://github.com/influxdata/telegraf/pull/1044.diff","patch_url":"https://github.com/influxdata/telegraf/pull/1044.patch"},"body":"![chronograf_-_chrome_2016-04-17_02-06-13](https://cloud.githubusercontent.com/assets/308623/14582503/8d7a7e24-0441-11e6-8297-db1a4ebc3a5b.png)\r\n\r\nI found this strange when I first set up Chronograf and Telegraf, it doesn't make sense that the graph falls to negative value. From the graph, I suspected there is some kind of input collision so `DERIVATIVE()` returns negative value, since I found several same values from both eth0 (instance id: 1) and the other network interface with instance id 11. \r\n\r\nTo see if my assumption is right, I put the following line to [this line](https://github.com/influxdata/telegraf/blob/e436b2d72004a940549c21751ba33acf13117004/plugins/inputs/snmp/snmp.go#L736):\r\n```\r\nlog.Printf(\"[snmp input] oid_key: %s, variable.Name: %s\", oid_key, variable.Name)\r\n```\r\n\r\nand the log shows:\r\n\r\n```\r\n2016/04/17 01:52:20 [snmp input] oid_key: .1.3.6.1.2.1.31.1.1.1.10.5, variable.Name: .1.3.6.1.2.1.31.1.1.1.10.57\r\n```\r\n\r\nI'm not an expert on SNMP nor Telegraf plugins, not sure if this change won't make any side effects."},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/210962490","html_url":"https://github.com/influxdata/telegraf/pull/1044#issuecomment-210962490","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1044","id":210962490,"user":{"login":"relip","id":308623,"avatar_url":"https://avatars.githubusercontent.com/u/308623?v=3","gravatar_id":"","url":"https://api.github.com/users/relip","html_url":"https://github.com/relip","followers_url":"https://api.github.com/users/relip/followers","following_url":"https://api.github.com/users/relip/following{/other_user}","gists_url":"https://api.github.com/users/relip/gists{/gist_id}","starred_url":"https://api.github.com/users/relip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relip/subscriptions","organizations_url":"https://api.github.com/users/relip/orgs","repos_url":"https://api.github.com/users/relip/repos","events_url":"https://api.github.com/users/relip/events{/privacy}","received_events_url":"https://api.github.com/users/relip/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T06:06:45Z","updated_at":"2016-04-17T06:06:45Z","body":"@sparrc seems `2016/04/16 17:55:51 Reading SNMPtranslate file error: open bad_oid.txt: no such file or directory` this is the error, but I don't see any relevance between the file change and the error. Maybe it was something wrong at the first place?"}}