{"action":"closed","issue":{"url":"https://api.github.com/repos/ustream/openduty/issues/29","labels_url":"https://api.github.com/repos/ustream/openduty/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/ustream/openduty/issues/29/comments","events_url":"https://api.github.com/repos/ustream/openduty/issues/29/events","html_url":"https://github.com/ustream/openduty/issues/29","id":64533464,"number":29,"title":"consul integration","user":{"login":"pepov","id":682440,"avatar_url":"https://avatars.githubusercontent.com/u/682440?v=3","gravatar_id":"","url":"https://api.github.com/users/pepov","html_url":"https://github.com/pepov","followers_url":"https://api.github.com/users/pepov/followers","following_url":"https://api.github.com/users/pepov/following{/other_user}","gists_url":"https://api.github.com/users/pepov/gists{/gist_id}","starred_url":"https://api.github.com/users/pepov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepov/subscriptions","organizations_url":"https://api.github.com/users/pepov/orgs","repos_url":"https://api.github.com/users/pepov/repos","events_url":"https://api.github.com/users/pepov/events{/privacy}","received_events_url":"https://api.github.com/users/pepov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ustream/openduty/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-26T14:00:50Z","updated_at":"2015-11-10T09:01:31Z","closed_at":"2015-11-10T09:01:31Z","body":"The current integration method is to use the public api to notify openduty from an external source like nagios. I'm thinking about the reverse for an external source like consul. If openduty would have access to a local consul agent, it could register a watch for a consul service. The watch events would then be posted into a consul specific openduty api entry point. It will miss however soft/hard state and flapping detection but even it would be nice without them for a first shot."}}