Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John C Scott 473 posts 1183 karma points
    Jan 23, 2015 @ 13:45
    John C Scott
    0

    Health Check Page

    A hard ware load balancer can request a page to check if the server is responding.

    If this is a page generated by the CMS there is a risk this page will be deleted or renamed.

    Is there a request within /Umbraco that can be called that would verify the availability of the application pool and the datasource? I'm concerned that in the past if the datasource is not available I've seen Umbraco show the login page which is a valid response. Would this still be the case with 7.2+ ?

     

     

  • Steve Morgan 1346 posts 4453 karma points c-trib
    Jan 23, 2015 @ 15:04
    Steve Morgan
    0

    I think you could just create a very simple API Controller that tries to list some nodes and then that would be available via /Umbraco/Api/MyCustomApi/GetMyCustomMethod

    See http://our.umbraco.org/documentation/Reference/WebApi/ for how to create one. 

     

Please Sign in or register to post replies

Write your reply to:

Draft