Skip to content

Commit

Permalink
Merge pull request #501 from RoseECooper/issue-406
Browse files Browse the repository at this point in the history
Add http response code to check.php
  • Loading branch information
gregcorbett authored Dec 14, 2023
2 parents bcf93da + 4aaf08b commit eb3e6ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/web_portal/GOCDB_monitor/check.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
echo("One or more errors have been detected while checking GOCDB services - " .
$message .
". See https://goc.egi.eu/portal/GOCDB_monitor/ to find out more\n");
http_response_code(500);
exit(2); // return Nagios error code for CRITICAL
}

Expand Down

0 comments on commit eb3e6ad

Please sign in to comment.