Remove Infrastructure Health adapter instance through API
search cancel

Remove Infrastructure Health adapter instance through API

book

Article ID: 372979

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

You receive an adapter alert, saying Infrastructure Health adapter instance is down

This issue may be present following changes to a nodes IP address or following removal of a node from the cluster.

The purpose of this article is to provide steps to remove Infrastructure Health adapter instance that is not assigned a collector group. 

Environment

Aria Operations 8.12.x and above

Resolution

  1. Take a snapshot of all nodes in the cluster as per the following KB -  How to take a Snapshot of VMware Aria Operations
  2. Access the API interface by navigating to the following address, replacing <vropsprimaryfqdn>

    https://<vropsprimaryfqdn>/suite-api/

  3. Sign in by clicking on Authorize and entering in the default local admin user account credential details
  4. Scroll down to the Adapters section, expand GET /api/adapters, Click "Try it out"
  5. Enter the value: VMWARE_INFRA_HEALTH for the adapterKindKey and click execute
  6. Compare the output of the call with what is listed in the Aria Operations UI under Data Sources > Integrations > VMware Health Adapter . Find the id for the affected adapter instance
  7. Expand Delete /api/adapters/{adapterId} . Click "Try it out"
  8. Enter in the adapterId using the id you get in step 6
  9. Leave deleteResources as false
  10. Sign into the product UI and confirm the affected adapter instances are removed from Aria Operations UI under Data Sources > Integrations > VMware Health Adapter