{"action":"created","issue":{"url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1510","labels_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1510/comments","events_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1510/events","html_url":"https://github.com/bosun-monitor/bosun/issues/1510","id":121776600,"number":1510,"title":"Elasticsearch collector crashing scollector","user":{"login":"floyd-may","id":1608756,"avatar_url":"https://avatars.githubusercontent.com/u/1608756?v=3","gravatar_id":"","url":"https://api.github.com/users/floyd-may","html_url":"https://github.com/floyd-may","followers_url":"https://api.github.com/users/floyd-may/followers","following_url":"https://api.github.com/users/floyd-may/following{/other_user}","gists_url":"https://api.github.com/users/floyd-may/gists{/gist_id}","starred_url":"https://api.github.com/users/floyd-may/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floyd-may/subscriptions","organizations_url":"https://api.github.com/users/floyd-may/orgs","repos_url":"https://api.github.com/users/floyd-may/repos","events_url":"https://api.github.com/users/floyd-may/events{/privacy}","received_events_url":"https://api.github.com/users/floyd-may/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-11T19:32:33Z","updated_at":"2015-12-11T19:42:22Z","closed_at":null,"body":"(Using 0.4.0 release)\r\n\r\nI added elasticsearch to my Ubuntu 14 machine and discovered that scollector started crashing pretty frequently (every minute or so). Contents of stderr:\r\n\r\n```\r\npanic: interface conversion: interface is nil, not float64\r\n\r\ngoroutine 34 [running]:\r\nbosun.org/cmd/scollector/collectors.c_elasticsearch(0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /go/src/bosun.org/cmd/scollector/collectors/elasticsearch.go:162 +0x2b56\r\nbosun.org/cmd/scollector/collectors.(*IntervalCollector).Run(0xc820013440, 0xc820019140)\r\n        /go/src/bosun.org/cmd/scollector/collectors/interval.go:58 +0x11c\r\ncreated by bosun.org/cmd/scollector/collectors.Run\r\n        /go/src/bosun.org/cmd/scollector/collectors/collectors.go:145 +0x105\r\n\r\ngoroutine 1 [select (no cases)]:\r\nmain.main()\r\n        /go/src/bosun.org/cmd/scollector/main.go:221 +0x226f\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n        /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1\r\n```\r\n\r\nIs there a way to disable this collector temporarily until the problem is sorted out?"},"comment":{"url":"https://api.github.com/repos/bosun-monitor/bosun/issues/comments/164031091","html_url":"https://github.com/bosun-monitor/bosun/issues/1510#issuecomment-164031091","issue_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/1510","id":164031091,"user":{"login":"floyd-may","id":1608756,"avatar_url":"https://avatars.githubusercontent.com/u/1608756?v=3","gravatar_id":"","url":"https://api.github.com/users/floyd-may","html_url":"https://github.com/floyd-may","followers_url":"https://api.github.com/users/floyd-may/followers","following_url":"https://api.github.com/users/floyd-may/following{/other_user}","gists_url":"https://api.github.com/users/floyd-may/gists{/gist_id}","starred_url":"https://api.github.com/users/floyd-may/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floyd-may/subscriptions","organizations_url":"https://api.github.com/users/floyd-may/orgs","repos_url":"https://api.github.com/users/floyd-may/repos","events_url":"https://api.github.com/users/floyd-may/events{/privacy}","received_events_url":"https://api.github.com/users/floyd-may/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T19:42:22Z","updated_at":"2015-12-11T19:42:22Z","body":"Somewhat-related question: reason I noticed is because I stopped getting hbase garbage collection stats. With this collector bringing down the entire process, it puts collection of other stats in jeopardy. Is there a fix for that in the works as well, i.e. trap errors per-collector so they don't bring down stat collection for other collectors?"}}