From 3158bf16a747eeded01f8264f04ae42c06578518 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 31 Aug 2025 16:52:30 -0600 Subject: [PATCH] Send CPU usage percentage as ping value so it'll be graphed --- uptimekuma.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptimekuma.sh b/uptimekuma.sh index ff3bc98..22518da 100644 --- a/uptimekuma.sh +++ b/uptimekuma.sh @@ -87,7 +87,7 @@ fi echo -n "Sending status: " if [[ $IS_OK == "1" ]]; then echo "OK" - curl -s -o /dev/null -G "$API_URL$PUSH_KEY?status=up&msg=OK" + curl -s -o /dev/null -G "$API_URL$PUSH_KEY?status=up&msg=OK&ping=$CPU_PERCENT" else ERROR_STRING=$(IFS=";"; echo "${ERROR_MESSAGES[*]}") echo $ERROR_STRING