Installation

MetricsHub Community and MetricsHub Enterprise support Red Hat/CentOS v8.

MetricsHub Enterprise

Install MetricsHub Enterprise

To install MetricsHub Enterprise on Red Hat Linux:

  1. Download from MetricsHub's Web site[1] the package corresponding to your system architecture:

    • metricshub-enterprise-3.9.00-1.x86_64.rpm (for x86_64 (amd64) systems)
    • metricshub-enterprise-3.9.00-1.aarch64.rpm (for aarch64 (arm64) systems)
  2. Copy the package into /usr/local

  3. Run the following rpm command:

    For x86_64 systems:

    cd /usr/local
    sudo rpm -i metricshub-enterprise-3.9.00-1.x86_64.rpm
    

    For aarch64 systems:

    cd /usr/local
    sudo rpm -i metricshub-enterprise-3.9.00-1.aarch64.rpm
    

When complete, the MetricsHub Enterprise's files are deployed in /opt/metricshub and the MetricsHub Enterprise Agent is started as a service.

You can now configure the resources to be monitored[2] and where to send the collected data[3].

Start / Stop MetricsHub Enterprise

Run the following command:

  • to start MetricsHub Enterprise:

    systemctl start metricshub-enterprise-service
    
  • to stop MetricsHub Enterprise:

    systemctl stop metricshub-enterprise-service
    

You can start MetricsHub in an interactive terminal with an alternate MetricsHub Agent's configuration file with the command below:

   cd /opt/metricshub/bin
   ./enterprise-service --config=<PATH>

Example:

cd /opt/metricshub/bin
./enterprise-service --config=config/my-metricshub-config.yaml

Uninstall MetricsHub Enterprise

To uninstall MetricsHub Enterprise, run the following command:

For x86_64 systems:

sudo rpm -e metricshub-3.9.00-1.x86_64

For aarch64 systems:

sudo rpm -e metricshub-3.9.00-1.aarch64

Upgrade MetricsHub Enterprise

To upgrade to the latest version:

  1. Download from MetricsHub's Web site[1] the package corresponding to your system architecture:

    • metricshub-enterprise-3.9.00-1.x86_64.rpm (for x86_64 (amd64) systems)
    • metricshub-enterprise-3.9.00-1.aarch64.rpm (for aarch64 (arm64) systems)
  2. Copy the package into /usr/local

  3. Run the following command to stop MetricsHub Enterprise:

    systemctl stop metricshub-enterprise-service
    
  4. Run the following rpm command:

    For x86_64 systems:

    cd /usr/local
    sudo rpm -U metricshub-enterprise-3.9.00-1.x86_64.rpm
    

    For aarch64 systems:

    cd /usr/local
    sudo rpm -U metricshub-enterprise-3.9.00-1.aarch64.rpm
    

MetricsHub Community

Install MetricsHub Community

To install MetricsHub Community, you can either:

  • run the official installation script (recommended)
  • or download and manually install the metricshub-community-3.9.00-{arch}.rpm package

Automatic Install (Recommended)

First, run the following command to install MetricsHub Community:

curl -fsSL https://get.metricshub.com | bash

Then, run the following command to ensure that the product has been successfully installed:

$HOME/metricshub/bin/metricshub --version

Manual Install

To manually install MetricsHub Community:

  1. From MetricsHub's Web site[1], download the appropriate RPM package for your system architecture:

    • For x86_64 (amd64) systems: metricshub-community-3.9.00-1.x86_64.rpm
    • For aarch64 (arm64) systems: metricshub-community-3.9.00-1.aarch64.rpm
  2. Copy the package into /usr/local

  3. Run the following rpm command:

    For amd64 systems:

    cd /usr/local
    sudo rpm -i metricshub-community-3.9.00-1.x86_64.rpm
    

    For arm64 systems:

    cd /usr/local
    sudo rpm -i metricshub-community-3.9.00-1.aarch64.rpm
    

When complete, the MetricsHub Community's files are deployed in /opt/metricshub and the MetricsHub Community Agent is started as a service.

You can now configure the resources to be monitored[2] and the OTLP exporter[4].

Start / Stop MetricsHub Community

Run the following command:

  • to start MetricsHub Community:
systemctl start metricshub-community-service
  • to stop MetricsHub Community:
systemctl stop metricshub-community-service

Uninstall MetricsHub Community

To uninstall MetricsHub Community, run the following command:

For x86_64 systems:

sudo rpm -e metricshub-3.9.00-1.x86_64

For aarch64 systems:

sudo rpm -e metricshub-3.9.00-1.aarch64

Upgrade MetricsHub Community

To upgrade to the latest version:

  1. From MetricsHub's Web site[1], download the package corresponding to your system architecture:

    • metricshub-community-3.9.00-1.x86_64.rpm (for x86_64 (amd64) systems)
    • metricshub-community-3.9.00-1.aarch64.rpm (for aarch64 (arm64) systems)
  2. Copy the package into /usr/local

  3. Run the following command to stop MetricsHub Community:

    systemctl stop metricshub-community-service
    
  4. Run the following rpm command:

    For amd64 systems:

    cd /usr/local
    sudo rpm -U metricshub-community-3.9.00-1.x86_64.rpm
    

    For arm64 systems:

    cd /usr/local
    sudo rpm -U metricshub-community-3.9.00-1.aarch64.rpm
    
No results.