Commit Graph

5 Commits

Author SHA1 Message Date
cf5b81889d refactor(monitoring): simplify notification system and remove auto-cleanup
- Replace state-based notifications with direct alert functions
- Remove auto-cleanup functionality from disk monitoring and configuration
- Simplify lock acquisition/release across all monitoring scripts
- Add execute_hana_sql helper functions for consistent SQL execution
- Remove state file tracking in favor of direct file operations
- Standardize error handling with exit codes on critical failures
- Clean up hana.conf by removing unused auto-delete directory settings
2026-03-12 21:52:49 +01:00
5a92bc4e93 chore(cleanup): update auto-delete directories
Replace log backup paths with shared schema backup paths for DB_NDB
and SYSTEMDB. This ensures only safe-to-delete files are targeted,
excluding HANA system logs.
2026-03-12 20:52:26 +01:00
8e0ba1878f refactor(cleanup): generalize cleanup beyond logs
Rename configuration variables and functions to reflect broader
functionality beyond just log files. Updates include renaming
LOG_DIRS_FOR_CLEANUP to DIRS_FOR_AUTODELETE and
clean_log_files to clean_directory_files. Adds safety warnings
to prevent deletion of critical HANA system logs.

BREAKING CHANGE: Config keys renamed from LOG_DIRS_FOR_CLEANUP to
DIRS_FOR_AUTODELETE and MAX_LOG_FILE_AGE_DAYS to MAX_FILE_AGE_DAYS
2026-03-12 20:49:37 +01:00
a5553067b6 add installer 2026-03-12 20:47:56 +01:00
e7c4142294 initial commit 2026-03-12 20:12:20 +01:00