Hi Sir,
I'd suggest you to use "web application availability monitor" (it contains monitoring HTTP status code) :
https://technet.microsoft.com/en-us/library/hh881883?f=255&MSPPError=-2147217396
Also :
https://blogs.technet.microsoft.com/momteam/2012/05/31/using-the-web-application-availability-monitoring-to-monitor-web-applications-health/
Hope it is helpful to you .
Best Regards,
Elton
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.