{% extends 'layouts/base.html' %} {% load static %} {% block title %}Notification Rules - Stream Processor{% endblock %} {% block page_title %}Notification Rules{% endblock %} {% block content %}

Notification Rules

Manage automatic notification rules for system events

{% if rules %}

Notification Rules

{{ rules.count }} rule{{ rules.count|pluralize }}
{% for rule in rules %}

{{ rule.name }}

{% if rule.is_active %} Active {% else %} Inactive {% endif %} {% if rule.priority > 0 %} Priority {{ rule.priority }} {% endif %}
Event Type:
{{ rule.get_event_type_display }}
Channel:
{{ rule.channel.name }}
Template:
{{ rule.template.name }}
Throttle:
{% if rule.throttle_minutes > 0 %} {{ rule.throttle_minutes }} minute{{ rule.throttle_minutes|pluralize }} {% else %} No throttling {% endif %}
{% if rule.last_triggered %}
Last triggered: {{ rule.last_triggered|timesince }} ago
{% else %}
Never triggered
{% endif %} {% if rule.conditions %}
Conditions:
{{ rule.conditions|truncatechars:100 }}
{% endif %}
{% if rule.is_active %} {% else %} {% endif %}
{% endfor %}
{% if is_paginated %} {% endif %} {% else %}

No notification rules

Create your first notification rule to get started with automated alerts

Create Notification Rule
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}