Browse Source

PagerDuty setup instructions

pull/7/head
Pēteris Caune 9 years ago
parent
commit
3461817066
5 changed files with 53 additions and 5 deletions
  1. BIN
      static/img/integrations/setup_pd_1.png
  2. BIN
      static/img/integrations/setup_pd_2.png
  3. +1
    -1
      templates/front/channels.html
  4. +51
    -3
      templates/integrations/add_pd.html
  5. +1
    -1
      templates/integrations/add_slack.html

BIN
static/img/integrations/setup_pd_1.png View File

Before After
Width: 577  |  Height: 445  |  Size: 47 KiB

BIN
static/img/integrations/setup_pd_2.png View File

Before After
Width: 585  |  Height: 313  |  Size: 36 KiB

+ 1
- 1
templates/front/channels.html View File

@ -27,7 +27,7 @@
<td>
<span class="preposition">
{% if ch.kind == "email" %} to {% endif %}
{% if ch.kind == "pd" %} service key {% endif %}
{% if ch.kind == "pd" %} API key {% endif %}
</span>
{{ ch.value }}


+ 51
- 3
templates/integrations/add_pd.html View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
{% block title %}Notification Channels - healthchecks.io{% endblock %}
{% block title %}Add PagerDuty - healthchecks.io{% endblock %}
{% block content %}
@ -9,7 +9,55 @@
<div class="col-sm-12">
<h1>PagerDuty</h1>
<p>On-call scheduling, alerting, and incident tracking.</p>
<p><a href="https://www.pagerduty.com/">PagerDuty</a> is
a well-known incident management system. It provides
alerting, on-call scheduling, escalation policies and incident tracking.
If you use or plan on using PagerDuty, you can can integrate it
with your healthchecks.io account in few simple steps.</p>
<h2>Setup Guide</h2>
<div class="row ai-step">
<div class="col-sm-6">
<span class="step-no">1</span>
<p>
Log into your PagerDuty account,
go to <strong>Configuration > Services</strong>,
and click on <strong>Add New Service</strong>.
</p>
<p>
Give it a descriptive name, and
for Integration Type select
<strong>Use our API directly</strong>.
</p>
</div>
<div class="col-sm-6">
<img
class="ai-guide-screenshot"
src="{% static 'img/integrations/setup_pd_1.png' %}">
</div>
</div>
<div class="row ai-step">
<div class="col-sm-6">
<span class="step-no">2</span>
After adding the new service, take note of its
<strong>API key</strong>, a long string
of letters and digits.
</div>
<div class="col-sm-6">
<img
class="ai-guide-screenshot"
src="{% static 'img/integrations/setup_pd_2.png' %}">
</div>
</div>
<div class="row ai-step">
<div class="col-sm-6">
<span class="step-no">3</span>
<p>Paste the API key down below. Save the integration, and it's done!</p>
</div>
</div>
<h2>Integration Settings</h2>
@ -17,7 +65,7 @@
{% csrf_token %}
<input type="hidden" name="kind" value="pd" />
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">Service Key</label>
<label for="inputEmail3" class="col-sm-2 control-label">API Key</label>
<div class="col-sm-3">
<input type="text" class="form-control" name="value" placeholder="">
</div>


+ 1
- 1
templates/integrations/add_slack.html View File

@ -40,7 +40,7 @@
<div class="col-sm-6">
<span class="step-no">3</span>
<p>Copy the displayed <strong>WebHook URL</strong> and paste it down below.</p>
<p>Save integration, and it's done!</p>
<p>Save the integration, and it's done!</p>
</div>
<div class="col-sm-6">
<img


Loading…
Cancel
Save