{% extends "base.html" %} {% block title %}Alert & Monitoring Dashboard{% endblock %} {% block content %}

Alert & Monitoring Dashboard

Application
{% if health_status.app_status %}Healthy{% else %}Unhealthy{% endif %}
Database
{% if health_status.database %}Connected{% else %}Disconnected{% endif %}
Redis
{% if health_status.redis %}Connected{% elif health_status.redis == None %}Not Configured{% else %}Disconnected{% endif %}
Celery
{% if health_status.celery %}Running{% else %}Stopped{% endif %}
CPU Usage
{{ system_metrics.cpu_usage|floatformat:1 }}%
Last updated: {{ last_update }}
Memory Usage
{{ system_metrics.memory_usage|floatformat:1 }}%
Last updated: {{ last_update }}
Disk Usage
{{ system_metrics.disk_usage|floatformat:1 }}%
Last updated: {{ last_update }}
Alert Statistics (Last 24 Hours)
{{ alert_stats.total|default:0 }}
Total Alerts
{{ alert_stats.critical|default:0 }}
Critical
{{ alert_stats.warning|default:0 }}
Warning
{{ alert_stats.info|default:0 }}
Info
Recent Alerts
View All
{% if recent_alerts %}
{% for alert in recent_alerts %} {% endfor %}
Time Alert Severity Status
{{ alert.triggered_at|date:"M d, H:i" }} {{ alert.alert_name }} {{ alert.severity }} {% if alert.resolved_at %} Resolved {% else %} Active {% endif %}
{% else %}

No recent alerts

{% endif %}
Quick Actions
{% endblock %}