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.

93 lines
2.8 KiB

  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. src="{% static 'img/integrations/setup_pd_1.png' %}">
  32. </div>
  33. </div>
  34. <div class="row ai-step">
  35. <div class="col-sm-6">
  36. <span class="step-no">2</span>
  37. After adding the new service, take note of its
  38. <strong>API key</strong>, a long string
  39. of letters and digits.
  40. </div>
  41. <div class="col-sm-6">
  42. <img
  43. class="ai-guide-screenshot"
  44. src="{% static 'img/integrations/setup_pd_2.png' %}">
  45. </div>
  46. </div>
  47. <div class="row ai-step">
  48. <div class="col-sm-6">
  49. <span class="step-no">3</span>
  50. <p>Paste the API key down below. Save the integration, and it's done!</p>
  51. </div>
  52. </div>
  53. <h2>Integration Settings</h2>
  54. <form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}">
  55. {% csrf_token %}
  56. <input type="hidden" name="kind" value="pd" />
  57. <div class="form-group">
  58. <label for="inputEmail3" class="col-sm-2 control-label">API Key</label>
  59. <div class="col-sm-3">
  60. <input type="text" class="form-control" name="value" placeholder="">
  61. </div>
  62. </div>
  63. <div class="form-group">
  64. <div class="col-sm-offset-2 col-sm-10">
  65. <button type="submit" class="btn btn-primary">Save Integration</button>
  66. </div>
  67. </div>
  68. </form>
  69. </div>
  70. </div>
  71. </div>
  72. {% endblock %}
  73. {% block scripts %}
  74. {% compress js %}
  75. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  76. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  77. {% endcompress %}
  78. {% endblock %}