Install/Update/Remove Operations CTRL - Monitoring Agent
  • 19 Aug 2022
  • Dark
    Light

Install/Update/Remove Operations CTRL - Monitoring Agent

  • Dark
    Light

Article summary

Introduction

The Operations CTRL - Monitoring agent is used to collect data for monitoring purposes as part of the Operations CTRL or Ops CTRL Suite of Services.

Purpose

Anyone with the proper permissions can install the agent. The steps below will help describe how to perform a fresh install, update an existing installation, or remove an agent installation if needed.

Install Elastic Agent

  1. Download and extract the elastic agent from the URL https://www.elastic.co/downloads/beats/elastic-agent
  2. Login to your Operations CTRL - Monitoring Console (Elastic with the Kibana Frontend Console). It should be similar to https://xxxxxxxxx.elastic.expedient.cloud:9243.
  3. In Kibana, open the menu on the left side and scroll down to Management > Fleet. Click on Fleet
  4. From the Agents tab, click the "Add agent" button.
  5. Select the policy you want and the OS for the agent.
  6. Copy the command from the console from step 3 using the Notepad icon on the right side of the command.
  7. Copy and run the command on the target host to install the agent.

Update Elastic Agent

  1. Update Elastic instance to the latest version
  2. Login to the Elastic instance
  3. Go to Fleet
  4. On the Agents tab, select the agents you want to upgrade
  5. From the Actions menu, choose to upgrade agents
  6. Click Upgrade agents

Uninstall Elastic Agent

UI Uninstall

Not possible at this time

Mac

  1. Open a root Shell.
  2. Run the following command:
    sudo /Library/Elastic/Agent/elastic-agent uninstall

Linux

  1. Open a root Shell.
  2. Run the following command:
    sudo /opt/Elastic/Agent/elastic-agent uninstall

Windows

  1. Open an Administrator PowerShell window.
  2. Run the following command:
    C:\"Program Files"\Elastic\Agent\elastic-agent.exe uninstall
  3. If Endpoint Security is installed, run the following command:
    C:\"Program Files"\Elastic\Endpoint\elastic-endpoint.exe uninstall

Was this article helpful?