Is there a way to set up Logic App, and have it configured in such a way that it probes the Azure DNS resolver (168.63.129.16) all time. If no response for certain interval, then an alert will be triggered to the specified notification group?
Asked
Active
Viewed 97 times
-1
-
Please provide enough code so others can better understand or reproduce the problem. – Community Oct 18 '22 at 15:56
-
I have this code: Test-NetConnection -ComputerName 168.63.129.16 -Port 80 Test-NetConnection -ComputerName 168.63.129.16 -Port 443 Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri http://168.63.129.16/?comp=versions But how do I integrate in logic apps, that it probes the Azure DNS resolver (168.63.129.16) all time. If no response for certain interval, then an alert will be triggered to the specified notification group? – Bolutife Oct 19 '22 at 21:07
1 Answers
0
You can leverage the HTTP action to call your endpoint and based on the response you can decide whether you want to send the email or not to your email group.
Work Flow: Recurrence trigger --> HTTP action --> Send Email

MayankBargali
- 712
- 5
- 8