{% extends "base.html" %} {% load static %} {% block title %}Alert Rules - Communications{% endblock %} {% block content %}

Alert Rules

Total Rules

{{ total_rules }}

Active Rules

{{ active_rules }}

Triggered Today

{{ triggered_today }}

Critical Alerts

{{ critical_alerts }}

{% for rule in object_list %} {% empty %} {% endfor %}
Rule Name Category Severity Condition Status Last Triggered Actions
{{ rule.rule_name }}
{{ rule.description|truncatechars:60 }}
{{ rule.get_category_display }} {{ rule.get_severity_display }} {{ rule.condition_expression|truncatechars:30 }}
{% if rule.is_active %}Active{% else %}Inactive{% endif %} {% if rule.is_active %}
{% endif %}
{% if rule.last_triggered %} {{ rule.last_triggered|timesince }} ago {% else %} Never {% endif %}
No alert rules found

Create your first alert rule to monitor system events

Create Alert Rule
{% if is_paginated %}
    {% if page_obj.has_previous %}
  • {% endif %} {% for num in page_obj.paginator.page_range %} {% if page_obj.number == num %}
  • {{ num }}
  • {% elif num > page_obj.number|add:'-3' and num < page_obj.number|add:'3' %}
  • {{ num }}
  • {% endif %} {% endfor %} {% if page_obj.has_next %}
  • {% endif %}
{% endif %}
{% endblock %} {% block js %} {% endblock %}