From a092610fd9a70823fa03b6f83587e8852cd75b10 Mon Sep 17 00:00:00 2001 From: Dan Heath <76443935+Dan-Heath@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:39:45 -0400 Subject: [PATCH] Update website/content/docs/operations/health.mdx Co-authored-by: Sorawis Nilparuk (Bo) --- website/content/docs/operations/health.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/operations/health.mdx b/website/content/docs/operations/health.mdx index 66d1bfdedd..6854d1c383 100644 --- a/website/content/docs/operations/health.mdx +++ b/website/content/docs/operations/health.mdx @@ -49,7 +49,7 @@ $ wget -q -O - http://localhost:9203/health?worker_info=1 | grep -c 'READY' - `-q` - Prints the response instead of saving it to a file. - `-0` - Allows Boundary to pass the worker's URL. -If Boundary returns a `1`, it means the worker is healthy. +If the command prints 1 to `stdout` or exits with exit code 0, it means the worker is healthy. Exit code > 0, is unhealthy You can also use the following command without `grep -c 'READY'` to print a more verbose response that includes the worker's state, active session count, and connection state: