- Created SystemMonitor class for health check monitoring - Implemented system metrics collection (CPU, memory, disk, network) - Added application metrics monitoring (scrapers, logs, data sizes) - Built alert system with configurable thresholds - Developed HTML dashboard generator with real-time charts - Added systemd services for automated monitoring (15-min intervals) - Created responsive web dashboard with Bootstrap and Chart.js - Implemented automatic cleanup of old metric files - Added comprehensive documentation and troubleshooting guide Features: - Real-time system resource monitoring - Scraper performance tracking and alerts - Interactive dashboard with trend charts - Email-ready alert notifications - Systemd integration for production deployment - Security hardening with minimal privileges - Auto-refresh dashboard every 5 minutes - 7-day metric retention with automatic cleanup Alert conditions: - Critical: CPU >80%, Memory >85%, Disk >90% - Warning: Scraper inactive >24h, Log files >100MB - Error: Monitoring failures, configuration issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
No EOL
209 B
SYSTEMD
12 lines
No EOL
209 B
SYSTEMD
[Unit]
|
|
Description=Run HVAC Know It All Content Monitoring
|
|
Requires=hvac-monitoring.service
|
|
|
|
[Timer]
|
|
# Run every 15 minutes
|
|
OnCalendar=*:00/15
|
|
Persistent=true
|
|
AccuracySec=1min
|
|
|
|
[Install]
|
|
WantedBy=timers.target |