{% extends "base_project.html" %} {% load humanize static hc_extras %} {% block title %}Rocket.Chat Integration for {{ site_name }}{% endblock %} {% block description %} {% endblock %} {% block content %}

Rocket.Chat

{% if request.user.is_authenticated %}

If your team uses Rocket.Chat, you can set up {{ site_name }} to post alerts directly to an appropriate Rocket.Chat channel when a check goes up or down.

{% else %}

{{ site_name }} is a free and open source service for monitoring cron jobs, background processes and scheduled tasks. When {% site_name %} detects a problem, it can notify you by posting to a Rocket.Chat channel. To set up the Rocket.Chat integration, please log into {{ site_name }}:

{% endif %}

Setup Guide

Log into your Rocket.Chat account and navigate to Administration > Workspace > Integrations.
Screenshot

Click "+New" at the top right corner.

Screenshot

Switch to the Incoming tab, and fill in the form:

  • Turn on the Enabled toggle.
  • Name: give the integration a descriptive name.
  • Post to Channel: select the channel or user to receive alerts.
  • Post as: choose the username that this integration posts as. The user must already exist.
Screenshot
{% if project %}

Save the integration, then copy the generated Webhook URL and paste it in the form below.

{% else %}

Save the integration, then copy the generated Webhook URL.

{% endif %}
Screenshot
{% if not project %}

Log into {% site_name %}, then go to the Integrations page and click on Add Integration next to the Rocket.Chat integration.

Screenshot

Paste the copied URL in the form.

Save the integration, and you are all set!

Screenshot
{% endif %} {% if project %}

Integration Settings

{% csrf_token %}
{% if form.value.errors %}
{{ form.value.errors|join:"" }}
{% endif %}
{% endif %}
{% endblock %}