feat: Implement data retention policy

- Replaced `data_storage.py` with `database.py` to use SQLite instead of a JSON file for data storage.
- Added an `enforce_retention_policy` function to `database.py` to delete data older than 7 days.
- Called this function in the main monitoring loop in `monitor_agent.py`.
- Added Docker container monitoring.
- Updated `.gitignore` to ignore `monitoring.db`.
This commit is contained in:
2025-09-15 13:12:05 -05:00
parent 0b64f2ed03
commit 07c768a4cf
16 changed files with 1750356 additions and 74 deletions

1
auth_log_position.txt Executable file
View File

@@ -0,0 +1 @@
449823