This triggers mail if either the site is down or the performance is slow. Schedule it in windows task scheduler and run it for every 5 mins to keep a track on critical applications.
The account which is used to run this must have at least read permission to the application.