5 Commits

Author SHA1 Message Date
e653ff7b9a fix(monitoring): allow sapcontrol exit code 3
The sapcontrol command returns exit code 3 for successful execution
in this context. Previously, only exit code 0 was accepted, causing
false error alerts and script termination when the process was healthy.
2026-03-12 22:35:54 +01:00
f364996563 refactor(monitoring): parse process list via awk
Update grep pipelines to include awk command. This ensures
only the process identifier is captured instead of the full
status line.
2026-03-12 22:32:18 +01:00
7495ebcd78 refactor(monitoring): remove hardcoded tool paths
Remove SAPCONTROL_PATH and HDBSQL_PATH variables from configuration.
Update scripts to rely on the system PATH environment variable when
executing as the <sid>adm user. Remove redundant existence checks for
these commands.
2026-03-12 22:24:02 +01:00
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
e7c4142294 initial commit 2026-03-12 20:12:20 +01:00