From e244057d9b095ad0fc72b5edea7de855fdbe9579 Mon Sep 17 00:00:00 2001 From: msm1992 Date: Wed, 6 Nov 2024 12:29:33 +0530 Subject: [PATCH] Fix health check docs --- .../monitoring/monitoring-server-health.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/en/docs/administer/logging-and-monitoring/monitoring/monitoring-server-health.md b/en/docs/administer/logging-and-monitoring/monitoring/monitoring-server-health.md index ae5a7af11d..e8ba866f5e 100644 --- a/en/docs/administer/logging-and-monitoring/monitoring/monitoring-server-health.md +++ b/en/docs/administer/logging-and-monitoring/monitoring/monitoring-server-health.md @@ -32,7 +32,7 @@ This section guides you through deploying the Carbon Health Check components in 5. Copy the webapp `api#health-check#v1.0.war`, which is found in the `/components/org.wso2.carbon.healthcheck.api.endpoint/target/` directory and paste it in the `/repository/deployment/server/webapps` directory. -6. Copy the `health-check.config.xml` configuration file found in the `/features/org.wso2.carbon.healthcheck.server_1.0.0` directory to your `/repository/conf/` directory. +6. Copy the `health-check-config.xml` configuration file found in the `/features/org.wso2.carbon.healthcheck.server.feature/resources` directory to your `/repository/conf/` directory. 7. Correct the health check related configurations as indicated below in the `/repository/conf/deployment.toml` file. @@ -42,7 +42,7 @@ This section guides you through deploying the Carbon Health Check components in [carbon_health_check.health_checker.data_source_health_checker.properties] 'monitored.datasources' = "jdbc/WSO2CarbonDB,jdbc/WSO2AM_DB,jdbc/SHARED_DB" [carbon_health_check.health_checker.super_tenant_health_checker.properties] - {% raw %}{{'monitored.user.stores' = "primary" }}{% endraw %} + 'monitored.user.stores' = "primary" ``` ### Step 2 - Configure the Health Checker global configurations @@ -239,10 +239,6 @@ Follow the instructions below to add a custom Health Checker: [carbon_health_check.health_checker.data_source_health_checker.properties] 'monitored.datasources' = "jdbc/WSO2CarbonDB,jdbc/WSO2AM_DB,jdbc/SHARED_DB" - - [carbon_health_check.health_checker.data_source_health_checker] - enable =false - order = 98 [carbon_health_check.health_checker.super_tenant_health_checker.properties] 'monitored.user.stores' = "primary" @@ -250,6 +246,7 @@ Follow the instructions below to add a custom Health Checker: [[health_checker]] name = "customChecker" order = "87" + [health_checker.properties] property1 = "property-1-value" property2 = "property-2-value"