summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-07-22 01:01:44 +0300
committerGitHub <noreply@github.com>2023-07-22 01:01:44 +0300
commit20a43252be2ce8af9914ec14fc2ccef6c8c740e7 (patch)
tree4bacddf83807fd1fe49ffa189312122891f931b8 /health
parent173a3f9bedeb2b8d367e908fdf99a46af19b6f1a (diff)
Improve the update of the alert chart name in the database (#15490)
Disable check during health init Store chart_name when storing a new transition
Diffstat (limited to 'health')
-rw-r--r--health/health.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.c b/health/health.c
index 3bf2899835..d94c33161d 100644
--- a/health/health.c
+++ b/health/health.c
@@ -844,8 +844,8 @@ static void initialize_health(RRDHOST *host)
host->health.health_default_exec = string_strdupz(config_get(CONFIG_SECTION_HEALTH, "script to execute on alarm", filename));
host->health.health_default_recipient = string_strdupz("root");
- if (!is_chart_name_populated(&host->host_uuid))
- chart_name_populate(&host->host_uuid);
+ //if (!is_chart_name_populated(&host->host_uuid))
+ // chart_name_populate(&host->host_uuid);
sql_health_alarm_log_load(host);