Update README with hourly execution schedule and recent improvements
- 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 <noreply@anthropic.com>
This commit is contained in:
17
README.md
17
README.md
@@ -73,6 +73,8 @@ The daemon creates and maintains:
|
|||||||
- **Log Directory**: `/var/log/hwmonDaemon/`
|
- **Log Directory**: `/var/log/hwmonDaemon/`
|
||||||
- **Historical SMART Data**: JSON files for trend analysis
|
- **Historical SMART Data**: JSON files for trend analysis
|
||||||
- **Data Retention**: 30 days of historical monitoring data
|
- **Data Retention**: 30 days of historical monitoring data
|
||||||
|
- **Storage Limit**: Automatically enforced 10MB maximum
|
||||||
|
- **Cleanup**: Oldest files deleted first when limit exceeded
|
||||||
|
|
||||||
|
|
||||||
## Ticket Creation
|
## Ticket Creation
|
||||||
@@ -107,9 +109,22 @@ The following paths are automatically excluded from monitoring:
|
|||||||
|
|
||||||
The daemon runs:
|
The daemon runs:
|
||||||
|
|
||||||
- Daily via systemd timer
|
- Hourly via systemd timer (with 60-second randomized delay)
|
||||||
- As root user for hardware access
|
- As root user for hardware access
|
||||||
- With automatic restart on failure
|
- 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
|
## Troubleshooting
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user