We want to set up a monitor to make sure tenant’s server is up and running. The requirement is pretty simple: We want to make sure web server return “Forbidden” (response is 403, and text in the webpage is “Forbidden”) and not a 404 or 502 or something when clicking the link below (example).
Here, I have a couple of questions:
- Can I use synthetic monitor to do it? This url provides some examples. Should I use scripted browser to do it? One thing I am not quite clear is, I want to check both text in the webpage and the return status (403). How can I check both?
- I need to alert people if something goes wrong, I understand that I need to create alert policy, but how the browser script knows the alert policy exists and sent out alert based on the policy?