Interpret Health Check results

After you enable the health check service, you can run a health check on the running site at any time.

To run a health check, simply make an HTTP request:
server:port/<path_value>?type=groupname,groupname,…

where:

  • server:port is the host and port where the site you want check is running, for example, mysite.com
  • <path_value> defines the path where the health check service is accessible. You can replace it with any value, for example, http://mysite.com/restapi/health
  • ?type=groupname,groupname,… is the list of groups that you defined on individual health checks. When these parameters are omitted, all enabled checks will run.

The following example demonstrates how overall health check results are affected by the groups and configurations you set.

You configure the following:

Health check  Group  Critical 
Internet connectivity check Google  internet  Yes 
Internet connectivity check bing  internet  Yes 
Redis check redis  Yes 

You run the following HTTP request:

mysite.com/restapi/health?type=internet, redis

You get the following health check result:

With internet and redis groups 

In the example above, the overall result of the health check is false. The reasons are:

Redis check is critical. Therefore, since Redis check is unsuccessful, the overall result is false.

Network load balancing is not active, so the Redis test failed. By disabling the Redis check and restarting the site, that check is skipped and the overall health check result is true.

 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?