{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/4298","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/4298/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/4298/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/4298/events","html_url":"https://github.com/influxdata/telegraf/issues/4298","id":332799646,"node_id":"MDU6SXNzdWUzMzI3OTk2NDY=","number":4298,"title":"snmp input ignored, no debug response, no parser error, not executed","user":{"login":"uclnj","id":835685,"node_id":"MDQ6VXNlcjgzNTY4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/835685?v=4","gravatar_id":"","url":"https://api.github.com/users/uclnj","html_url":"https://github.com/uclnj","followers_url":"https://api.github.com/users/uclnj/followers","following_url":"https://api.github.com/users/uclnj/following{/other_user}","gists_url":"https://api.github.com/users/uclnj/gists{/gist_id}","starred_url":"https://api.github.com/users/uclnj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclnj/subscriptions","organizations_url":"https://api.github.com/users/uclnj/orgs","repos_url":"https://api.github.com/users/uclnj/repos","events_url":"https://api.github.com/users/uclnj/events{/privacy}","received_events_url":"https://api.github.com/users/uclnj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-15T14:34:53Z","updated_at":"2018-06-15T15:03:34Z","closed_at":null,"author_association":"NONE","body":"### Relevant telegraf.conf:\r\n\r\n```\r\n[agent]\r\n  interval = \"15s\"\r\n  debug = true\r\n  log = \"test.log\"\r\n  [...]\r\n[[outputs.influxdb]]\r\n  urls = [\"http://192.168.5.116:8086\"]\r\n  database = \"telegraf\"\r\n  [...]\r\n\r\n**** this one is just ignored\r\n[[inputs.snmp]]\r\n agents = [ \"192.168.5.34:161\" ]\r\n timeout = \"5s\"\r\n retries = 3\r\n version = 2\r\n community = \"public\"\r\n[[inputs.snmp.field]]\r\n name = \"ds416-disk-temps\"\r\n oid = \"iso.3.6.1.4.1.6574.2.1.1.6\"\r\n\r\n**** this works just fine\r\n[[inputs.snmp]]\r\n agents = [ \"192.168.5.1:161\" ]\r\n timeout = \"5s\"\r\n retries = 3\r\n version = 2\r\n community = \"public\"\r\n[[inputs.snmp.field]]\r\n name = \"wg-connections\"\r\n oid = \"iso.3.6.1.4.1.3097.6.3.80.0\"\r\n[[inputs.snmp.field]]\r\n name = \"wg-apr\"\r\n oid = \"iso.3.6.1.4.1.3097.4.2.2.1.18.30\"\r\n[[inputs.snmp.field]]\r\n name = \"wg-https-proxy\"\r\n oid = \"iso.3.6.1.4.1.3097.4.2.2.1.18.13\"\r\n\r\n```\r\n### System info:\r\n\r\nUbuntu 16.04 on physical hardware, Telegraf v1.7.0 (f4d22dd4)\r\n\r\n### Steps to reproduce:\r\n\r\n1. telegraf --config synology.conf --test\r\n\r\n### Expected behavior:\r\n\r\nsnmpwalk with that OID will return the temperature of the four drives in the Synology unit. I would expect telegraf to do the same.\r\n\r\nroot@grafana:/etc/telegraf/telegraf.d# snmpwalk -c public -v 2c 192.168.5.34 iso.3.6.1.4.1.6574.2.1.1.6\r\niso.3.6.1.4.1.6574.2.1.1.6.0 = INTEGER: 35\r\niso.3.6.1.4.1.6574.2.1.1.6.1 = INTEGER: 37\r\niso.3.6.1.4.1.6574.2.1.1.6.2 = INTEGER: 37\r\niso.3.6.1.4.1.6574.2.1.1.6.3 = INTEGER: 38\r\n\r\n### Actual behavior:\r\n\r\nTelegraf test returns the SNMP poll for the WG firewall listed in the config below the Synology poll.  There are no errors, parser problems listed nor any log indicating why Telegraf ignores this request.\r\n\r\nroot@grafana:/etc/telegraf/telegraf.d# telegraf --config synology.conf --test\r\n> snmp,agent_host=192.168.5.1,host=grafana wg-connections=458i,wg-https-proxy=0i,wg-apr=82i 1529072564000000000\r\n\r\n### Additional info:\r\n\r\nthe log file test.log is created but is 0 bytes."},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/397650390","html_url":"https://github.com/influxdata/telegraf/issues/4298#issuecomment-397650390","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/4298","id":397650390,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzY1MDM5MA==","user":{"login":"ybinnenwegin2ip","id":23378123,"node_id":"MDQ6VXNlcjIzMzc4MTIz","avatar_url":"https://avatars2.githubusercontent.com/u/23378123?v=4","gravatar_id":"","url":"https://api.github.com/users/ybinnenwegin2ip","html_url":"https://github.com/ybinnenwegin2ip","followers_url":"https://api.github.com/users/ybinnenwegin2ip/followers","following_url":"https://api.github.com/users/ybinnenwegin2ip/following{/other_user}","gists_url":"https://api.github.com/users/ybinnenwegin2ip/gists{/gist_id}","starred_url":"https://api.github.com/users/ybinnenwegin2ip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybinnenwegin2ip/subscriptions","organizations_url":"https://api.github.com/users/ybinnenwegin2ip/orgs","repos_url":"https://api.github.com/users/ybinnenwegin2ip/repos","events_url":"https://api.github.com/users/ybinnenwegin2ip/events{/privacy}","received_events_url":"https://api.github.com/users/ybinnenwegin2ip/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T15:03:34Z","updated_at":"2018-06-15T15:03:34Z","author_association":"NONE","body":"I seem to be having the same issue.\r\n\r\nI'm running Debian Jessie with Telegraf 1.7.0 with the following config file:\r\n```\r\n[global_tags]\r\n\r\n[agent]\r\n   interval = \"10s\"\r\n\r\n[[outputs.influxdb]]\r\n\r\n[[inputs.snmp]]\r\n   agents = [ \"IP_ADDRESS:161\" ]\r\n   version = 2\r\n\r\n   community = \"COMMUNITY\"\r\n\r\n   [[inputs.snmp.field]]\r\n     name = \"hostname\"\r\n     oid = \"RFC1213-MIB::sysName.0\"\r\n     is_tag = true\r\n```\r\nAnd I run telegraf with this command:\r\n```bash\r\ntelegraf --config ./telegraf.conf --test\r\n```\r\n\r\nI get 0 output from it.\r\n\r\nAn snmpget which does the same does give me output though:\r\n```bash\r\nUSERNAME@HOSTNAME:~$ snmpget -c COMMUNITY -v2c HOSTNAME RFC1213-MIB::sysName.0\r\nSNMPv2-MIB::sysName.0 = STRING: HOSTNAME\r\n```"}}
{"actor":{"display_login":"ybinnenwegin2ip"}}