File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -650,6 +650,28 @@ bundle agent cfe_internal_refresh_events_table
650650 if => fileexists( "$(cfe_internal_hub_vars.docroot)/api/resource-v1/Event.php" );
651651}
652652
653+ bundle agent cfe_internal_update_health_failures
654+ # @brief Update table that contains health diagnostics failures hosts
655+ {
656+ meta:
657+
658+ (policy_server|am_policy_hub).enterprise_edition::
659+
660+ "tags" slist => { "enterprise_maintenance" };
661+
662+ commands:
663+
664+ (policy_server|am_policy_hub).enterprise_edition.active_hub::
665+
666+ "$(sys.workdir)/httpd/php/bin/php" -> { "ENT-6228" }
667+ args => "$(cfe_internal_hub_vars.public_docroot)/index.php cli_tasks update_health_failures",
668+ contain => silent,
669+ comment => "This updates health diagnostics failures table. If the table is not updated then it will contain stale data.",
670+ handle => "mpf_update_health_failures",
671+ if => isgreaterthan(countlinesmatching(".*update_health_failures.*", "$(cfe_internal_hub_vars.docroot)/application/controllers/Cli_tasks.php"), 0);
672+
673+ }
674+
653675body classes cfe_internal_log_utilization(time)
654676# @brief Define persistent class for period of time to control log volume
655677{
You can’t perform that action at this time.
0 commit comments