Tool to check Sharepoint website is Down RRS feed

  • Question

  • Hi,

      I have a requirement to create a tool which should send email to certain users when our production sharepoint website is down. Could please suggest me some ways for achieveing this requirement.

    Thanks in Advance.

    Friday, November 2, 2012 1:24 PM

All replies

  • SharePoint can "go down" in a lot of ways!

    • Can users visit a site?
    • Are alerts being sent?
    • Are timer jobs running?
    • Are workflows running?

    If you just want to see if the site can be visited you can create a .Net console app that uses WebClient. Put your coded in a try...catch and then check for timeouts or to see if the data returned is an error page.

    WebClient client = new WebClient();

    somebytearray = client.DownloadData("someURL");
    somestring = client.DownloadString("someURL");

    Mike Smith my SP customization book

    Sunday, November 4, 2012 1:16 AM