{"action":"created","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/1","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/1/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/1/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/pull/1","id":91352792,"number":1,"title":"fix function build_mail_to_list in mailer handler","user":{"login":"kam1kaze","id":2952868,"avatar_url":"https://avatars.githubusercontent.com/u/2952868?v=3","gravatar_id":"","url":"https://api.github.com/users/kam1kaze","html_url":"https://github.com/kam1kaze","followers_url":"https://api.github.com/users/kam1kaze/followers","following_url":"https://api.github.com/users/kam1kaze/following{/other_user}","gists_url":"https://api.github.com/users/kam1kaze/gists{/gist_id}","starred_url":"https://api.github.com/users/kam1kaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kam1kaze/subscriptions","organizations_url":"https://api.github.com/users/kam1kaze/orgs","repos_url":"https://api.github.com/users/kam1kaze/repos","events_url":"https://api.github.com/users/kam1kaze/events{/privacy}","received_events_url":"https://api.github.com/users/kam1kaze/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T20:22:56Z","updated_at":"2015-07-02T17:21:16Z","closed_at":"2015-06-27T13:22:30Z","pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/pulls/1","html_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/pull/1","diff_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/pull/1.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/pull/1.patch"},"body":"Issue:\r\n```\r\n{\"timestamp\":\"2015-06-24T21:32:47.919172+0000\",\"level\":\"info\",\"message\":\"handler output\",\"handler\":{\"command\":\"/opt/sensu/embedded/bin/ruby /etc/sensu/handlers/mailer.rb\",\"type\":\"pipe\",\"severities\":[\"ok\",\"warning\",\"critical\",\"unknown\"],\"name\":\"mailer\"},\"output\":[\"/etc/sensu/handlers/mailer.rb:66:in `build_mail_to_list': undefined method `each' for nil:NilClass (NoMethodError)\\n\",\"\\tfrom /etc/sensu/handlers/mailer.rb:78:in `handle'\\n\",\"\\tfrom /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-plugin-1.1.0/lib/sensu-handler.rb:55:in `block in <class:Handler>'\\n\"]}\r\n```\r\n\r\nsubscribers param is not required in standalone mode:\r\n> https://sensuapp.org/docs/latest/checks#definition-attributes"},"comment":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/comments/118098252","html_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/pull/1#issuecomment-118098252","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/1","id":118098252,"user":{"login":"kam1kaze","id":2952868,"avatar_url":"https://avatars.githubusercontent.com/u/2952868?v=3","gravatar_id":"","url":"https://api.github.com/users/kam1kaze","html_url":"https://github.com/kam1kaze","followers_url":"https://api.github.com/users/kam1kaze/followers","following_url":"https://api.github.com/users/kam1kaze/following{/other_user}","gists_url":"https://api.github.com/users/kam1kaze/gists{/gist_id}","starred_url":"https://api.github.com/users/kam1kaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kam1kaze/subscriptions","organizations_url":"https://api.github.com/users/kam1kaze/orgs","repos_url":"https://api.github.com/users/kam1kaze/repos","events_url":"https://api.github.com/users/kam1kaze/events{/privacy}","received_events_url":"https://api.github.com/users/kam1kaze/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:21:16Z","updated_at":"2015-07-02T17:21:16Z","body":"Alex,\r\n\r\nCannot say anything. Currently we use only JIT clients with one sensu-client and do not use \"subscribers\" param in checks.\r\n\r\nThanks,\r\n--\r\nOleksii Kravchenko"}}