From 215b199727df5a3e035cd35834ccd33dadcea60c Mon Sep 17 00:00:00 2001 From: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:44:38 +0200 Subject: [PATCH] Update cloud virtual host name (#19163) * Update vnode host info metadata to cloud * Check if host is already created * Simplify check --- src/plugins.d/pluginsd_parser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins.d/pluginsd_parser.c b/src/plugins.d/pluginsd_parser.c index a6c07d5ce16a98..486c2f82a9cbbe 100644 --- a/src/plugins.d/pluginsd_parser.c +++ b/src/plugins.d/pluginsd_parser.c @@ -219,7 +219,10 @@ static inline PARSER_RC pluginsd_host_define_end(char **words __maybe_unused, si rrdhost_flag_clear(host, RRDHOST_FLAG_ORPHAN); rrdcontext_host_child_connected(host); - schedule_node_state_update(host, 100); + if (host->aclk_config) + aclk_queue_node_info(host, true); + else + schedule_node_state_update(host, 100); return PARSER_RC_OK; }