From ec7a9987ad07fa096a9770df174aa19d73877dc5 Mon Sep 17 00:00:00 2001 From: 0rShemesh <34350066+0rShemesh@users.noreply.github.com> Date: Mon, 3 Jun 2024 08:30:09 +0300 Subject: [PATCH] Update healthcheck.sh --- proxy/src/healthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/healthcheck.sh b/proxy/src/healthcheck.sh index 0e65171..4508e70 100644 --- a/proxy/src/healthcheck.sh +++ b/proxy/src/healthcheck.sh @@ -7,7 +7,7 @@ curl -s -w 2 "http://127.0.0.1:8199/;csv" > /tmp/stats.txt || exit 1 # First trim off the leading line which is just "#" -# Then convert the ugly CSV to slightly less ugly JSON +# Convert the CSV to JSON for easier data manipulation # Filter out the lines for *.whatsapp_net backend status # Select the "check_desc" field (Description of the check result) # and take all results that do NOT equal "Layer4 check passed" from HAProxy