diff --git a/README.md b/README.md index fd754c0..04e06fd 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ The daemon creates and maintains: - **Log Directory**: `/var/log/hwmonDaemon/` - **Historical SMART Data**: JSON files for trend analysis - **Data Retention**: 30 days of historical monitoring data +- **Storage Limit**: Automatically enforced 10MB maximum +- **Cleanup**: Oldest files deleted first when limit exceeded ## Ticket Creation @@ -107,9 +109,22 @@ The following paths are automatically excluded from monitoring: The daemon runs: -- Daily via systemd timer +- Hourly via systemd timer (with 60-second randomized delay) - As root user for hardware access - With automatic restart on failure +- 5-minute timeout for execution +- Logs to systemd journal + +## Recent Improvements + +**Version 2.0** (January 2026): +- ✅ Added 10MB storage limit with automatic cleanup +- ✅ File locking to prevent race conditions +- ✅ Disabled monitoring for unreliable Ridata drives +- ✅ Added timeouts to all network/subprocess calls (10s API, 30s subprocess) +- ✅ Fixed unchecked regex patterns +- ✅ Improved error handling throughout +- ✅ Enhanced systemd service configuration with restart policies ## Troubleshooting