I would like to automatize an health check on our ArcGIS Server Enterprise in order to alert the administrators by email if ArcGIS Server is not responding for any reason.
What is the proper way to achieve that? Is there a service in the admin REST API that could be used for that?
I see there is a Health Check in the REST API. I wonder, in a case where the RAM of the server is full and most of the map services cannot resolved, does the Health Check will returns an error?