From 70c589f908f35bc3f0f813d6c9b6d0aa8ba14538 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 9 Sep 2021 10:11:46 -0700 Subject: [PATCH] make status.php verbose --- html/status.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/status.php b/html/status.php index cc159ab..07098db 100644 --- a/html/status.php +++ b/html/status.php @@ -5,10 +5,12 @@ if ($db_link = mysqli_connect('localhost', 'nagios', '', '')) { mysqli_close($db_link); /* 200 OK */ http_response_code(200); + echo "200 OK\n"; } else { /* 503 Service Unavailable */ http_response_code(503); + echo "503 Service Unavailable\n"; }