Install Agent on CentOS 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 CentOS, see Install Agent on Red Hat Enterprise Linux with packages for RHEL.

Installation

The agent works with your native packaging tools. For CentOS 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

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/$releasever/$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/$releasever/$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/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://packages.bleemeo.com/jmxtrans/centos/gpg
EOF

Finally install Bleemeo agent package:

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