Data collection components’ source code is now centralized in https://github.com/centreon/centreon-collect/.
How it was before?
For major releases until 21.04, source code has been (and is still) hosted in 4 distinct repos:
- https://github.com/centreon/centreon-engine: the monitoring engine
- https://github.com/centreon/centreon-broker: the broker component, which handles the communication
- https://github.com/centreon/centreon-connectors: optimizations for Centreon’s Perl plugins and checks performed via SSH.
- https://github.com/centreon/centreon-clib: common libraries for the above components
What was wrong with that?
Building the binaries manually from the source was quite tedious since the four repositories had to be cloned, and then compiled in the right order: clib needed to be compiled and installed first.
In our continuous delivery chain, this resulted in the necessity to rebuild new containers with every new version of centreon-clib.
How it is now?
Starting with major release 21.10, all the source code is centralized in https://github.com/centreon/centreon-collect/, each former repository being stored in a separate directory.
What does it change for you?
- Issues: for major releases until 21.04, it changes nothing. Issues can be filed in the former repositories, but issues for version >=21.10 must be filed in centreon-collect.
- Compilation from the sources: this is the best part! To compile and the last stable version of the 21.10 version of our Collect components, you just need to run these commands:
git clone https://github.com/centreon/centreon-collect -b 21.10.x
cd centreon-collect
./cmake.sh -DWITH_TESTING=0 --release
cd build
make
make install
Bonus: it should even work on some non-x86 architectures such as ARM (we regularly check that it works on RaspberryPi devices).