{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/346","repository_url":"https://api.github.com/repos/prometheus/snmp_exporter","labels_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/346/comments","events_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/346/events","html_url":"https://github.com/prometheus/snmp_exporter/issues/346","id":373485490,"node_id":"MDU6SXNzdWUzNzM0ODU0OTA=","number":346,"title":"Error: invalid memory address or nil pointer dereference ","user":{"login":"tricycleHack","id":44437469,"node_id":"MDQ6VXNlcjQ0NDM3NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/44437469?v=4","gravatar_id":"","url":"https://api.github.com/users/tricycleHack","html_url":"https://github.com/tricycleHack","followers_url":"https://api.github.com/users/tricycleHack/followers","following_url":"https://api.github.com/users/tricycleHack/following{/other_user}","gists_url":"https://api.github.com/users/tricycleHack/gists{/gist_id}","starred_url":"https://api.github.com/users/tricycleHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricycleHack/subscriptions","organizations_url":"https://api.github.com/users/tricycleHack/orgs","repos_url":"https://api.github.com/users/tricycleHack/repos","events_url":"https://api.github.com/users/tricycleHack/events{/privacy}","received_events_url":"https://api.github.com/users/tricycleHack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-24T13:33:24Z","updated_at":"2018-10-25T11:13:28Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nthe problem from #169 seems to be back:\r\n\r\nUsing version 0.12.0 with docker image.\r\nSNMPv3 with authPriv mode\r\n\r\n```\r\nConfigured everything in configs accordingly:\r\nversion: 3\r\nmax_repetitions: 25\r\nretries: 3\r\ntimeout: 20s\r\nauth: \r\nsecurity_level: authPriv\r\nusername: user\r\npassword: safePassword\r\nauth_protocol: SHA\r\npriv_protocol: AES\r\npriv_password: privatePassword\r\n```\r\n\r\nsnmpwalk is working with the device, so the problem is not on the side of the device for sure. From log.level=debug returns:\r\n\r\n```\r\nsnmp-exporter_1         | time=\"2018-10-24T13:30:17Z\" level=debug msg=\"Scraping target '192.168.1.1:161' with module 'if_mib'\" source=\"main.go:86\"\r\nsnmp-exporter_1         | time=\"2018-10-24T13:30:17Z\" level=debug msg=\"Walking target \\\"192.168.1.1:161\\\" subtree \\\"1.3.6.1.2.1.1.3\\\"\" source=\"collector.go:125\"\r\nsnmp-exporter_1         | time=\"2018-10-24T13:30:17Z\" level=info msg=\"Error scraping target 192.168.1.1:161: Error walking target 192.168.1.1:161: recover: runtime error: invalid memory address or nil pointer dereference\" source=\"collector.go:180\"\r\nsnmp-exporter_1         | time=\"2018-10-24T13:30:17Z\" level=debug msg=\"Scrape of target '192.168.1.1:161' with module 'if_mib' took 60.002449 seconds\" source=\"main.go:97\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/comments/433010833","html_url":"https://github.com/prometheus/snmp_exporter/issues/346#issuecomment-433010833","issue_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/346","id":433010833,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzAxMDgzMw==","user":{"login":"brian-brazil","id":7115638,"node_id":"MDQ6VXNlcjcxMTU2Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7115638?v=4","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T11:13:28Z","updated_at":"2018-10-25T11:13:28Z","author_association":"MEMBER","body":"Can you build a version without the `recover` in vendor/github.com/soniah/gosnmp/v3.go?"}}
{"actor":{"display_login":"brian-brazil"}}