Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Email integration for creating Incidents #87

Open
gu3sss opened this issue Jun 19, 2017 · 2 comments
Open

Email integration for creating Incidents #87

gu3sss opened this issue Jun 19, 2017 · 2 comments

Comments

@gu3sss
Copy link
Contributor

gu3sss commented Jun 19, 2017

Hello Folks, I understand that we can create new incidents in OpenDuty based on api/create_event calls. I don't see an email integration option like in PagerDuty to create new incidents upon receipt of email to specific email ids. Has anyone managed to integrate this feature in OpenDuty?

@krutaw
Copy link
Contributor

krutaw commented Aug 13, 2017

Funnily enough, I had exactly the same use-case a couple of weeks ago. Until we see this as a feature in the toolset itself, here's how I accomplished it:

  • Create an email account to check for ALL services (single account), I named mine "openduty_pager"
  • Create your API Key for the service you want to page
  • Create a secondary SMTP address for the "openduty_pager" email account set to the API key as the address portion @yourdomain.wherever
  • Create a script to read the mail from the box once a minute (I have a cronjob that kicks it off) that consumes the email body, determines the email address that the email was sent to. Then, the script needs to post to the API for OpenDuty using the API Key that you got from your email.

It's a little hoakey, but it works quite well. :) Hope this helps.

@gu3sss
Copy link
Contributor Author

gu3sss commented Aug 14, 2017

Thanks for the tip! Appreciate that!

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

No branches or pull requests

2 participants