Install Agent on Red Hat Enterprise Linux with packages

We recommend installing agent using standard method. If you use Docker, you can use Docker method. This page details step done by the shell script of standard method. If none of those methods fit your needs, see manual method.

Before installing Bleemeo agent, please check that you meet the system requirements.

This page describe installation on RHEL, see Install Agent on CentOS with packages for CentOS.

Installation

The agent works with your native packaging tools. For RHEL the agent uses rpm packages.

Our agent will need your credentials, get them from Bleemeo panel and add them to /etc/bleemeo/agent.conf.d/30-install.conf:

$ sudo mkdir -p /etc/bleemeo/agent.conf.d
$ sudo tee /etc/bleemeo/agent.conf.d/30-install.conf << EOF
bleemeo:
    account_id: YOUR_ACCOUNT_ID
    registration_key: YOUR_REGISTRATION_KEY
EOF
$ sudo chmod 640 /etc/bleemeo/agent.conf.d/30-install.conf

You will need to install EPEL repository and enable optional and extras repositories. See https://fedoraproject.org/wiki/EPEL for more details. In short run the following:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"

Add our repository for your distribution:

$ sudo tee /etc/yum.repos.d/bleemeo.repo << "EOF"
[bleemeo-agent-repo]
name=Bleemeo Agent Repository
baseurl=https://packages.bleemeo.com/bleemeo-agent/centos/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://packages.bleemeo.com/bleemeo-agent/centos/gpg

[bleemeo-telegraf-repo]
name=Bleemeo Telegraf Repository
baseurl=https://packages.bleemeo.com/telegraf/centos/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://packages.bleemeo.com/telegraf/centos/gpg

[bleemeo-jmxtrans-repo]
name=Bleemeo jmxtrans Repository
baseurl=https://packages.bleemeo.com/jmxtrans/centos/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://packages.bleemeo.com/jmxtrans/centos/gpg
EOF

Note

In the above code, make sure to change “7” with your current RHEL version. You can see the version from the file /etc/redhat-release or /etc/os-release.

Finally install Bleemeo agent package:

$ sudo yum -y install bleemeo-agent bleemeo-agent-telegraf