{% extends "base.html" %} {% load static %} {% block title %} {% if form.instance.pk %}Edit Notification Channel{% else %}Create Notification Channel{% endif %} - Stream Processor {% endblock %} {% block page_title %} {% if form.instance.pk %}Edit Channel{% else %}Create Channel{% endif %} {% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% if form.instance.pk %} Update the configuration for your notification channel to ensure optimal delivery performance {% else %} Set up a new channel to receive real-time notifications, alerts, and system updates {% endif %}
Configure the basic settings and delivery parameters for your notification channel
{
"bot_token": "123456789:ABCdefGHIjklMNOpqrsTUVwxyz",
"chat_id": "-1001234567890"
}
{
"recipients": ["admin@example.com", "ops@example.com"],
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"username": "notifications@example.com",
"password": "app_password",
"use_tls": true
}
{
"url": "https://api.example.com/webhook",
"method": "POST",
"headers": {
"Authorization": "Bearer your-token",
"Content-Type": "application/json"
}
}
{
"webhook_url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
"channel": "#alerts",
"username": "StreamProcessor"
}