Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Hosted-services / Azure

Setting Up Web Endpoint Monitoring in Azure

5.00/5 (2 votes)
3 Feb 2020CPOL1 min read 15.3K  
This post will show you how to set up web endpoint monitoring from within Azure.

Services like Pingdom allow you to monitor your websites in case they go down so that you are notified. When the configured endpoint for monitoring returns an HTTP response code greater than or equal to 400 or if the response takes longer than 30 seconds, etc., you will be alerted.

The service will periodically call your website URL that you have configured, to ensure you get notified before your angry customers notify you.

You can also do this from within Azure.

If you select your website and view your dashboard, underneath the graph, you will see “Web endpoint status”.

2015_03_03_Azure_endpoint_monitoring

You can see here it currently says “You have not configured a web endpoint for monitoring.”

Click on “CONFIGURE WEB ENDPOINT MONITORING” and it takes you to the general settings page, scroll down until you get to the monitoring section.

2015_03_03_Azure_endpoint_monitoring_2

You can setup 2 endpoints. If you click on the test location drop down, you can see that you can set the monitoring from any of the Azure data centres, as you can see I’ve selected the top 2, “US: IL-Chicago” and “NL: Amsterdam”. You can change this to only be the data centre that your website is located, or do more than one, or ONLY ping from a data centre further a field.

2015_03_03_Azure_endpoint_monitoring_3

Give it a name, and then click “Save” right at the bottom of the settings page. After a few seconds, if you go to your dashboard, you will see your endpoint monitoring is configured.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)