This commit adds the build information (Go version, Git commit) and system information (distribution with version) to the output of `icingadb --version`. When exporting the source code using `git archive`, Git will insert the version information using the export-subst attribute (adds both a pretty version string like `git describe` and the commit hash). `go build` also adds some Git commit information to the resulting binary when building from a Git working directory (only the commit hash and a flag if there are uncommitted changes, but no pretty version string). Note that `go build` does not include Git version information in the binary, so when running directly from a Git working directory, commit information won't be available in the binary, but when doing this, you should be well aware which version you're running anyways. System information is obtained from the `os-release` file. |
||
|---|---|---|
| .github | ||
| cmd/icingadb | ||
| doc | ||
| internal | ||
| pkg | ||
| schema | ||
| tests | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| AUTHORS | ||
| CHANGELOG.md | ||
| config.yml.example | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| RELEASE.md | ||
Icinga DB
Table of Contents
About
Icinga DB serves as a synchronisation daemon between Icinga 2 (Redis) and Icinga Web 2 (MySQL/MariaDB/PostgreSQL database). It synchronises configuration, state and history of an Icinga 2 environment using checksums.
Icinga DB also supports reading from multiple environments and writing into a single database.
License
Icinga DB and the Icinga DB documentation are licensed under the terms of the GNU General Public License Version 2, you will find a copy of this license in the LICENSE file included in the source package.
Installation
For installing Icinga DB please check the installation chapter in the documentation.
Documentation
The documentation is located in the doc/ directory and also available on icinga.com/docs.
Support
Check the project website for status updates. Join the community channels for questions or ask an Icinga partner for professional support.
Contributing
There are many ways to contribute to Icinga -- whether it be sending patches, testing, reporting bugs, or reviewing and updating the documentation. Every contribution is appreciated!
Please continue reading in the contributing chapter.
