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?
Solved! Go to Solution.
The HealthCheck on ArcGIS Server is a good way to know the health of the Server and a reasonably good indication of whether services are available for use. There is a similar healthcheck in Portal for ArcGIS as well that you can look into.
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?
You can use the Hardware configuration resource to check the hardware resources information for ArcGIS Server and take action accordingly.
Having said this, ArcGIS Monitor is a good product to look into to as Nathaniel suggested. There's a lot of alerts and other features built-in.
Hi Moginraj, thanks for your reply.
I think that the hardware configuration resource REST API provides info about the specs of the server but not its state. For instance, reading from the doc, it does not returns the current RAM in use or the current CPU usage.