You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
3.0 KiB

9 years ago
  1. {% extends "base.html" %}
  2. {% load compress humanize staticfiles hc_extras %}
  3. {% block title %}Add PagerDuty - healthchecks.io{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>PagerDuty</h1>
  8. <p><a href="https://www.pagerduty.com/">PagerDuty</a> is
  9. a well-known incident management system. It provides
  10. alerting, on-call scheduling, escalation policies and incident tracking.
  11. If you use or plan on using PagerDuty, you can can integrate it
  12. with your healthchecks.io account in few simple steps.</p>
  13. <h2>Setup Guide</h2>
  14. <div class="row ai-step">
  15. <div class="col-sm-6">
  16. <span class="step-no">1</span>
  17. <p>
  18. Log into your PagerDuty account,
  19. go to <strong>Configuration > Services</strong>,
  20. and click on <strong>Add New Service</strong>.
  21. </p>
  22. <p>
  23. Give it a descriptive name, and
  24. for Integration Type select
  25. <strong>Use our API directly</strong>.
  26. </p>
  27. </div>
  28. <div class="col-sm-6">
  29. <img
  30. class="ai-guide-screenshot"
  31. alt="Screenshot"
  32. src="{% static 'img/integrations/setup_pd_1.png' %}">
  33. </div>
  34. </div>
  35. <div class="row ai-step">
  36. <div class="col-sm-6">
  37. <span class="step-no">2</span>
  38. After adding the new service, take note of its
  39. <strong>API key</strong>, a long string
  40. of letters and digits.
  41. </div>
  42. <div class="col-sm-6">
  43. <img
  44. class="ai-guide-screenshot"
  45. alt="Screenshot"
  46. src="{% static 'img/integrations/setup_pd_2.png' %}">
  47. </div>
  48. </div>
  49. <div class="row ai-step">
  50. <div class="col-sm-6">
  51. <span class="step-no">3</span>
  52. <p>Paste the API key down below. Save the integration, and it's done!</p>
  53. </div>
  54. </div>
  55. <h2>Integration Settings</h2>
  56. <form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}">
  57. {% csrf_token %}
  58. <input type="hidden" name="kind" value="pd" />
  59. <div class="form-group">
  60. <label for="api-key" class="col-sm-2 control-label">API Key</label>
  61. <div class="col-sm-3">
  62. <input
  63. id="api-key"
  64. type="text"
  65. class="form-control"
  66. name="value"
  67. placeholder="">
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <div class="col-sm-offset-2 col-sm-10">
  72. <button type="submit" class="btn btn-primary">Save Integration</button>
  73. </div>
  74. </div>
  75. </form>
  76. </div>
  77. </div>
  78. {% endblock %}
  79. {% block scripts %}
  80. {% compress js %}
  81. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  82. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  83. {% endcompress %}
  84. {% endblock %}