Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Monitoring of live Website

Avatar

Level 2

Pl. Help me, Whether the website created on the same AEM  is working or not, can be monitor

8 Replies

Avatar

Community Advisor

Can you please explain a bit in detail what exactly you need in terms of monitoring?

You can create the page in author and verify the same in publisher instance and via dispatcher.

Himanshu Jain

Avatar

Level 2

Sir, we have create many websites/macro website of our offices. at that time, some website are working and some are not, can we monitor all websites of our offices from Head office by AEM.

Avatar

Level 2

Sir, we have create many websites/macro website of our offices. at that time, some website are working and some are not, can we monitor all websites of our offices from Head office by AEM

Avatar

Employee Advisor

@Dineshb1368 You actually need to test website domains, to make sure if site is working on not. AEM may be up and running but website may be down or inaccessible due to several reasons (CDN issue, domain issue, n/w issue ...)

I have used several ways to monitor websites, like Pingdom [https://www.pingdom.com/] , uptime [https://uptimerobot.com/], or custom script.

Avatar

Level 2

ok sir, but can we monitor from AEM that which website may be down or inaccessible 

Avatar

Level 7

Monitoring is available on AMS & Cloud Service. For on-prem instance you can write your own custom monitoring scripts.

 

Ideally, these scripts should be hosted outside AEM and it should be very straight forward script - you can hit any URL and check the HTTP status code. 

If you really need to host these scripts on AEM instance only, then you have two options for on-prem:

1. Write shell scripts which should be deployed on AEM hosted server. These scripts should execute on regular frequency to check the site status, along with this you can add your custom monitoring as well like CPU usage etc.

2. Write scheduler with custom code to check the HTTP status code for all sites which you want to monitor. And then you can send emails with the results. However, I will not recommend this.

Avatar

Employee Advisor

For an On-Prem instance, you can leverage JMX Monitors [1] to track critical matric like java usage, a number of blocked threads, slow queries...

 

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/jmx-console.h...

Avatar

Community Advisor

You might want to set up something called health checks on your website. Health checks are generally operated with an external monitoring service or container orchestrator to check the status of an app, such as getting a 200OK response from a website URL.

 

Check with your dev opts team to get this setup.