Heartbeat und Überwachung eingeführt

This commit is contained in:
2025-12-19 15:53:46 +00:00
parent df7e6cf1d1
commit 9d46ba9f46
5 changed files with 205 additions and 2 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
# E-Mail Empfang (IMAP) - für Videos von der Kamera
IMAP_SERVER=secureimap.t-online.de
IMAP_PORT=993
EMAIL_USER=deine-email@t-online.de
EMAIL_PASS=dein-passwort
# Speicherort für Videos
SAVE_DIR=/app/videospeicher
# E-Mail Versand (SMTP) - für Monitoring-Benachrichtigungen
SMTP_SERVER=securesmtp.t-online.de
SMTP_PORT=587
SMTP_USER=deine-email@t-online.de
SMTP_PASS=dein-passwort
# Alert-E-Mail (an wen sollen Benachrichtigungen gehen?)
ALERT_EMAIL=deine-email@t-online.de
# Monitoring-Einstellungen (optional)
# CHECK_INTERVAL=600 # Monitoring-Prüfung alle 10 Minuten
# MAX_AGE=900 # Alarm wenn kein Heartbeat seit 15 Minuten
# ALERT_COOLDOWN=3600 # Mindestens 1 Stunde zwischen Alarm-E-Mails