13157 Commits

Author SHA1 Message Date
Alexander A. Klimov
117ae78755 Windows: bump OpenSSL v1.1 (soon EOL) -> v3.0 2023-07-03 17:43:17 +02:00
Alexander A. Klimov
02ed374ae0 Bump Boost shipped for Windows to v1.82 2023-07-03 17:43:17 +02:00
Alexander A. Klimov
3f395d703b Doc: dev: Windows: move "-DICINGA2_UNITY_BUILD=OFF"
to avoid merge conflicts due to Boost updates in the long run.
2023-07-03 17:41:45 +02:00
Alexander A. Klimov
b3d90f5418 Update third-party/nlohmann_json to v3.9.1
the latest version w/o Apache 2.0 licensed code which conflicts with GPL 2.
2023-07-03 17:40:53 +02:00
Alexander A. Klimov
76f5e400e1 Merge commit '499abec7791e6cdcac3e4920cba354f0422506ce' into 2.13.8/vendor 2023-07-03 17:20:34 +02:00
Alexander A. Klimov
499abec779 Squashed 'third-party/utf8cpp/' changes from 82344d605..79835a5fa
79835a5fa Remove -Wsign-conversion from test builds.
53398ca70 Restructure tests.
e3e57c811 Fix for issue #92: Clang 10 Compiler warnings
d736c29d3 Fix -Wconversion warnings in tests when -funsigned-char option is used.
780bd57d6 Merge pull request #96 from Finkman/provide-ns-on-installed
73b347f31 Adds the following advantages:  - utf8::cpp is available, even when installed  - cmake is aware of the library version  - compatible with previous usage: target utf8cpp available when installed
3ca904b21 Version 3.2.2
aa3b12c52 Added a couple of statis_casts to eliminate signed conversion warnings.
ee90a4a52 Added compiler options to enable warnings.
d8b92208f Merge pull request #87 from cschreib/patch-1
a92f85526 Add missing export() command
b85efd66a Test string literals
4e1149766 Merge pull request #80 from RT222/master
ec6747005 Fix the inclusion of both cpp11 and cpp17 headers on C++17 compilation
ddd38b304 Version 3.2
2af93bd67 Documentation: C++ 17 support.
b6cd18f92 test_utf32to8 tests string_view, not string
0991356b7 find_invalid(string_view) returns string_view::npos, not string::npos
4bed367c1 Update test docker image
a7d530de5 C++ 17 support: add tests, remove duplicate utf8::append()
50361edbf Merge pull request #77 from RT222/master
fe79d14ae Switching from gtest to ftest for unit-testing.
7d17aed95 Merge pull request #79 from fu7mu4/it-is-code
957e30052 Does it have syntax hilight
d40e4948f Support for C++17
e39907b38 Version 3.1.2
3c85cd48f Add prefix to NOEXCEPT and OVERRIDE macros.
944ef0561 Merge pull request #55 from Flamefire/disable_tests_for_subproject
dc2442c2e Merge pull request #61 from xenia-project/master
2b1521b48 Fix deprecated std::iterator usage (STL4015).
bee3b1349 Enable tests, docu, install only when building as root project
c3f9261eb Merge pull request #51 from AkiraMiyakoda/msvc_warning
7fb121130 Fix an MSVC warning about narrowing conversion.
170e2d11f Merge pull request #44 from tvanriper/patch-1
32ccbfb74 Removed utf8 path from #include.
2370b95a8 Compile negative test with C++ 98
89cfc3e38 Replace throw() with noexcept when using C++11 or later
687a59d88 Add override keyword when compiled with C++11 or later
f26d39e8a Move C++ version detection to core.h
b1002fd19 Introduce UTF_CPP_CPLUSPLUS macro.
088dd3ad7 Merge pull request #40 from xantares/patch-1
afc32b4c0 Always use GNU install layout except MSVC
82c674b7a Version 3.1
33516ff07 Test -fno-exceptions with unchecked api
f16bdde67 Merge pull request #37 from nemtrif/unchecked_replace_invalid
c52319302 unchecked::replace_invalid()
a3fa4ee84 Merge pull request #36 from nemtrif/gtesturl
8fd51836a Submodule url for googletest is https
ad27c7d5e Merge pull request #33 from nemtrif/optionalinstall
293f85d97 Installation is optional
a540297fd Version 3.0.3
04d29d92a Add inline declarations to non-template functions in cpp11.h
741259277 Merge pull request #30 from nemtrif/ci
335a3ee6a Update docker to 3.0.1
d5e847d0a Update project version
e6da1a36a Set up CircleCI
0b45681b6 Add Dockerfile
66804081d Introduce GTest
a0a2d9d1e Fix for the cpp11.h header guard
7db72814a Merge pull request #24 from nemtrif/release_3_0
007f8e32c advance() can work in backward direction.
92158c9ce Minor whitespace fixes
236d61942 Update documentation for replace_invalid
d8b09b301 Merge pull request #21 from glebm/fix-remove-invalid
3793703e7 Remove unused test data
080f1e6a3 Remove utf8reader sample
00d73e4a0 Remove deprecated functions
2b8596149 Support for C++11
f637e70c1 Merge pull request #22 from AkiraMiyakoda/fix-msvc2019-warning
cfc351c86 Fix MSVC 2017-2019 warning about negative unsigned value.
026aed63d replace_invalid: Replace final incomplete sequence

git-subtree-dir: third-party/utf8cpp
git-subtree-split: 79835a5fa57271f07a90ed36123e30ae9741178e
2023-07-03 17:20:34 +02:00
Alexander Aleksandrovič Klimov
02ddb4badc
Merge pull request #9692 from Icinga/changelog-2.13.7
Icinga 2.13.7
v2.13.7
2023-02-16 17:00:15 +01:00
Alexander Aleksandrovič Klimov
687634a890
Merge pull request #9697 from Icinga/probot/update-authors/support/2.13/2b8621bb4efda9f915066e76201378d2000cf8e8
Update AUTHORS
2023-02-16 16:58:34 +01:00
icinga-probot[bot]
3d22901cbf
Update AUTHORS 2023-02-16 15:56:35 +00:00
Alexander Aleksandrovič Klimov
2b8621bb4e
Merge pull request #9690 from Icinga/selinux-2.13.7
Add role icinga2adm_r to SELinux policies
2023-02-16 16:56:23 +01:00
Alexander Aleksandrovič Klimov
d28ed879de
Merge pull request #9696 from Icinga/mailmap-2.13.7
Update .mailmap
2023-02-16 16:39:01 +01:00
Julian Brost
a00d629444 Update .mailmap 2023-02-16 16:29:58 +01:00
Alexander Aleksandrovič Klimov
c0bd0936f9
Merge pull request #9682 from Icinga/9631-213
Setup all signal handlers with SA_RESTART flag
2023-02-16 16:24:26 +01:00
Alexander Aleksandrovič Klimov
fe2fed4817
Merge pull request #9680 from Icinga/9488-213
Fix compile error on Solaris 11.4
2023-02-16 16:24:05 +01:00
Alexander Aleksandrovič Klimov
6dfc21f9bd
Merge pull request #9678 from Icinga/181b213
Bump Boost to v1.81
2023-02-16 16:23:50 +01:00
Alexander Aleksandrovič Klimov
2bebb92b35
Merge pull request #9671 from Icinga/docs213
Backport docs
2023-02-16 16:23:21 +01:00
Henrik Triem
b527af49c6 Reword Changelog for SELinux Issue 2023-02-16 15:43:16 +01:00
Alexander A. Klimov
ce5288ef79 Icinga 2.13.7
* Update CHANGELOG.md (WIP)
* Bump ICINGA2_VERSION
2023-02-16 15:43:16 +01:00
Henrik Triem
a81e4fab00 Add icinga2adm_r role def before creating SELinux user&domain 2023-02-16 12:22:52 +01:00
Alexander Aleksandrovič Klimov
ee0af27a82
Merge pull request #9681 from Icinga/flush-temp-files-213
Deduplicate and stabilize fragile filesystem transactions
2023-02-15 20:51:41 +01:00
Eric Lippmann
ee8d32432e docs: Add missing "Install Icinga 2 on Fedora" heading 2023-02-15 17:23:41 +01:00
Alexander A. Klimov
9ea9b10014 Include Utility::SetFileOwnership() inside FS transactions
to make them even more atomic.
2023-02-15 17:20:37 +01:00
Alexander A. Klimov
d2e3a094c1 Introduce AtomicFile#GetTempFilename() 2023-02-15 17:20:35 +01:00
Alexander A. Klimov
69b3c81ea1 Remove unused Utility::CreateTempFile() 2023-02-15 17:20:02 +01:00
Alexander A. Klimov
34844c146d Deduplicate and stabilize fragile filesystem transactions
by using AtomicFile so they ensure all or nothing of a file gets replaced.
2023-02-15 17:19:57 +01:00
Alexander Aleksandrovič Klimov
58c4ba4177
Merge pull request #9679 from Icinga/9596-213
CheckerComponent#CheckThreadProc(): also propagate next check update …
2023-02-15 16:32:21 +01:00
Alexander A. Klimov
f0c1764adc Introduce AtomicFile::Write() 2023-02-15 16:25:39 +01:00
Eric Lippmann
7821a123b4 docs: Fix how to set up our Fedora repository
We do not provide `icinga-rpm-release` RPMs since ages.
2023-02-15 15:57:50 +01:00
Alexander Aleksandrovič Klimov
ed9f0dc2cb
Merge pull request #9672 from Icinga/v1.1.1t213
Windows: bump OpenSSL to v1.1.1t
2023-02-15 13:23:39 +01:00
Alexander Aleksandrovič Klimov
ba12f348c7
Merge pull request #9668 from Icinga/gha2137
Update GHA
2023-02-15 11:13:16 +01:00
Alexander A. Klimov
a497645127 Setup all signal handlers with SA_RESTART flag
so interrupted syscalls get auto-restarted and callers
don't get or have to handle the EINTR error.
2023-02-15 11:08:29 +01:00
Alexander A. Klimov
a1bda3300e Fix compile error on Solaris 11.4
by not using LOG_FTP which is not defined there.
2023-02-15 10:48:05 +01:00
Alexander A. Klimov
41c97d65b7 CheckerComponent#CheckThreadProc(): also propagate next check update to Icinga DB
if caused by dependency or check period.

Now as long as any of the above causes check skips
next check and next update will be up-to-date in Icinga DB,
so the checkable won't slide into false positive overdue.
2023-02-15 10:46:08 +01:00
Alexander A. Klimov
2fbb4f9575 Bump Boost to v1.81 2023-02-15 10:41:31 +01:00
Alexander A. Klimov
f84ffdad68 Handle boost::beast::http::basic_fields#operator[]() signature change (v1.81)
Use always working std::string(x), not broken x.to_string().
(x is a return value.)
2023-02-15 10:41:31 +01:00
Alexander A. Klimov
68198f2ef9 Handle boost::beast::http::basic_fields#set() signature change (v1.81)
Make String convertible to boost::beast::string_view (always working),
not boost::string_view (broken).
2023-02-15 10:41:31 +01:00
Alexander A. Klimov
27d46a4e5a Windows: bump OpenSSL to v1.1.1t 2023-02-14 13:11:49 +01:00
Alexander Aleksandrovič Klimov
d919fde6db Docs: Windows Dev Environment: TL;DR: disable unity build
This enables the individual C++ files, not just unity ones, in VS project tree.
2023-02-14 12:48:25 +01:00
Alexander Aleksandrovič Klimov
c487bfbb48 Doc: SUSE: install monitoring-plugins-all w/ --recommends
so it does something useful.
2023-02-14 12:48:13 +01:00
Alexander Aleksandrovič Klimov
d8b7f02206 Doc: SUSE: install monitoring-plugins-all
not just monitoring-plugins, as in the other distros.
2023-02-14 12:48:05 +01:00
Alexander Aleksandrovič Klimov
255871d67c Typo 2023-02-14 12:47:50 +01:00
Alexander Aleksandrovič Klimov
5a3515676f Typos 2023-02-14 12:47:38 +01:00
Jaap Marcus
825c7cdf38 Replace apt-key add with gpg --dearmor (#9462)
* Replace apt-key add with gpg --dearmor

And follow the instructions as 

https://packages.icinga.com/ubuntu / debian / rasbian

* Remove extra space
2023-02-14 12:47:21 +01:00
Yonas Habteab
f903e3aa12 Doc: Enhance Zones in Zones troubleshooting 2023-02-14 12:47:02 +01:00
Alexander Aleksandrovič Klimov
54663332e5 Doc: Windows Dev Environment: correct reboot requirement
Building icinga2.sln via Visual Studio doesn't require compilation via MSBuild.exe.
2023-02-14 12:46:47 +01:00
Dominik Riva
25f5612a55 Update 03-monitoring-basics.md
Fix misleading statement:

```
  types = [ Acknowledgement, Recovery ]
```
right after a Notification config block will not help as this will only work on a `User` object.
2023-02-14 12:37:35 +01:00
Feu Mourek
28eb04868a Add documentation about Icinga 2 use cases
Added examples about different kind of use cases that will help users get a better picture of Icinga.
2023-02-14 12:37:21 +01:00
Yonas Habteab
ef1d80457a Doc: Enhance notification end time docs 2023-02-14 12:37:08 +01:00
stevie-sy
9c8a400ae9 Update 09-object-types.md (#7953)
* Update 09-object-types.md

Because in this document it is not clear which units are allowed for DB Cleanup, I asked in the Community for it: https://community.icinga.com/t/db-ido-cleanup-possible-units/3854/2. We came to the conclusion that it would help if there is a notice which units are possible/allowed for this. For better finding I wrote  also a link to the language reference.

* Update 09-object-types.md

changed to the proposed "language reference"

* Update 09-object-types.md

Done. Sorry overlooked

* Update 09-object-types.md

accidentally inserted return undone . Hope now fits 😃

* Update 09-object-types.md

Requested Changes don

* Update 09-object-types.md

changed link to duration-literals
2023-02-14 12:36:54 +01:00
RincewindsHat
7b66397dc8 Update sar-perf origin 2023-02-14 12:36:22 +01:00