ÃÛ¶¹ÊÓÆµ

Monitoring AEM environment health status

Maintaining the health of an ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) environment is crucial for ensuring smooth operations and optimal performance. In a production setting, it’s essential to have a reliable method to check the status of various environment segments without manually accessing the interface. This article explains how to programmatically monitor an AEM environment’s health using built-in health-check endpoints. By leveraging these endpoints, you can receive real-time insights into system readiness and address any issues promptly.

Description description

Environment

  • Product: ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) as a Cloud Service - Sites
  • Environment Type: Production

Issue/Symptoms

To manage the health of an AEM environment, it’s often necessary to programmatically and periodically check the status of different segments. You need a way to get this information without manually accessing the interface.

Resolution resolution

To monitor the health status of your AEM environment programmatically, you can use the built-in health-check endpoints provided by AEM as a Cloud Service. These endpoints give detailed insights into the system readiness through JSON responses.

  1. Use the /system/probes/health endpoint to get comprehensive details about the system’s health. This endpoint returns a JSON response with statuses from various probes within your environment.
  2. Construct your request URL as follows: https://<your-instance-url>/system/probes/health
  3. Replace <your-instance-url> with your specific instance URL to get accurate results.

By following these steps, you can effectively monitor and stay aware of your AEM environment’s operational status.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f