{"action":"closed","issue":{"url":"https://api.github.com/repos/bosun-monitor/bosun/issues/746","labels_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/746/comments","events_url":"https://api.github.com/repos/bosun-monitor/bosun/issues/746/events","html_url":"https://github.com/bosun-monitor/bosun/issues/746","id":58987058,"number":746,"title":"scollector with invalid -f flag throws exceptions on Windows","user":{"login":"gbrayut","id":304401,"avatar_url":"https://avatars.githubusercontent.com/u/304401?v=3","gravatar_id":"","url":"https://api.github.com/users/gbrayut","html_url":"https://github.com/gbrayut","followers_url":"https://api.github.com/users/gbrayut/followers","following_url":"https://api.github.com/users/gbrayut/following{/other_user}","gists_url":"https://api.github.com/users/gbrayut/gists{/gist_id}","starred_url":"https://api.github.com/users/gbrayut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbrayut/subscriptions","organizations_url":"https://api.github.com/users/gbrayut/orgs","repos_url":"https://api.github.com/users/gbrayut/repos","events_url":"https://api.github.com/users/gbrayut/events{/privacy}","received_events_url":"https://api.github.com/users/gbrayut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-25T23:22:09Z","updated_at":"2015-02-26T17:19:00Z","closed_at":"2015-02-26T17:19:00Z","body":"If you use -f to filter collectors but use a name that does not exist there are execptions thrown on windows\r\n\r\n> ./scollector.exe -h 'http://ny-gbraylx01.ds.stackexchange.com:8070' -f asfd\r\n> 2015/02/25 16:16:00 info: main.go:230: OpenTSDB host: http://ny-gbraylx01.ds.stackexchange.com:8070\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_iis_webservice: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_iis_apppool: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_network_team_windows: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_mssql: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_mssql_replica_resources: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_mssql_replica_db: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_mssql_replica_server: Exception occurred.\r\n> 2015/02/25 16:16:14 error: interval.go:53: bosun.org/cmd/scollector/collectors.c_mssql_replica_votes: Exception occurred.\r\n\r\n"}}