From 10b548cd798afecff1f665e2216948f9dd6de1d9 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 6 Jan 2026 16:57:16 -0500 Subject: [PATCH] Update README with hourly execution schedule and recent improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Document hourly execution (changed from daily) - Add version 2.0 improvements section - Document 10MB storage limit and automatic cleanup - Clarify service configuration details 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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