• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H26-Oct-2021-6653

cmake/H26-Oct-2021-319284

doc/H26-Oct-2021-42

inc/com/centreon/H26-Oct-2021-2,5751,331

script/H26-Oct-2021-2825

src/H03-May-2022-5,1812,508

test/H03-May-2022-8,9494,181

.clang-formatH A D26-Oct-2021138 43

.gitignoreH A D26-Oct-2021114 98

CHANGELOG.mdH A D26-Oct-2021979 4727

JenkinsfileH A D26-Oct-20213.6 KiB125118

LICENSEH A D26-Oct-202111.1 KiB203169

README.mdH A D26-Oct-20214.1 KiB12386

SECURITY.mdH A D26-Oct-20214.5 KiB9781

cmake.shH A D26-Oct-20214.1 KiB172155

deps.goH A D26-Oct-20212.7 KiB118104

deps.shH A D26-Oct-2021246 1310

sonar-project.propertiesH A D26-Oct-2021371 1411

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> &nbsp;
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> &nbsp;
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> &nbsp;
123