Copied to clipboard

Flag this post as spam?

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


  • Thomas Haggren 29 posts 149 karma points
    Nov 27, 2017 @ 14:27
    Thomas Haggren
    0

    Disable built in Health Check

    Where do I see ids for the built in health checks?

    I assume it is possible to disable/remove these in HealthChecks.config?

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Nov 27, 2017 @ 14:38
    Dan Diplo
    100

    The Id is a GUID that is added to the relevant class as an attribute, so the only way I know to get them would be to look through the source code for the built-in checks and look for:

    [HealthCheck(
            "D999EB2B-64C2-400F-B50C-334D41F8589A",
            "XML Data Integrity",
            Description = "This checks the data integrity for the xml structures for content, media and members that are stored in the cmsContentXml table. This does not check the data integrity of the xml cache file, only the xml structures stored in the database used to create the xml cache file.",
            Group = "Data Integrity")]
    

    The GUID bit is the ID. The above example is from XmlDataIntegrityCheck.

    All built-in ones can be found here:

    https://github.com/umbraco/Umbraco-CMS/tree/5397f2c53acbdeb0805e1fe39fda938f571d295a/src/Umbraco.Web/HealthCheck/Checks

  • Thomas Haggren 29 posts 149 karma points
    Nov 27, 2017 @ 14:42
    Thomas Haggren
    0

    Cheers Dan... I will have a look in the source code :)

  • Thomas Haggren 29 posts 149 karma points
    Nov 27, 2017 @ 14:50
    Thomas Haggren
    0

    enter image description here

    It worked .. "Try Skip IIS Custom Errors" disabled :)

Please Sign in or register to post replies

Write your reply to:

Draft