• How to create a Linux Data Collector

    How to create a Linux Data Collector

    1. In a ControlUp Console, in the Home ribbon bar, select Linux Data Collector. The Linux Data Collector window opens in Add mode.

    1.png

    Note: Alternatively, you can open this window from the Organization Tree. To do so, from the context menu of the organization or, if other LDCs already exist in your organization, from the Linux Data Collectors container object, select Add > Linux Data Collector.

    2.png

    1. Under Name, enter a name for the LDC.

    3.png

    Note: The name must be unique; multiple LDCs in a single organization cannot have the same name.

    1. Under Credentials for Data Collector, open the dropdown list and select the credentials the LDC should use to connect to each of the Linux computers that will be assigned to it. All Linux computers you assign to this LDC must be accessible using the credentials you selected.

    4.png

    Note: These credentials will only be used for monitoring; privileged credentials are not required.

    1. If you want to assign computers to the LDC at this time, under Computers, select Add. The Add Computers window opens. For information about using this window to assign computers to the LDC, see Assigning Linux Computers to a Linux Data Collector.

    5.png

    Note: It is not necessary to add computers to the LDC at this point. You can do so later, as necessary.

    5. Select OK. The LDC is created and appears in the Organization Tree under the Linux Data Collectors folder. If no other LDCs existed at the time this LDC was created, the Linux Data Collectors folder is created at the same time.

  • Adding Linux Computers to a Linux Data Collector

    Linux computers can be added to a Linux Data Collector (LDC) when the LDC is created or at any time afterward. For details, see How to create a Linux Data Collector. They can be added:

    • individually by IP address
    • as a group from a range of IP addresses
    • as a group from a list in a text file

    Linux machines are recognized by their IP address and their domain names. When you enter the IP address, the machine must be able to successfully pass a reverse lookup to resolve the domain name. Both the machine on which the ControlUp console is installed and the machine assigned as the Linux Data Collector must be able to resolve the reverse DNS lookup. The most efficient way to do this is to ensure that there is a DNS server that can return the domain name value based on the IP address entered.

    Note: A workaround to having a reverse DNS resolution is to edit the %windir%\System32\drivers\etc\hosts file on both the ControlUp Console server machine and the Linux Data Collector machine. 

     

    If you want to add Linux computers using a list in a text file, the file can include either the hostname, IP address, or FQDN of each computer. Separate computers in the list with line breaks, commas (,), semi-colons (;), or colons (:). E.g:
    22.png

    To add Linux computers to an LDC:

    1. In the Home ribbon bar, select Add Computers. The Add Computers window opens with the Search Active Directory tab selected.
    2. Open the By IP address tab
    3. Select the Linux Data Collector machine that you want to add the computers to.
      12.png

    4. The Ping Timeout and Connection Timeout values control how long the system waits for a response from each Linux computer during computer discovery and SSH connections. By default, the timeouts are 200ms for Ping and 1,000ms for connections. To modify these values, in the Connection Settings area, in the Ping Timeout and Connection Timeout fields, change the values as required.
    4.png

    Note: If the Ping Timeout and Connection Timeout fields are not visible, to the right of the Connection Settings field, select the arrow to drop the menu down.

    5. Once you configure the IP range & other settings, select Scan and wait for the machines to be discovered and checked. During this entire process, a progress bar appears below the table (#2 below). When the process is completed, the progress bar disappears.

    The system lists all of the computers in the table. It then launches a discovery process for each of the computers in the list, and, for those it detects, attempts to connect via SSH, using the specified credentials. During this process, color-coded icons, indicating the connection status of each computer in the list, appear in the left column (#1 in the illustration below). If the system succeeds in connecting to a computer Done appears in the Description column.
    2019-05-01_15-02-05.png
    2019-05-01_10-37-24.png

    The Linux Data Collector begins installing the required RPMs on the selected machines. When the installation process is complete, the Linux computers are attached to the Linux Data Collector. In addition, they are added to the list of managed computers at the bottom of the organization tree.

  • Linux Integration with ControlUp

    Summary

    Starting with ControlUp v7.3 we support adding Linux machines into your organization and monitor them via the Console & Monitor.
    We're utilizing the connection to Linux machines via SSH (port 22) to gather information about the computer, processes and logical disks.
    If you have a CU data collector in place, we'll use port 40705 to get to the CU data collector and from there, the data collector will use port 22 to get to the Linux machines via SSH. Having a data collector will improve the performance on the Console & Monitor.

    The supported OS's are:

    • RHEL 6.x, 7.x
    • CentOs 6.x, 7.x

    Prerequisites

    • Before you begin the process of adding a Linux machine to a Linux Data Collector (LDC) for monitoring, the redhat‑lsb‑core package must be installed on the Linux machine.
    • Monitoring can only take place if the following RPMs are installed on the monitored Linux computer:

      EPEL repository

      wget

      bc

      sed

      gawk

      coreutils

      sysstat

      net-tools

      util-linux

      procps

    You can install these packages yourself on a Linux computer before you assign it to an LDC, or ControlUp can install them for you during the process of adding the Linux computer to an LDC.

    If you choose to let ControlUp install them, the credentials you provide for adding the computer to the LDC must have a sudo user role. In addition, the !requiretty property must be included in the /etc/sudoers file, either globally for the computer or individually for the user account that is used for adding the computer to the LDC.

    The following articles will assist you in creating a Linux data collector & adding machines to it -

    1. How to create a Linux Data Collector.
    2. Adding & assigning Linux Computers to a Linux Data Collector.