{"action":"closed","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/89","repository_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/89/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/89/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-http/issues/89","id":303312855,"node_id":"MDU6SXNzdWUzMDMzMTI4NTU=","number":89,"title":"Allow override of http status codes.","user":{"login":"aatchison","id":8539707,"node_id":"MDQ6VXNlcjg1Mzk3MDc=","avatar_url":"https://avatars2.githubusercontent.com/u/8539707?v=4","gravatar_id":"","url":"https://api.github.com/users/aatchison","html_url":"https://github.com/aatchison","followers_url":"https://api.github.com/users/aatchison/followers","following_url":"https://api.github.com/users/aatchison/following{/other_user}","gists_url":"https://api.github.com/users/aatchison/gists{/gist_id}","starred_url":"https://api.github.com/users/aatchison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatchison/subscriptions","organizations_url":"https://api.github.com/users/aatchison/orgs","repos_url":"https://api.github.com/users/aatchison/repos","events_url":"https://api.github.com/users/aatchison/events{/privacy}","received_events_url":"https://api.github.com/users/aatchison/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-08T00:36:52Z","updated_at":"2018-06-12T18:19:40Z","closed_at":"2018-06-12T18:19:40Z","author_association":"NONE","body":"Hello,\r\n\r\nI am writing some health checks for Vault, and find this plugin to be very useful. I do however have to need to check json values, even if the http status code returned is not 200. For Vault specifically,  a 429 is perfectly valid and has meaning of it's own.\r\n\r\nI have a solution here, would this be acceptable? It simply gives the option to override failure if the code is not 200. This is a workable solution for me, but I would love your feedback.\r\nhttps://github.com/aatchison/sensu-plugins-http/commit/5e0998ff0e69eeba956440f144012920f5525694#diff-6ba3638df2b4a2aa90beb376dc703d4eR179\r\nhttps://github.com/aatchison/sensu-plugins-http/tree/allow-override-http-status-code\r\n\r\nThanks\r\n\r\nArron"}}
{"actor":{"display_login":"majormoses"}}