diff --git a/htdocs/web_portal/GOCDB_monitor/check.php b/htdocs/web_portal/GOCDB_monitor/check.php index 638b4af1f..47133d2ee 100644 --- a/htdocs/web_portal/GOCDB_monitor/check.php +++ b/htdocs/web_portal/GOCDB_monitor/check.php @@ -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 }