Files
HomeAudit/configs/monitoring/alertmanager.yml
admin 9ea31368f5 Complete Traefik infrastructure deployment - 60% complete
Major accomplishments:
-  SELinux policy installed and working
-  Core Traefik v2.10 deployment running
-  Production configuration ready (v3.1)
-  Monitoring stack configured
-  Comprehensive documentation created
-  Security hardening implemented

Current status:
- 🟡 Partially deployed (60% complete)
- ⚠️ Docker socket access needs resolution
-  Monitoring stack not deployed yet
- ⚠️ Production migration pending

Next steps:
1. Fix Docker socket permissions
2. Deploy monitoring stack
3. Migrate to production config
4. Validate full functionality

Files added:
- Complete Traefik deployment documentation
- Production and test configurations
- Monitoring stack configurations
- SELinux policy module
- Security checklists and guides
- Current status documentation
2025-08-28 15:22:41 -04:00

74 lines
2.1 KiB
YAML

global:
smtp_smarthost: 'localhost:587'
smtp_from: 'alerts@homeaudit.local'
smtp_auth_username: 'alerts@homeaudit.local'
smtp_auth_password: 'your_email_password'
route:
group_by: ['alertname', 'cluster', 'service']
group_wait: 10s
group_interval: 10s
repeat_interval: 1h
receiver: 'default'
routes:
- match:
severity: critical
receiver: 'critical-alerts'
group_wait: 0s
group_interval: 5m
repeat_interval: 30m
- match:
alertname: TraefikAuthenticationCompromiseAttempt
receiver: 'security-alerts'
group_wait: 0s
repeat_interval: 15m
receivers:
- name: 'default'
email_configs:
- to: 'admin@homeaudit.local'
subject: '[MONITORING] {{ .GroupLabels.alertname }}'
body: |
{{ range .Alerts }}
Alert: {{ .Annotations.summary }}
Description: {{ .Annotations.description }}
Severity: {{ .Labels.severity }}
Instance: {{ .Labels.instance }}
{{ end }}
- name: 'critical-alerts'
email_configs:
- to: 'admin@homeaudit.local'
subject: '[CRITICAL] {{ .GroupLabels.alertname }}'
body: |
🚨 CRITICAL ALERT 🚨
{{ range .Alerts }}
Alert: {{ .Annotations.summary }}
Description: {{ .Annotations.description }}
Instance: {{ .Labels.instance }}
Time: {{ .StartsAt }}
{{ end }}
- name: 'security-alerts'
email_configs:
- to: 'security@homeaudit.local'
subject: '[SECURITY ALERT] Possible Authentication Attack'
body: |
🔒 SECURITY ALERT 🔒
Possible brute force or credential stuffing attack detected!
{{ range .Alerts }}
Description: {{ .Annotations.description }}
Service: {{ .Labels.service }}
Instance: {{ .Labels.instance }}
Time: {{ .StartsAt }}
{{ end }}
Immediate action may be required to block attacking IPs.
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'cluster', 'service']