Back to Checks
vcf

All vCenter instances are in ACTIVE status

vcenters_healthy
Service: vcentersSeverity: high
OfficialVerifiedVMware Cloud FoundationPrivate
Categories:resilience
Resource Type:Vcenter

vCenter Server instances managed by VCF are in ACTIVE status, indicating they are healthy and fully operational.

Risk

A vCenter that is not active cannot manage its associated clusters and hosts, breaking availability of workload management for those domains.

Run this check with Prowler

Run in Prowler Cloud
Install
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-vcf[runtime]"
Run
prowler vcf --checks vcenters_healthy

Recommendation

Keep all vCenter instances healthy and in ACTIVE state by remediating service or connectivity issues promptly.

Remediation

Other

1Investigate the **vCenter** status in the **SDDC Manager** UI under **Inventory > Workload Domains** and resolve the reported issue.

Check Code

from prowler.lib.check.models import Check
from prowler_provider_vcf.check_report import CheckReportVCF
from prowler_provider_vcf.services.vcenters.vcenters_client import vcenters_client


class vcenters_healthy(Check):
    def execute(self) -> list[CheckReportVCF]:
        findings = []
        for vcenter in vcenters_client.vcenters:
            report = CheckReportVCF(
                metadata=self.metadata(),
                resource=vcenter,
            )
            if vcenter.status == "ACTIVE":
                report.status = "PASS"
                report.status_extended = f"vCenter {vcenter.name} is in ACTIVE status."
            else:
                report.status = "FAIL"
                report.status_extended = (
                    f"vCenter {vcenter.name} is in {vcenter.status} status "
                    f"(expected ACTIVE)."
                )
            findings.append(report)
        return findings