update monitor, hide curl output
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Version: 1.0.2
|
||||
# Version: 1.0.3
|
||||
# =============================================================================
|
||||
# SAP HANA Monitoring Script
|
||||
#
|
||||
@@ -35,7 +35,7 @@ send_notification() {
|
||||
local title="$1"
|
||||
local message="$2"
|
||||
local full_message="[${COMPANY_NAME} | ${HOSTNAME}] ${message}"
|
||||
curl -H "Authorization: Bearer ${NTFY_TOKEN}" -H "Title: ${title}" -d "${full_message}" "${NTFY_TOPIC_URL}"
|
||||
curl -H "Authorization: Bearer ${NTFY_TOKEN}" -H "Title: ${title}" -d "${full_message}" "${NTFY_TOPIC_URL}" > /dev/null 2>&1
|
||||
}
|
||||
|
||||
# --- HANA Process Status ---
|
||||
|
||||
Reference in New Issue
Block a user