{"action":"created","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/53","repository_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/53/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/53/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/issues/53","id":227284989,"number":53,"title":"receiving the alerts before the refresh interval","user":{"login":"balajik1992","id":26165982,"avatar_url":"https://avatars1.githubusercontent.com/u/26165982?v=3","gravatar_id":"","url":"https://api.github.com/users/balajik1992","html_url":"https://github.com/balajik1992","followers_url":"https://api.github.com/users/balajik1992/followers","following_url":"https://api.github.com/users/balajik1992/following{/other_user}","gists_url":"https://api.github.com/users/balajik1992/gists{/gist_id}","starred_url":"https://api.github.com/users/balajik1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balajik1992/subscriptions","organizations_url":"https://api.github.com/users/balajik1992/orgs","repos_url":"https://api.github.com/users/balajik1992/repos","events_url":"https://api.github.com/users/balajik1992/events{/privacy}","received_events_url":"https://api.github.com/users/balajik1992/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-09T08:15:57Z","updated_at":"2017-06-10T19:31:01Z","closed_at":null,"body":"Hi I am using sensu-plugins-mailer for the mail notification. I have set below configuration for my check\r\n \"interval\": 60,\r\n            \"refresh\": 43200,\r\n            \"timeout\": 30,\r\n            \"handlers\": [\"ose-email\"],\r\nmy handler configuration is like below\r\n \"handlers\": {\r\n        \"ose-email\": {\r\n            \"type\": \"pipe\",\r\n            \"filters\": [\"state_change_only\"],\r\nfilter configurations is like below\r\n\"filters\": {\r\n        \"state_change_only\": {\r\n            \"negate\": false,\r\n            \"attributes\": {\r\n                \"occurrences\": \"eval: value == 1 || ':::action:::' == 'resolve'\"\r\n            }\r\n        }\r\n    }\r\n\r\nI am receiving alert as [\"warning: event filtering in sensu-plugin is deprecated, see http://bit.ly/sensu-plugin\\nwarning: occurrence filtering in sensu-plugin is deprecated, see http://bit.ly/sensu-plugin\\nmail -- sent alert for $hostname/$check-name to $mail-id\r\n\r\nI have set half day refresh time (12 hours) but I am receiving the alert before that time\r\nwhat to do for this?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/comments/307585578","html_url":"https://github.com/sensu-plugins/sensu-plugins-mailer/issues/53#issuecomment-307585578","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-mailer/issues/53","id":307585578,"user":{"login":"majormoses","id":3145127,"avatar_url":"https://avatars0.githubusercontent.com/u/3145127?v=3","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-06-10T19:31:00Z","updated_at":"2017-06-10T19:31:00Z","body":"I think the website doc needs to be updated as it still talks about the deprecated filters, @cwjohnston whos the best person to update those?"}}
{"actor":{"display_login":"majormoses"}}