make status.php verbose

This commit is contained in:
Matthew Saunders Brown 2021-09-09 10:11:46 -07:00
parent 70a3e23931
commit 70c589f908

View File

@ -5,10 +5,12 @@ if ($db_link = mysqli_connect('localhost', 'nagios', '', '')) {
mysqli_close($db_link); mysqli_close($db_link);
/* 200 OK */ /* 200 OK */
http_response_code(200); http_response_code(200);
echo "200 OK\n";
} else { } else {
/* 503 Service Unavailable */ /* 503 Service Unavailable */
http_response_code(503); http_response_code(503);
echo "503 Service Unavailable\n";
} }