Skip to main content

Installation Guide for MotaAgent

The MotaAgent installation enables device-level monitoring and data collection. Agents are installed on individual devices, such as servers and workstations, to gather essential performance data.

Port Details

Ensure that ports 9444 and 9449 are open on the device that you want to monitor using MotaAgent so that communication can be established between the MotaAgent and the Motadata AIOps server.

Supported OS versions

Windows

OSVersion
Windows Server2012, 2016, 2019
Windows Client OS8,10,11

Linux

OSVersion
CentOS7,8
Ubuntu16,18,20
RHEL7,8

Agent-based monitoring setup

This page describes how to install Motadata AIOps agent into your device to enable agent-based monitoring. The installation package and steps vary based on the operating system of your device as follows:

  • MotaAgent Installation for Windows
  • MotaAgent Installation for Linux

MotaAgent Installation for Windows

Before we get started on the installation steps, let us discuss the prerequisites for the same.

Prerequisites

  • Supported OS: Check if the OS installed on your device is supported by Motadata AIOps for agent-based monitoring.
  • Unique Hostname: The hostname of the device on which you want to install the MotaAgent should be unique. This means:
    • A device with the same hostname should not already be registered for agent-based monitoring.
    • A device with the same hostname should not be discovered in Motadata AIOps for agentless monitoring.
  • Port: Check if port 9449 and port 9444 are open on the device you want to install the MotaAgent.

Download the MotaAgent for Windows

The installation packages for MotaAgent installation in Windows OS are:

  • Installation package for Windows 8 and Windows Server 2012
  • Installation package for Windows 10, Windows Server 2016, Windows Server 2019, and Windows Server 2022

The steps for installing both packages are the same. Let us now discuss the steps in detail.

Installation steps

  1. Download the .exe file for installation of the Windows agent as per your OS version.

  2. Right-click on the Motadata Agent file, then select Run as Administrator.

  3. Select Run to move forward with the installation.

  4. The MotaAgent Setup appears for installation of certain prerequisites. Select Next to move to the next step.

  5. Make sure all the checkboxes are checked and then select Next.

  6. Once the prerequisite installation is complete, the installation moves to the main agent installation in the next step.

  7. The MotaAgent installation wizard now shows up. Select Next to move to the next step.

  8. Specify the path on your device where you want to install the MotaAgent and then select Next.

  9. Specify the IP address of the server where the Motadata AIOps is installed. The values for event.sub.Port and event.pub.Port are setup as 9449 and 9450, respectively by default. Select Next to move to the next step.

  10. Select Install to start the installation process.

  11. The installation process now starts. Kindly wait for the installation to finish. This might take several minutes.

  12. Select Finish to complete the installation process.

  13. The MotaAgent is now successfully registered on the Motadata AIOps server. You can check the same on Settings-> Monitor Settings-> Agent Monitor Settings.

MotaAgent Installation for Linux

Before we get started on the installation steps, let us discuss the prerequisites for the same.

Prerequisites

  • Supported OS: Check if the OS version installed on your device is supported by Motadata AIOps for agent-based monitoring.
  • Unique Hostname: The hostname of the device on which you want to install the MotaAgent should be unique. This means:
    • A device with the same hostname should not already be registered for agent-based monitoring.
    • A device with the same hostname should not be discovered in Motadata AIOps for agentless monitoring.
  • Port: Check if port 9449 and port 9444 are open on the device you want to install the MotaAgent.
  • User Access: The user should have Sudo access to be able to install the MotaAgent.

Download the MotaAgent for Linux

The installation packages for MotaAgent in Linux are:

  • Installation package for Ubuntu : [Download MotaAgent for Ubuntu]
  • Installation package for RHEL/CentOS : [Download MotaAgent for RHEL/CentOS]

The steps for installing both packages are the same. Let us now discuss the steps for the Ubuntu package in detail.

Installation steps

  1. Move the installation package you downloaded to a specific directory in your system.

  2. The installation package MOTADATA-AGENT-UBUNTU.tar.gz is now available in the directory.

  3. Extract the installation package you downloaded using the following command:

    sudo tar -zxvf MOTADATA-AGENT-UBUNTU.tar.gz

    The extraction process will start and run for a few seconds and then you will be able to see the extracted contents as shown below.

  4. Move to the directory where you just extracted the MotaAgent installation package using the following command:

    cd MOTADATA-AGENT

  5. Start installation of the MotaAgent by running the installation script as follows:

    ./motadata-agent-install.sh
  6. Next, the installation will ask you to enter the IP of the Motadata AIOps server. Provide the IP and press Enter.

  7. Next, the installation will ask for Subscriber Port, Publisher Port. They will be set up as 9444 and 9449, respectively by default.

  8. The installation is now complete.

  9. Next, you have to start the MotaAgent Service using the following command:

    sudo service motadata-agent start
  10. Now, check the status of the MotaAgent Service using:

    sudo service motadata-agent status

    You can see the status of the service as shown below.

  11. The MotaAgent is now successfully registered on the Motadata AIOps server. You can check the same on Settings-> Monitor Settings-> Agent Monitor Settings.