{"action":"created","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/94","repository_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/94/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/94/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/94","id":257405928,"number":94,"title":"Yellow only status check","user":{"login":"barrebre","id":3485324,"avatar_url":"https://avatars2.githubusercontent.com/u/3485324?v=4","gravatar_id":"","url":"https://api.github.com/users/barrebre","html_url":"https://github.com/barrebre","followers_url":"https://api.github.com/users/barrebre/followers","following_url":"https://api.github.com/users/barrebre/following{/other_user}","gists_url":"https://api.github.com/users/barrebre/gists{/gist_id}","starred_url":"https://api.github.com/users/barrebre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barrebre/subscriptions","organizations_url":"https://api.github.com/users/barrebre/orgs","repos_url":"https://api.github.com/users/barrebre/repos","events_url":"https://api.github.com/users/barrebre/events{/privacy}","received_events_url":"https://api.github.com/users/barrebre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"majormoses","id":3145127,"avatar_url":"https://avatars3.githubusercontent.com/u/3145127?v=4","gravatar_id":"","url":"https://api.github.com/users/majormoses","html_url":"https://github.com/majormoses","followers_url":"https://api.github.com/users/majormoses/followers","following_url":"https://api.github.com/users/majormoses/following{/other_user}","gists_url":"https://api.github.com/users/majormoses/gists{/gist_id}","starred_url":"https://api.github.com/users/majormoses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majormoses/subscriptions","organizations_url":"https://api.github.com/users/majormoses/orgs","repos_url":"https://api.github.com/users/majormoses/repos","events_url":"https://api.github.com/users/majormoses/events{/privacy}","received_events_url":"https://api.github.com/users/majormoses/received_events","type":"User","site_admin":false},"assignees":[{"login":"majormoses","id":3145127,"avatar_url":"https://avatars3.githubusercontent.com/u/3145127?v=4","gravatar_id":"","url":"https://api.github.com/users/majormoses","html_url":"https://github.com/majormoses","followers_url":"https://api.github.com/users/majormoses/followers","following_url":"https://api.github.com/users/majormoses/following{/other_user}","gists_url":"https://api.github.com/users/majormoses/gists{/gist_id}","starred_url":"https://api.github.com/users/majormoses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majormoses/subscriptions","organizations_url":"https://api.github.com/users/majormoses/orgs","repos_url":"https://api.github.com/users/majormoses/repos","events_url":"https://api.github.com/users/majormoses/events{/privacy}","received_events_url":"https://api.github.com/users/majormoses/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-09-13T14:39:26Z","updated_at":"2017-09-16T17:07:56Z","closed_at":"2017-09-16T16:44:29Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/pulls/94","html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/94","diff_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/94.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/94.patch"},"body":"## Pull Request Checklist\r\n\r\n**Is this in reference to an existing issue?**\r\nNo. I would've raised an issue, but instead raised a PR. The scenario for this PR is what if I want the cluster alerting Yellow to only report to a chat tool while alerting Red I want it to report to my pager solution. Currently, there's no way to split out the return result for different handlers. This will allow me to create two separate checks (unfortunate double-api hit) and route their results in different ways.\r\n\r\nPlease be kind if I missed anything.\r\nI attempted `bundle exec rubocop` with no tests found (I didn't see any in test/ anyway, unlike the sensu pagerduty plugin)\r\nAlso, binstubs are never mentioned in the Contributions doc\r\n\r\nLet me know if there are other steps I should take.\r\n\r\n#### General\r\n\r\n- [x] Update Changelog following the conventions laid out on [Keep A Changelog](http://keepachangelog.com/)\r\n\r\n- [ ] Update README with any necessary configuration snippets\r\n\r\n- [ ] Binstubs are created if needed\r\n\r\n- [x] RuboCop passes\r\n\r\n- [ ] Existing tests pass\r\n\r\n#### New Plugins\r\n\r\n- [ ] Tests\r\n\r\n- [ ] Add the plugin to the README\r\n\r\n- [ ] Does it have a complete header as outlined [here](http://sensu-plugins.io/docs/developer_guidelines.html#coding-style)\r\n\r\n#### Purpose\r\n\r\n#### Known Compatibility Issues\r\n"},"comment":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/comments/329981557","html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/pull/94#issuecomment-329981557","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/94","id":329981557,"user":{"login":"majormoses","id":3145127,"avatar_url":"https://avatars3.githubusercontent.com/u/3145127?v=4","gravatar_id":"","url":"https://api.github.com/users/majormoses","html_url":"https://github.com/majormoses","followers_url":"https://api.github.com/users/majormoses/followers","following_url":"https://api.github.com/users/majormoses/following{/other_user}","gists_url":"https://api.github.com/users/majormoses/gists{/gist_id}","starred_url":"https://api.github.com/users/majormoses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majormoses/subscriptions","organizations_url":"https://api.github.com/users/majormoses/orgs","repos_url":"https://api.github.com/users/majormoses/repos","events_url":"https://api.github.com/users/majormoses/events{/privacy}","received_events_url":"https://api.github.com/users/majormoses/received_events","type":"User","site_admin":false},"created_at":"2017-09-16T17:07:56Z","updated_at":"2017-09-16T17:07:56Z","author_association":"OWNER","body":"released: https://rubygems.org/gems/sensu-plugins-elasticsearch/versions/1.7.0"}}
{"actor":{"display_login":"majormoses"}}