{"action":"opened","issue":{"url":"https://api.github.com/repos/skx/purppura/issues/6","repository_url":"https://api.github.com/repos/skx/purppura","labels_url":"https://api.github.com/repos/skx/purppura/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/skx/purppura/issues/6/comments","events_url":"https://api.github.com/repos/skx/purppura/issues/6/events","html_url":"https://github.com/skx/purppura/issues/6","id":317519529,"number":6,"title":"Issue raise/clear alerts via an MQ queue - rather than exec","user":{"login":"skx","id":735291,"avatar_url":"https://avatars2.githubusercontent.com/u/735291?v=4","gravatar_id":"","url":"https://api.github.com/users/skx","html_url":"https://github.com/skx","followers_url":"https://api.github.com/users/skx/followers","following_url":"https://api.github.com/users/skx/following{/other_user}","gists_url":"https://api.github.com/users/skx/gists{/gist_id}","starred_url":"https://api.github.com/users/skx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skx/subscriptions","organizations_url":"https://api.github.com/users/skx/orgs","repos_url":"https://api.github.com/users/skx/repos","events_url":"https://api.github.com/users/skx/events{/privacy}","received_events_url":"https://api.github.com/users/skx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T08:03:43Z","updated_at":"2018-04-25T08:03:43Z","closed_at":null,"author_association":"OWNER","body":"I still want to receive alerts via MQ, but now I'm using IRC a lot more I want alerts to go to two-places.\r\n\r\nUsing the current exec-process I can do that easily enough, but the process of alerting via IRC will always be:\r\n\r\n* Connect to server\r\n* Join channel\r\n* Post message\r\n* Leave & Disconnect\r\n\r\nIt would be far better if the IRC notifier could be __persistent__, joining the channel then just posting messages on-demand.\r\n\r\nTo do that I'd split the code into two processes\r\n\r\n* Purppura publishes raise/clear events to MQ\r\n* Something else joins IRC, and listens for MQ messages.\r\n  * When raises happen they are posted to chat messages.\r\n  * The posting to pushover can also happen via an MQ watcher.\r\n"}}
{"actor":{"display_login":"skx"}}