Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 26-Oct-2021 | - | 66 | 53 | |
cmake/ | H | 26-Oct-2021 | - | 319 | 284 | |
doc/ | H | 26-Oct-2021 | - | 4 | 2 | |
inc/com/centreon/ | H | 26-Oct-2021 | - | 2,575 | 1,331 | |
script/ | H | 26-Oct-2021 | - | 28 | 25 | |
src/ | H | 03-May-2022 | - | 5,181 | 2,508 | |
test/ | H | 03-May-2022 | - | 8,949 | 4,181 | |
.clang-format | H A D | 26-Oct-2021 | 138 | 4 | 3 | |
.gitignore | H A D | 26-Oct-2021 | 114 | 9 | 8 | |
CHANGELOG.md | H A D | 26-Oct-2021 | 979 | 47 | 27 | |
Jenkinsfile | H A D | 26-Oct-2021 | 3.6 KiB | 125 | 118 | |
LICENSE | H A D | 26-Oct-2021 | 11.1 KiB | 203 | 169 | |
README.md | H A D | 26-Oct-2021 | 4.1 KiB | 123 | 86 | |
SECURITY.md | H A D | 26-Oct-2021 | 4.5 KiB | 97 | 81 | |
cmake.sh | H A D | 26-Oct-2021 | 4.1 KiB | 172 | 155 | |
deps.go | H A D | 26-Oct-2021 | 2.7 KiB | 118 | 104 | |
deps.sh | H A D | 26-Oct-2021 | 246 | 13 | 10 | |
sonar-project.properties | H A D | 26-Oct-2021 | 371 | 14 | 11 |
README.md
1# Centreon Clib 2 3Centreon Clib is an open-source utility library used by some Centreon 4software. It is a low-level component of the 5[Centreon software suite](https://www.centreon.com). 6 7Centreon Clib is released under the General Public License version 2 8and is endorsed by the [Centreon company](https://www.centreon.com). 9 10## Documentation 11 12*Coming soon on https://docs.centreon.com* 13 14## Installing from binaries 15 16> Centreon Clib is a low-level component of the Centreon 17> software suite. If this is your first installation you would probably 18> want to [install it entirely](https://docs.centreon.com/current/en/installation/installation-of-a-central-server/using-sources.html). 19 20Centreon ([the company behind the Centreon software suite](http://www.centreon.com)) 21provides binary packages for RedHat / CentOS. They are available either 22as part of the [Centreon Platform](https://www.centreon.com/en/platform/) 23or as individual packages on [our RPM repository](https://docs.centreon.com/current/en/installation/installation-of-a-poller/using-packages.html). 24 25Once the repository installed a simple command will be needed to install 26Centreon Clib. 27 28```shell 29yum install centreon-clib 30``` 31 32## Fetching sources 33 34Beware that the repository hosts in-development sources and that it 35might not work at all. 36 37Stable releases are available as gziped tarballs on [Centreon's 38download site](https://download.centreon.com). 39 40## Compilation 41 42This paragraph is only a quickstart guide for the compilation of 43Centreon Clib. 44 45### CentOS / Debian / Raspbian 46 47Compilation of these distributions is pretty straightforward. 48 49You'll need to download the project and launch the *cmake.sh* script 50to prepare the compilation environment. 51 52Here are the command lines to launch: 53 54```shell 55git clone https://github.com/centreon/centreon-clib 56cd centreon-clib 57./cmake.sh 58cd build 59make 60make install 61``` 62 63### Other distributions 64 65If you are on another distribution, then follow the steps below. 66 67Check if you have these packages installed (Note that packages names 68come from CentOS distributions, so if some packages names don't match 69on your distribution try to find their equivalent names): git, make, 70cmake. 71 72Once the sources of Centreon Clib extracted, create the *build/* 73directory and from that directory launch the CMake command as proposed below: 74 75```shell 76git clone https://github.com/centreon/centreon-clib 77mkdir -p centreon-clib/build 78cd centreon-clib/build 79cmake -DWITH_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DWITH_PREFIX_LIB=/usr/lib64 -DWITH_TESTING=On .. 80``` 81 82Now launch the compilation using the *make* command and then install the 83software by running *make install* as priviledged user: 84 85```shell 86make 87make install 88``` 89 90You're done! 91 92## Bug reports / Feature requests 93 94The best way to report a bug or to request a feature is to open an issue 95in GitHub's [issue tracker](https://github.com/centreon/centreon-clib/issues/). 96 97Please note that Centreon Clib follows the 98[same workflow as Centreon](https://github.com/centreon/centreon/issues/new/choose) 99to process issues. 100 101For a quick resolution of a bug your message should contain: 102 103- The problem description 104- Precise steps on how to reproduce the issue (if you're using Centreon 105 web UI tell us where you click) 106- The expected behavior 107- The Centreon product**s** version**s** 108- The operating system you're using (name and version) 109- If possible configuration, log and debug files 110 111## Contributing 112 113Contributions are much welcome! If possible provide them as 114pull-requests on GitHub. If not, patches will do but describe against 115which version/commit they apply. 116 117For any question or remark feel free to send a mail to the project 118maintainers: 119 120<a href="https://github.com/bouda1"><img src="https://avatars1.githubusercontent.com/u/6324413?s=400&v=4" title="David Boucher" width="80" height="80"></a> 121<a href="https://github.com/rem31"><img src="https://avatars.githubusercontent.com/u/73845199?s=460&v=4" title="Rémi Gres" width="80" height="80"></a> 122<a href="https://github.com/centreonpm"><img src="https://avatars.githubusercontent.com/u/73105891?s=460&v=4" title="Pierre Margale" width="80" height="80"></a> 123