make status.php verbose
This commit is contained in:
parent
70a3e23931
commit
70c589f908
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user