fix monitor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Version: 1.0.0
|
||||
# Version: 1.0.1
|
||||
# =============================================================================
|
||||
# SAP HANA Monitoring Script
|
||||
#
|
||||
@@ -19,7 +19,7 @@ trap 'rm -f "$LOCK_FILE"' EXIT
|
||||
|
||||
# --- Configuration and Setup ---
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||
CONFIG_FILE="${SCRIPT_DIR}/monitor_hana.conf"
|
||||
CONFIG_FILE="${SCRIPT_DIR}/monitor.conf"
|
||||
|
||||
if [ ! -f "$CONFIG_FILE" ]; then
|
||||
echo "❌ Error: Configuration file not found at ${CONFIG_FILE}"
|
||||
|
||||
Reference in New Issue
Block a user