12111 Commits

Author SHA1 Message Date
Alexander A. Klimov
38f3108c1a ApiListener::HandleConfigUpdate(): make the whole process mutually exclusive
refs #7742
2020-03-23 17:33:14 +01:00
Alexander A. Klimov
dc3062a9b0 ApiListener::ConfigUpdateHandler(): block as less as possible
refs #7742
2020-03-23 17:31:59 +01:00
Alexander A. Klimov
210acfbf1d Livestatus: append app name to program_version
refs #7895
2020-03-19 10:33:01 +01:00
Alexander A. Klimov
db400b3f19 etc/icinga2/scripts/*.sh: explicitly specify shell 2020-03-18 12:30:33 +01:00
Alexander A. Klimov
5e7a675009 JsonRpcConnection#HandleAndWriteHeartbeats(): check !!#m_Endpoint 2020-03-18 11:58:27 +01:00
Jochen Friedrich
83977c5754 Add parameters needed for PKI usage.
To use PKI with nrpe, a CA must be specified and anonymous DH must be disabled.
If client certificates are enforced by nrped, additionally a private cert and key
must be specified. This patch adds all these parameters as well TLS configuration
options to limit the TLS version and crypto parameters:

nrpe_ca          - The CA file to use for PKI. Defaults to none.
nrpe_cert        - The client cert file to use for PKI. Defaults to none.
nrpe_key         - The client key file to use for PKI. Defaults to none.
nrpe_ssl_version - The SSL/TLS version to use. Defaults to TLSv1+.
nrpe_cipher_list - The list of SSL ciphers to use. Default depends on check_nrpe version.
nrpe_dh_opt      - Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force.
                   Default depends on check_nrpe version.
2020-03-16 13:49:57 +01:00
Noah Hilverling
71cefb9ea4 Release version 2.12.0-rc1 v2.12.0-rc1 2020-03-13 14:09:52 +01:00
Noah Hilverling
dd7fe150d2
Merge pull request #7908 from Icinga/feature/sort-mailmap
Sort .mailmap
2020-03-13 13:45:13 +01:00
Noah Hilverling
d073d62b03
Merge pull request #7913 from Icinga/feature/icingadb-docs
Docs: Icinga DB installation
2020-03-13 10:03:12 +01:00
Noah Hilverling
18c9d91f0c Docs: Add Icinga DB installation 2020-03-13 10:00:52 +01:00
Noah Hilverling
7ed690610f
Merge pull request #7911 from Icinga/feature/authors-sort-ci
Sort AUTHORS case-insensitively
2020-03-12 15:22:54 +01:00
Alexander A. Klimov
0339993887 Sort AUTHORS case-insensitively 2020-03-12 14:16:29 +01:00
Alexander A. Klimov
cd0957a876 Sort .mailmap
sort -fuo .mailmap .mailmap
2020-03-12 14:05:29 +01:00
Noah Hilverling
1c9cab6add
Merge pull request #7906 from Icinga/feature/icingadb-flapping-history-percent-state-change-start_end
Icinga DB - Flapping history: Add percent_state_change_start/end
2020-03-10 16:40:18 +01:00
Noah Hilverling
595ffc438e Icinga DB - Flapping history: Add percent_state_change_start/end 2020-03-10 14:44:08 +01:00
Sven Nierlein
0ea6e677b6 fix boost library order
When statically compiling icinga2 with a local boost the order of the boost libraries matters.
Correcting the order fixes the following linker issue:

```
make[5]: Entering directory `.../icinga2/icinga2-2.11.3/build'
[ 98%] Linking CXX executable ../Bin/RELEASE/icinga2
.../boost_1_72_0/lib/libboost_coroutine.a(coroutine_context.o): In function `boost::coroutines::detail::coroutine_context::coroutine_context(void (*)(boost::context::detail::transfer_t), boost::coroutines::detail::preallocated const&)':
coroutine_context.cpp:(.text+0x59): undefined reference to `make_fcontext'
.../boost_1_72_0/lib/libboost_coroutine.a(coroutine_context.o): In function `boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void*)':
coroutine_context.cpp:(.text+0xe8): undefined reference to `jump_fcontext'
collect2: error: ld returned 1 exit status
make[5]: *** [Bin/RELEASE/icinga2] Error 1
```

Signed-off-by: Sven Nierlein <sven@nierlein.de>
2020-03-10 10:37:57 +01:00
Noah Hilverling
7af15ae66e
Merge pull request #7902 from Icinga/bugfix/missing-2.11.3-changelog
Add missing 2.11.3 CHANGELOG entry
2020-03-10 10:19:59 +01:00
Alexander Aleksandrovič Klimov
0ea3b48f5f
Merge pull request #7900 from Icinga/bugfix/icingadb-host_id-missing
IcingaDB: Downtime, Comment, Notification: Add host_id, if object_type is service
2020-03-10 10:11:48 +01:00
Michael Insel
3410124ea1 Add missing 2.11.3 CHANGELOG entry 2020-03-09 18:16:22 +01:00
Noah Hilverling
5ec31aed14 Downtime, Comment, Notification: Add host_id, if object_type is service 2020-03-09 10:50:02 +01:00
Noah Hilverling
4c9e4959f3
Merge pull request #7823 from Icinga/bugfix/unify-application-start-times
Fix timing point for Application::GetStartTime() (related to command endpoint grace period)
2020-03-09 09:45:57 +01:00
Noah Hilverling
b8d518bce7
Merge pull request #7789 from Icinga/feature/nextupdate-passive
Checkable#next_update: always use #check_interval if !#enable_active_checks
2020-03-06 10:58:08 +01:00
Alexander A. Klimov
aa258685be Checkable#next_update: always use #check_interval if !#enable_active_checks 2020-03-06 10:03:56 +01:00
Noah Hilverling
e4c920b69e
Merge pull request #7887 from Icinga/bugfix/icingadb-sendevent
Drop IcingaDB#HandleEvents()
2020-03-05 16:22:22 +01:00
Noah Hilverling
2c467bbfef
Merge pull request #7890 from Icinga/bugfix/icingadb-flapping-history-more-ends-than-starts-7885
Fire Checkable::OnFlappingChange only if flapping is enabled
2020-03-05 09:36:57 +01:00
Alexander A. Klimov
c4a436a244 ITL: fix check_dns -q docs
refs #7556
2020-03-04 18:25:32 +01:00
Alexander A. Klimov
0e24462064 Fire Checkable::OnFlappingChange only if flapping is enabled
refs #7885
2020-03-04 14:58:32 +01:00
Alexander A. Klimov
ff0efbc2a2 Drop IcingaDB#HandleEvents() 2020-03-04 14:37:17 +01:00
Alexander A. Klimov
54d555bd92 Drop IcingaDB#SendEvent() 2020-03-04 14:36:43 +01:00
Alexander A. Klimov
867481de7c Connect IcingaDB::StateChangeHandler to Checkable::OnAcknowledgementSet instead of calling it in IcingaDB#SendEvent() 2020-03-04 14:36:07 +01:00
Alexander A. Klimov
efa548fbdf Connect IcingaDB::UpdateState to Checkable::OnNewCheckResult instead of calling it in IcingaDB#SendEvent() 2020-03-04 14:34:43 +01:00
Noah Hilverling
cef4c46ba8
Merge pull request #7886 from Icinga/bugfix/icingadb-flapping-history-more-ends-than-starts-7885
IcingaDB: make signal handlers synchronous
2020-03-04 13:39:31 +01:00
Noah Hilverling
27dcb8f221
Merge pull request #7884 from Icinga/bugfix/on-host-problem-changed
Fix OnHostProblemChanged signal
2020-03-04 12:33:44 +01:00
Alexander A. Klimov
0d58f87b37 IcingaDB: make signal handlers synchronous
refs #7885
2020-03-04 11:09:35 +01:00
Noah Hilverling
8f061ae80e Fix OnHostProblemChanged signal 2020-03-04 10:55:07 +01:00
Noah Hilverling
e4616d9fc6
Merge pull request #7881 from Icinga/bugfix/doc-checkable-acknowledgement_last_change
Document Checkable#acknowledgement_last_change
2020-03-04 08:38:31 +01:00
Michael Insel
feed379229 Chocolatey: Add build script for package 2020-03-03 18:48:11 +01:00
Michael Insel
d051d71b75 ChocoInstall: Update script to use checksum verification 2020-03-03 18:48:11 +01:00
Michael Insel
d6048f6fe0 Chocolatey: Update package metadata to correct dependencies 2020-03-03 18:48:11 +01:00
Michael Friedrich
44d1cefbf7 ChocoInstall: Prefer short release version download, not long x.y.z.a 2020-03-03 18:48:11 +01:00
Michael Friedrich
85d757b2c2 Chocolatey: Update package metadata to fix dependencies 2020-03-03 18:48:11 +01:00
Alexander A. Klimov
87f12cfaa3 Document Checkable#acknowledgement_last_change 2020-03-03 17:09:23 +01:00
Noah Hilverling
6e3c928205
Merge pull request #7837 from Icinga/bugfix/coroutine-exception
IoEngine#SpawnCoroutine(): always terminate coroutines cleanly
2020-03-03 11:19:18 +01:00
Noah Hilverling
c9ab04d511
Merge pull request #7841 from Icinga/bugfix/jsonrpcconnection-sendmessage-keepalive
JsonRpcConnection#Send*Message(): keep this alive
2020-03-03 10:46:33 +01:00
Noah Hilverling
b6b7856796
Merge pull request #7861 from Icinga/bugfix/command-endpoint-check-timeout
Fix 'check_timeout' not being forwarded to agent command endpoints
2020-02-28 17:42:22 +01:00
Michael Friedrich
bfcbf6a4df
Merge pull request #7859 from joni1993/improvement/new-api-projects
Add new Projects to documentation
2020-02-28 11:59:30 +01:00
Michael Friedrich
2ea4970c48
Merge pull request #7862 from Icinga/bugfix/jsonrpc-pki-ca-check-regression
Fix regression from JsonRPC PKI CA verification checks
2020-02-27 16:33:32 +01:00
Michael Friedrich
300287664e
Merge pull request #7866 from Icinga/feature/cleanup-repo
Remove contrib/ directory
2020-02-27 14:18:34 +01:00
Michael Friedrich
1f4c0a3e99
Merge pull request #7858 from dgoetz/bugfix/selinux_safereload-7832
SELinux: Let safe-reload run in icinga2_t
2020-02-27 13:40:56 +01:00
Michael Friedrich
3fbdd50167
Merge pull request #7867 from Icinga/feature/docs-dev-debug
Dev Docs: Update debugging instructions
2020-02-27 13:40:27 +01:00