{"action":"created","issue":{"url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/11","repository_url":"https://api.github.com/repos/rverchere/vmware_exporter","labels_url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/11/comments","events_url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/11/events","html_url":"https://github.com/rverchere/vmware_exporter/issues/11","id":244148910,"number":11,"title":"Send 500 status code when error connecting to host","user":{"login":"wtip","id":3502082,"avatar_url":"https://avatars2.githubusercontent.com/u/3502082?v=4","gravatar_id":"","url":"https://api.github.com/users/wtip","html_url":"https://github.com/wtip","followers_url":"https://api.github.com/users/wtip/followers","following_url":"https://api.github.com/users/wtip/following{/other_user}","gists_url":"https://api.github.com/users/wtip/gists{/gist_id}","starred_url":"https://api.github.com/users/wtip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtip/subscriptions","organizations_url":"https://api.github.com/users/wtip/orgs","repos_url":"https://api.github.com/users/wtip/repos","events_url":"https://api.github.com/users/wtip/events{/privacy}","received_events_url":"https://api.github.com/users/wtip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-19T19:30:23Z","updated_at":"2017-08-17T15:09:26Z","closed_at":"2017-08-17T15:09:26Z","body":"When the exporter is not able to connect to a host it logs a `Error, cannot connect to vmware` message but returns a blank http metrics page. This causes prometheus to think the target is still up.\r\n\r\nIt would be better if the exporter returned a 500 status code.\r\n\r\nHere's an example https://github.com/prometheus/snmp_exporter/blob/30cb5cc264d1a3c2329ed40e740f57f3670fe1ee/snmp_exporter/http.py#L52 "},"comment":{"url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/comments/323101815","html_url":"https://github.com/rverchere/vmware_exporter/issues/11#issuecomment-323101815","issue_url":"https://api.github.com/repos/rverchere/vmware_exporter/issues/11","id":323101815,"user":{"login":"rverchere","id":232433,"avatar_url":"https://avatars3.githubusercontent.com/u/232433?v=4","gravatar_id":"","url":"https://api.github.com/users/rverchere","html_url":"https://github.com/rverchere","followers_url":"https://api.github.com/users/rverchere/followers","following_url":"https://api.github.com/users/rverchere/following{/other_user}","gists_url":"https://api.github.com/users/rverchere/gists{/gist_id}","starred_url":"https://api.github.com/users/rverchere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rverchere/subscriptions","organizations_url":"https://api.github.com/users/rverchere/orgs","repos_url":"https://api.github.com/users/rverchere/repos","events_url":"https://api.github.com/users/rverchere/events{/privacy}","received_events_url":"https://api.github.com/users/rverchere/received_events","type":"User","site_admin":false},"created_at":"2017-08-17T15:09:26Z","updated_at":"2017-08-17T15:09:26Z","body":"Code merged, thanks for your contribution!"}}
{"actor":{"display_login":"rverchere"}}