Removing data collectors from Cloud APM console

After you unconfigure a data collector, you should also remove the data collector from the applications and from the resource groups that it was added to. Otherwise, the Cloud APM console will show that no data is available for the application and will not indicate that the data collector is offline.

Procedure

  1. Remove the data collector from any applications that you added it to by manually editing the applications.
    It is similar to removing offline agents from your application, see Viewing and removing offline agents.
  2. Remove the data collector from any custom resource groups that you added it to.
    For more information, see Resource Group Manager.
  3. On the Cloud APM server, complete the following steps:
    1. Edit the install_dir/serveragents/config/hostname_bi.cfg file to remove the lines for the data collector that has been unconfigured.
    2. Restart the server component for data collectors by running the following command as root user:
      apm restart biagent

Results

After a few minutes, the Cloud APM console will indicate that the data collector is offline in the My Components application and in the Resource Group Manager UI when you select the system resource group for the data collector.

After the interval specified by the Remove Offline System Delay configuration property in the Advanced Configuration page, the data collector will automatically be removed from My Components and from its system resource group.

Tip: You can adjust the Remove Offline System Delay setting in the Advanced Configuration page to increase or decrease the wait time before the offline agent is removed from view. For more information, seeAgent Subscription Facility.
Remember: If the data collector provided transaction tracking data to the Cloud APM server, the Cloud APM console might continue to display the data collector in the My Components application and display the message of The agent is invalid for the data collector after the time period specified by the Remove Offline System Delay setting has expired. If you have installed Cloud APM 8.1.4.0 Server Interim Fix 3 or later, an invalid data collector will eventually be removed from the My Components application 8 days after transaction tracking data stops being received from the data collector.