As I am using Azure more for all of my monitoring needs I decided to look for a way to monitor multiple websites to make sure they are up. In this quick how-to, I am going to show you how to use Azure Application Insights to do just that.
- Either a new or existing Application Insights resource.
Go to your application insights resource and click Availability on the left-hand side.
In this blade click on Add test.
The Create test blade will pop up on the right. In here enter a name for your test. Leave the Test type as a URL ping test. Enter the URL of the site you want to test against.
You can change the locations the tests are performed from under the Test locations heading. As I am from the UK I add them in.
If you do not want alerts you can disable them by click on the Alerts heading at the bottom.
Then click Create. Repeat this for any other sites you want to monitor.
Once you have added all of the websites you want to you will need to fine-tune the alerts.
To do this on the same blade you added in the test you will see a list of the tests you created. Next to each test is … If you click the … A little menu will pop up. In here click on Edit alert.
In this new blade, you will need to add an Action group. You can either create a new one or use an existing.
Then click Save at the top.
And there you have it. You are now monitoring if your websites are up by using Application Insights and a simple ping test.
I hope you found this helpful. If you have any questions please reach out or leave a comment below.