{% extends "base.html" %} {% block title %}Suppressions – GANDALF{% endblock %} {% block content %}

Alert Suppressions

Manage maintenance windows and per-target alert suppression rules.

Create Suppression

{% for name in snapshot.hosts.keys() | sort %}
Persists until manually removed.

Active Suppressions

{{ active | length }}
{% if active %}
Active Rules
{% for s in active %} {%- set _sup_badge = {'host':'badge-warning','interface':'badge-info','unifi_device':'badge-purple','all':'badge-critical'} -%} {% endfor %}
Active suppression rules
TypeTargetDetailReason ByCreatedExpiresActions
{{ s.target_type }} {{ s.target_name or 'all' }} {{ s.target_detail or '–' }} {{ s.reason }} {{ s.suppressed_by }} {{ s.created_at }} {% if s.expires_at %}{{ s.expires_at }}{% else %}manual{% endif %}
{% else %}
🔕
No active suppressions
All alerts are active. Use the form above to silence a host or interface.
{% endif %}

History

{{ history | length }}
{% if history %}
Suppression Log
{% for s in history %} {% endfor %}
Suppression history
TypeTargetDetailReason ByCreatedExpiresActive
{{ s.target_type }} {{ s.target_name or 'all' }} {{ s.target_detail or '–' }} {{ s.reason }} {{ s.suppressed_by }} {{ s.created_at }} {% if s.expires_at %}{{ s.expires_at }}{% else %}manual{% endif %} {% if s.active %} Yes {% else %} No {% endif %}
{% else %}
📋
No suppression history yet
{% endif %}

Available Targets

{% for name, host in snapshot.hosts.items() %}
{{ name }}
{{ 'Proxmox Host (prometheus)' if host.source == 'prometheus' else 'Ping-only host' }}
{% if host.interfaces %}
{% for iface in host.interfaces.keys() | sort %} {{ iface }} {% endfor %}
{% endif %}
{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}