Host remediation failed "Failed to run Health checks for NSX-T on 'cluster-name'" .
search cancel

Host remediation failed "Failed to run Health checks for NSX-T on 'cluster-name'" .

book

Article ID: 427686

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When checking compliance and remediating, we are getting this message.  
Error when running remediate on the cluster "Failed to run Health checks for NSX-T on 'cluster-name'

NSX is not installed. 
No NSX vibs are installed on the host.
No mention of NSX in the solutions or componenets section of Image
 

Environment

ESXi 8.x

Cause

NSX Pre-check is stopping a compliance check when NSX isnt installed on the host

Resolution

Temporarily disable the NSX pre-check.

service-control --stop updatemgr
Back up the configuration file:
cp /usr/lib/vmware-updatemgr/bin/vci-integrity.xml /usr/lib/vmware-updatemgr/bin/vci-integrity.bak
Edit the configuration file:
vi /usr/lib/vmware-updatemgr/bin/vci-integrity.xml

Change the nsxt_rest entry to false

      <nsxt_rest>
        <enabled>false</enabled>   <<<<<<<<<<
      </nsxt_rest>

 

Save the file and restart the Update Manager service:

<esc> :wq <enter>
service-control --start updatemgr

This will allow the remediation to run with out completeing the NSX pre-check


After the remediation completes, change the file back to allow for pre-checks going forward.

vi /usr/lib/vmware-updatemgr/bin/vci-integrity.xml

Change the nsxt_rest entry to true

      <nsxt_rest>
        <enabled>true</enabled>   <<<<<<<<<<
      </nsxt_rest>

Save the file and restart the Update Manager service:
<esc> :wq <enter>
service-control --start updatemgr