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.

87 lines
2.8 KiB

  1. {% extends "base.html" %}
  2. {% load humanize static hc_extras %}
  3. {% block title %}Splunk On-Call Integration for {{ site_name }}{% endblock %}
  4. {% block content %}
  5. <div class="row">
  6. <div class="col-sm-12">
  7. <h1>Splunk On-Call (VictorOps)</h1>
  8. <p>
  9. <a href="https://www.splunk.com/en_us/software/splunk-on-call.html">Splunk On-Call</a>
  10. is a collaboration and incident management platform for on-call DevOps teams.
  11. You can integrate it with your {{ site_name }} account in a few
  12. 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"></span>
  17. <p>
  18. Log into your Splunk On-Call account,
  19. go to <strong>Integrations</strong>,
  20. and look up the REST integration.
  21. </p>
  22. </div>
  23. <div class="col-sm-6">
  24. <img
  25. class="ai-guide-screenshot"
  26. alt="Screenshot"
  27. src="{% static 'img/integrations/setup_victorops_1.png' %}">
  28. </div>
  29. </div>
  30. <div class="row ai-step">
  31. <div class="col-sm-6">
  32. <span class="step-no"></span>
  33. <p>
  34. Enable the integration, and copy
  35. the displayed <strong>Service API Endpoint</strong>.
  36. Paste it in the form below. Be sure to replace
  37. the <strong>$routing_key</strong> section with the
  38. actual routing key you intend to use.
  39. </p>
  40. <p>
  41. Save the integration, and it's done!
  42. </p>
  43. </div>
  44. <div class="col-sm-6">
  45. <img
  46. class="ai-guide-screenshot"
  47. alt="Screenshot"
  48. src="{% static 'img/integrations/setup_victorops_2.png' %}">
  49. </div>
  50. </div>
  51. <h2>Integration Settings</h2>
  52. <form method="post" class="form-horizontal">
  53. {% csrf_token %}
  54. <div class="form-group {{ form.value.css_classes }}">
  55. <label for="post-url" class="col-sm-2 control-label">Service API Endpoint</label>
  56. <div class="col-sm-10">
  57. <input
  58. id="post-url"
  59. type="text"
  60. class="form-control"
  61. name="value"
  62. placeholder="https://"
  63. value="{{ form.value.value|default:"" }}">
  64. {% if form.value.errors %}
  65. <div class="help-block">
  66. {{ form.value.errors|join:"" }}
  67. </div>
  68. {% endif %}
  69. </div>
  70. </div>
  71. <div class="form-group">
  72. <div class="col-sm-offset-2 col-sm-10">
  73. <button type="submit" class="btn btn-primary">Save Integration</button>
  74. </div>
  75. </div>
  76. </form>
  77. </div>
  78. </div>
  79. {% endblock %}