What are the available response modes for PSM Health Check?

What are the available response modes for PSM Health Check?

98
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM


Question


What are the available response modes for PSM Health Check?

Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;14.2

Answer


Currently there are 3 configurable response modes.

This is how you can configure them:

Configure the ResponseMode
  1. You can configure the response mode of the health check web service.

    Modifythe ResponseMode in ServiceSettings > HealthCheckSettings in the appsettings.json located under the HealthCheck folder:

    Response Mode

    Description

    Classic

    The health check service responds with 200 (OK) whether the PSM service is healthy or not, but the response body includes PASS or FAIL indicating if the server is healthy.

    CodeBased

    The health check service responds with 200 (OK) when the PSM service is healthy, and 503(Service unavailable) when the service is not healthy.

    HeaderBased

    This mode behaves like the Classic mode, but adds a parameter in the response header called IsHealthy, with a value of either Yes or No.

  2. Restart the service


Basic Troubleshooting:

Test the Health Check service

Navigate to:

https://<server>/psm/api/health

to test if the service is up and running.


Response code 500

If the HealthCheck service failed, the response code 500 (Internal server error) is returned.

For additional error details , see the PSMWebService.log file located under the HealthCheck folder, by default:

C:\Program Files (x86)\CyberArk\PSM\HealthCheck.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001DzJCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail