From be3c6afbdb395ee8e149761ddce34d0189c2dca9 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Fri, 22 May 2026 14:11:52 +0200 Subject: [PATCH] Removed cfe_internal_update_health_failures bundle cf-reactor now schedules the update_health_failures CLI task on its own 1-minute timer. The policy bundle is no longer needed. Ticket: ENT-7923 Changelog: Moved update_health_failures CLI task from policy to cf-reactor Signed-off-by: Lars Erik Wik --- cfe_internal/enterprise/CFE_hub_specific.cf | 25 --------------------- 1 file changed, 25 deletions(-) diff --git a/cfe_internal/enterprise/CFE_hub_specific.cf b/cfe_internal/enterprise/CFE_hub_specific.cf index 6a22c50dcc..6038348bf8 100644 --- a/cfe_internal/enterprise/CFE_hub_specific.cf +++ b/cfe_internal/enterprise/CFE_hub_specific.cf @@ -787,31 +787,6 @@ bundle agent cfe_internal_refresh_events_table if => fileexists( "$(cfe_internal_hub_vars.docroot)/api/resource-v1/Event.php" ); } -bundle agent cfe_internal_update_health_failures -# @brief Update table that contains health diagnostics failures hosts -{ - meta: - - (policy_server|am_policy_hub).enterprise_edition:: - - "tags" slist => { "enterprise_maintenance" }; - - commands: - - (policy_server|am_policy_hub).enterprise_edition.active_hub:: - - "$(sys.workdir)/httpd/php/bin/php" -> { "ENT-6228" } - args => "$(cfe_internal_hub_vars.public_docroot)/index.php cli_tasks update_health_failures", - contain => silent, -@if minimum_version(3.15.0) - inform => "false", -@endif - comment => "This updates health diagnostics failures table. If the table is not updated then it will contain stale data.", - handle => "mpf_update_health_failures", - if => isgreaterthan(countlinesmatching(".*update_health_failures.*", "$(cfe_internal_hub_vars.docroot)/application/controllers/Cli_tasks.php"), 0); - -} - body classes cfe_internal_log_utilization(time) # @brief Define persistent class for period of time to control log volume {