I am looking for a solution to monitor the health (DOWN
or UP
) of my web pages.
Let's say I have three services,
site.com/data
site.com/user
site.com/id
Now, what I can do is that I can create a GET
request which will be served every second and check if response status code
is 200 OK
. If it is anything else than 200 OK
, then it will trigger an alert. But, I don't want to hit the server continuously, as it will create unnecessary logs. I am using a mongodb logger
. What is the recommended way to achieve this?