Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statuspage.io integration? #5868

Closed
geekdave opened this issue Jul 19, 2017 · 14 comments
Closed

statuspage.io integration? #5868

geekdave opened this issue Jul 19, 2017 · 14 comments

Comments

@geekdave
Copy link

Is it possible to integrate zulip with statuspage.io, both for

  1. subscribing to receive updates in zulip from a status page
  2. posting an update from zulip to a status page
@timabbott
Copy link
Sponsor Member

Can you explain more what you have in mind for how to integrate Zulip with it?

Should be doable with our incoming and outgoing webhooks, how much work it is depends mostly on their API.

@zulipbot
Copy link
Member

Hello @zulip/server-bots, @zulip/server-integrations members, this issue was labeled with the area: bots, area: integrations labels, so you may want to check it out!

@geekdave
Copy link
Author

@timabbott Sure! I guess it would be pretty similar to PagerDuty, where you would receive a Zulip message when an incident is created. And you could use a Zulip command to trigger an incident to get created yourself. Except whereas Pagerduty is only an internal tool, statuspage.io is intended to be subscribed to by your customers. So you could subscribe to get updates from someone's status page, like you could subscribe to get zulip updates from a twitter feed. Hope that makes sense!

@timabbott
Copy link
Sponsor Member

Cool. @geekdave is this something you're interested in working on? zulip.readthedocs.io/en/latest/integration-guide.html covers in the incoming-to-Zulip webhook side, which should be quite easy with their API. The second half should use our brand new outgoing webhooks; I'd recommend doing that after the incoming part is all done though :)

@Rishabh570
Copy link
Collaborator

@zulipbot claim

@Rishabh570
Copy link
Collaborator

Rishabh570 commented Dec 26, 2017

@geekdave @timabbott As for implementing 1st part, i guess the fixtures we need for incoming webhook should be extracted from this page : https://doers.statuspage.io/ as they have api endpoints for incidents, subscribers, metrics, users etc.. am i thinking it right..???

@Rishabh570
Copy link
Collaborator

Okay as i took a deep look inside statuspage i came to know that statuspage sends notifications to its subscribers via webhook only in two scenarios :

  1. Incident creation & updation and
  2. Component's status update .
    So basically we need to handle these two cases only...

@Rishabh570
Copy link
Collaborator

@timabbott @geekdave here is the test output
2017-12-26

Uppermost output is when an incident is created, middle one when that incident is updated and bottom most output when a component's state gets changed...

Is it okay ...am i missing something.

@geekdave
Copy link
Author

I'm no longer actively using Zulip, so I won't be in a position to test this feature. But the above output looks like exactly what I had in mind earlier this year! Thanks!

@zulipbot
Copy link
Member

zulipbot commented Jan 6, 2018

Hello @Rishabh570, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue?

If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 4 days.

If you've decided to work on something else, simply comment @zulipbot abandon so that someone else can claim it and continue from where you left off.

Thank you for your valuable contributions to Zulip!

@Rishabh570
Copy link
Collaborator

Rishabh570 commented Jan 6, 2018

I already opened up a PR.

@zulipbot
Copy link
Member

zulipbot commented Jan 16, 2018

Hello @Rishabh570, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

@Rishabh570
Copy link
Collaborator

Incoming webhook part of statuspage.io is done...

@timabbott
Copy link
Sponsor Member

Yeah, I'm going to close this as complete; the incoming webhook is much of the value here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants