Skip to content

Latest commit

 

History

History
174 lines (125 loc) · 6.06 KB

README.md

File metadata and controls

174 lines (125 loc) · 6.06 KB

Centreon Broker

Centreon Broker is an extensible open-source monitoring event transmitter (broker). It is a low-level component of the Centreon software suite.

Centreon Broker is released under the Apache License, Version 2.0 and is endorsed by the Centreon company.

Centreon Broker is the communication backbone of the Centreon software suite so most events are processed by one or more of its module. Centreon Broker has multiple modules that perform specific tasks. The list below describes the most common of them.

  • SQL: store real-time monitoring events in a SQL database
  • storage: parse and store performance data in a SQL database
  • RRD: write RRD graph files from monitoring performance data
  • BAM: compute Business Activity status and availability
  • Graphite: write monitoring performance data to Graphite
  • InfluxDB: write monitoring performance data to InfluxDB

Centreon Broker is extremely fast and is a credible alternative to the old NDOutils. It is also extremly modular and can fit most network security requirements. Just give it a try!

Documentation

Coming soon on https://docs.centreon.com

Installing from binaries

Centreon Broker is a low-level component of the Centreon software suite. If this is your first installation you would probably want to install it entirely.

Centreon (the company behind the Centreon software suite) provides binary packages for RedHat / CentOS. They are available either as part of the Centreon Platform or as individual packages on our RPM repository.

Once the repository installed a simple command will be needed to install Centreon Broker.

yum install centreon-broker

Fetching sources

Beware that the repository hosts in-development sources and that it might not work at all.

Stable releases are available as gziped tarballs on Centreon's download site.

Compilation

This paragraph is only a quickstart guide for the compilation of Centreon Broker.

CentOS / Debian / Raspbian

Compilation of these distributions is pretty straightforward.

You'll need to download the project and launch the cmake.sh script to prepare the compilation environment:

git clone https://github.com/centreon/centreon-broker
cd centreon-broker
./cmake.sh

Now launch the compilation using the make command and then install the software by running make install as priviledged user:

cd build
make
make install

Other distributions

If you are on another distribution, then follow the steps below.

Check if you have these packages installed (Note that packages names come from CentOS distributions, so if some packages names don't match on your distribution try to find their equivalent names): git, make, cmake, gcc-c++, python3, libgnutls-devel, liblua-devel, librrd-devel.

For the projet compilation you need to have conan installed. Try to use the package manager given by your OS to install conan. ('apt' for Debian, 'rpm' for Red Hat, 'pacman' for Arch Linux, ...). It is prefered to install gcc before conan.

Example :

apt install conan

If it does not work, conan can be installed with pip3:

pip3 install conan

All the dependencies pulled by conan are located in conanfile.txt. If you want to use a dependency from your package manager instead of conan, you need to remove it from conanfile.txt.

You can now prepare the compilation environment:

git clone https://github.com/centreon/centreon-broker
mkdir -p centreon-broker/build
cd centreon-broker/build
conan install --build missing ..
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_PREFIX=/usr -DWITH_PREFIX_BIN=/usr/sbin -DWITH_USER=centreon-broker -DWITH_GROUP=centreon-broker -DWITH_CONFIG_PREFIX=/etc/centreon-broker -DWITH_TESTING=On -DWITH_PREFIX_MODULES=/usr/share/centreon/lib/centreon-broker -DWITH_PREFIX_CONF=/etc/centreon-broker -DWITH_PREFIX_LIB=/usr/lib64/nagios ..

This will look for required dependencies and print a summary of the compilation parameters if everything went fine.

Now launch the compilation using the make command and then install the software by running make install as priviledged user:

make
make install

Normally if all compiles, you have finished installing broker. But if you want, you can also check it. Always from the build directory you can execute this command:

test/ut

You're done!

Bug reports / Feature requests

The best way to report a bug or to request a feature is to open an issue in GitHub's issue tracker.

Please note that Centreon Broker follows the same workflow as Centreon to process issues.

For a quick resolution of a bug your message should contain:

  • The problem description
  • Precise steps on how to reproduce the issue (if you're using Centreon web UI tell us where you click)
  • The expected behavior
  • The Centreon products versions
  • The operating system you're using (name and version)
  • If possible configuration, log and debug files

Contributing

Contributions are much welcome! If possible provide them as pull-requests on GitHub. If not, patches will do but describe against which version/commit they apply.

For any question or remark feel free to send a mail to the project maintainers: