Have you also been notified that your site is unreachable and the reason is that the certificate has expired and you didn’t know until it was too late?
For many sites with in Azure the SSL certificates expires without warning and the site is down until the certificate been updated or renewed. We now have the ability to monitor SSL certificates with Azure Monitor and Application Insights availability test.
Create Standard Test
Under the availability tab in Application Insights, you’ll see a button called “Create Standard test” next to the classic ping test.
Create alert rule
You also have the option of having the test automatically create its own alert rule, which is powerful. If you select that option you can quickly be notified by the alert.
This will open to Azure Monitor Alerts page.
When you select it, you can see and adjust the criteria that it created for you.
When you edit the alert you can create an action group for notify people when the alert fires.
When the alert fires it will appear along side all your other Azure Monitor alerts. Under the Azure Monitor alerts page, it is stateful as well. Meaning you won’t get 100’s of alerts as the test keeps failing.
We can now get alerts when SSL certificates expiring. Try it out and let me know what you think!
Lämna ett svar