]> granicus.if.org Git - icinga2/log
icinga2
5 years agoFix spelling error 7518/head
Bas Couwenberg [Fri, 20 Sep 2019 05:17:03 +0000 (07:17 +0200)]
Fix spelling error

Another occurrence of:

 * UNKNWON -> UNKNWON

Ref: #7365

5 years agoUpdate RELEASE docs
Michael Friedrich [Thu, 19 Sep 2019 11:49:31 +0000 (13:49 +0200)]
Update RELEASE docs

5 years agoRelease version 2.11.0 v2.11.0
Michael Friedrich [Thu, 19 Sep 2019 07:53:37 +0000 (09:53 +0200)]
Release version 2.11.0

5 years agoMerge branch 'master' into support/2.11
Michael Friedrich [Wed, 18 Sep 2019 10:28:40 +0000 (12:28 +0200)]
Merge branch 'master' into support/2.11

5 years agoMerge pull request #7507 from Icinga/feature/csr-auto-signing-debug-log
Michael Friedrich [Wed, 18 Sep 2019 10:27:16 +0000 (12:27 +0200)]
Merge pull request #7507 from Icinga/feature/csr-auto-signing-debug-log

CSR Auto-signing: Add debug logging for skipped signing

5 years agoCSR Auto-signing: Add debug logging for skipped signing 7507/head
Michael Friedrich [Wed, 18 Sep 2019 09:53:58 +0000 (11:53 +0200)]
CSR Auto-signing: Add debug logging for skipped signing

5 years agoMerge pull request #7504 from Icinga/feature/docs-last-bits-for-2-11
Michael Friedrich [Tue, 17 Sep 2019 10:59:16 +0000 (12:59 +0200)]
Merge pull request #7504 from Icinga/feature/docs-last-bits-for-2-11

Docs: Update product URLs and missing bits

5 years agoDocs: Align local mkdocs config 7504/head
Michael Friedrich [Tue, 17 Sep 2019 10:54:43 +0000 (12:54 +0200)]
Docs: Align local mkdocs config

5 years agoDocs: Fix image locations for installation chapter
Michael Friedrich [Tue, 17 Sep 2019 10:44:18 +0000 (12:44 +0200)]
Docs: Fix image locations for installation chapter

5 years agoDocs: Align content of README from About chapter
Michael Friedrich [Tue, 17 Sep 2019 10:43:13 +0000 (12:43 +0200)]
Docs: Align content of README from About chapter

5 years agoDocs: Add the Director as migration strategy from Icinga 1.x
Michael Friedrich [Tue, 17 Sep 2019 10:29:03 +0000 (12:29 +0200)]
Docs: Add the Director as migration strategy from Icinga 1.x

5 years agoDocs: Update outdated addons chapter with supported products
Michael Friedrich [Tue, 17 Sep 2019 10:07:03 +0000 (12:07 +0200)]
Docs: Update outdated addons chapter with supported products

5 years agoDocs: Add certificate & vSphere modules to service monitoring chapter
Michael Friedrich [Tue, 17 Sep 2019 10:04:42 +0000 (12:04 +0200)]
Docs: Add certificate & vSphere modules to service monitoring chapter

5 years agoDocs: Add blog post URL for Director automation to configuration chapter
Michael Friedrich [Tue, 17 Sep 2019 10:04:10 +0000 (12:04 +0200)]
Docs: Add blog post URL for Director automation to configuration chapter

5 years agoDocs: Align product URLs in features chapter
Michael Friedrich [Tue, 17 Sep 2019 09:36:23 +0000 (11:36 +0200)]
Docs: Align product URLs in features chapter

5 years agoDocs: Align product URLs to icinga.com in distributed chapter
Michael Friedrich [Tue, 17 Sep 2019 09:34:01 +0000 (11:34 +0200)]
Docs: Align product URLs to icinga.com in distributed chapter

5 years agoDocs: Update product URLs and improve configuration introduction
Michael Friedrich [Tue, 17 Sep 2019 09:32:38 +0000 (11:32 +0200)]
Docs: Update product URLs and improve configuration introduction

There's more work underway, but after 2.11.

5 years agoDocs: Fix broken support matrix URL in Installation chapter
Michael Friedrich [Tue, 17 Sep 2019 06:51:54 +0000 (08:51 +0200)]
Docs: Fix broken support matrix URL in Installation chapter

5 years agoDocs: Update URLs and content in About chapter
Michael Friedrich [Tue, 17 Sep 2019 06:51:32 +0000 (08:51 +0200)]
Docs: Update URLs and content in About chapter

5 years agoMerge pull request #7503 from Icinga/bugfix/api-ciphers-el6
Michael Friedrich [Mon, 16 Sep 2019 12:54:57 +0000 (14:54 +0200)]
Merge pull request #7503 from Icinga/bugfix/api-ciphers-el6

API: Add AES128-GCM-SHA256 compatible cipher for el6

5 years agoAPI: Add AES128-GCM-SHA256 compatible cipher for el6 7503/head
Michael Friedrich [Mon, 16 Sep 2019 12:19:22 +0000 (14:19 +0200)]
API: Add AES128-GCM-SHA256 compatible cipher for el6

fixes #7501

5 years agoMerge pull request #7502 from Icinga/feature/docs-debugger-2-11
Michael Friedrich [Mon, 16 Sep 2019 08:36:52 +0000 (10:36 +0200)]
Merge pull request #7502 from Icinga/feature/docs-debugger-2-11

Docs: Update debugging instructions for 2.11

5 years agoDocs: Update debugging instructions for 2.11 7502/head
Michael Friedrich [Fri, 13 Sep 2019 15:05:56 +0000 (17:05 +0200)]
Docs: Update debugging instructions for 2.11

5 years agoMerge pull request #7496 from waja/docu_fix
Michael Friedrich [Fri, 13 Sep 2019 06:42:12 +0000 (08:42 +0200)]
Merge pull request #7496 from waja/docu_fix

Docu fix

5 years agoThis should also apply if host.vars.notification.mail is not defined, but service... 7496/head
Jan Wagner [Thu, 12 Sep 2019 15:20:15 +0000 (17:20 +0200)]
This should also apply if host.vars.notification.mail is not defined, but service.vars.notification.mail is

5 years agomail-service-notification may make more sense for a service apply
Jan Wagner [Thu, 12 Sep 2019 15:18:35 +0000 (17:18 +0200)]
mail-service-notification may make more sense for a service apply

5 years agoFixing syntax, else if shoudl work
Jan Wagner [Thu, 12 Sep 2019 15:17:48 +0000 (17:17 +0200)]
Fixing syntax, else if shoudl work

5 years agoMerge pull request #7495 from Icinga/bugfix/http-buffer-revert
Michael Friedrich [Thu, 12 Sep 2019 15:03:12 +0000 (17:03 +0200)]
Merge pull request #7495 from Icinga/bugfix/http-buffer-revert

Revert: Always reset Boost beast buffer in HttpServerConnection#ProcessMessages #7476

5 years agoRevert: Always reset Boost beast buffer in HttpServerConnection#ProcessMessages ... 7495/head
Michael Friedrich [Thu, 12 Sep 2019 15:00:17 +0000 (17:00 +0200)]
Revert: Always reset Boost beast buffer in HttpServerConnection#ProcessMessages #7476

Not a simple revert but also adds a comment for the buffer.

refs #7476

5 years agoMerge pull request #7480 from Icinga/feature/docs-windows-dev
Michael Friedrich [Thu, 12 Sep 2019 14:05:32 +0000 (16:05 +0200)]
Merge pull request #7480 from Icinga/feature/docs-windows-dev

Dev Docs: Update Windows to Visual Studio 2019

5 years agoDocs: Update Windows for VS 2019, add CI details 7480/head
Michael Friedrich [Thu, 12 Sep 2019 13:49:48 +0000 (15:49 +0200)]
Docs: Update Windows for VS 2019, add CI details

5 years agoMerge pull request #7491 from Icinga/bugfix/boost-asio-coroutine-exception-wrapper
Michael Friedrich [Mon, 9 Sep 2019 15:48:12 +0000 (17:48 +0200)]
Merge pull request #7491 from Icinga/bugfix/boost-asio-coroutine-exception-wrapper

Introduce IoEngine::SpawnCoroutine wrapping asio::spawn and Boost exceptions

5 years agoDev: Fix CMake generator platform for VS 2019 in PS scripts
Michael Friedrich [Mon, 9 Sep 2019 15:11:26 +0000 (17:11 +0200)]
Dev: Fix CMake generator platform for VS 2019 in PS scripts

5 years agoDev Docs: Update Windows to Visual Studio 2019
Michael Friedrich [Fri, 6 Sep 2019 07:25:32 +0000 (09:25 +0200)]
Dev Docs: Update Windows to Visual Studio 2019

5 years agoIntroduce IoEngine::SpawnCoroutine wrapping asio::spawn and Boost exceptions 7491/head
Michael Friedrich [Fri, 6 Sep 2019 13:11:55 +0000 (15:11 +0200)]
Introduce IoEngine::SpawnCoroutine wrapping asio::spawn and Boost exceptions

This is required to

- catch all exceptions and wrap them into Boost exceptions. They
are the only ones allowed with Boost.Coroutine.
- set a dedicated coroutine stack size for Windows.

refs #7431

5 years agoMerge pull request #7490 from Icinga/bugfix/asio-deprecated-io-service
Michael Friedrich [Mon, 9 Sep 2019 14:05:38 +0000 (16:05 +0200)]
Merge pull request #7490 from Icinga/bugfix/asio-deprecated-io-service

Quality: Replace deprecated Boost IO service code

5 years agoQuality: Replace deprecated Boost IO service code 7490/head
Michael Friedrich [Mon, 9 Sep 2019 13:11:38 +0000 (15:11 +0200)]
Quality: Replace deprecated Boost IO service code

https://github.com/boostorg/asio/issues/110
https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/example/cpp03/services/logger_service.hpp

5 years agoMerge pull request #7487 from Icinga/bugfix/http-api-shutdown-avoid-io
Michael Friedrich [Mon, 9 Sep 2019 12:21:24 +0000 (14:21 +0200)]
Merge pull request #7487 from Icinga/bugfix/http-api-shutdown-avoid-io

API: Avoid I/O on shutdown

5 years agoHttpServerConnection#ProcessMessages(): avoid I/O if shutting down 7487/head
Alexander A. Klimov [Mon, 9 Sep 2019 11:37:44 +0000 (13:37 +0200)]
HttpServerConnection#ProcessMessages(): avoid I/O if shutting down

refs #7431

5 years agoHttpServerConnection#ProcessMessages(): avoid I/O after boost::asio::error::operation...
Alexander A. Klimov [Mon, 9 Sep 2019 11:29:47 +0000 (13:29 +0200)]
HttpServerConnection#ProcessMessages(): avoid I/O after boost::asio::error::operation_aborted

refs #7431

5 years ago{HttpServer,JsonRpc}Connection#Disconnect(): cancel I/O ops ASAP
Alexander A. Klimov [Mon, 9 Sep 2019 11:10:12 +0000 (13:10 +0200)]
{HttpServer,JsonRpc}Connection#Disconnect(): cancel I/O ops ASAP

refs #7431

5 years agoMerge pull request #7485 from Icinga/bugfix/api-disconnect-defer
Michael Friedrich [Mon, 9 Sep 2019 09:41:34 +0000 (11:41 +0200)]
Merge pull request #7485 from Icinga/bugfix/api-disconnect-defer

Avoid the Defer-Disconnect destructor pattern with Boost.Coroutines

5 years agoMerge pull request #7486 from Icinga/bugfix/http-header-error-handling
Michael Friedrich [Mon, 9 Sep 2019 09:40:44 +0000 (11:40 +0200)]
Merge pull request #7486 from Icinga/bugfix/http-header-error-handling

Rewrite error handling in HttpServerConnection#EnsureValidHeaders()

5 years agoRewrite error handling in HttpServerConnection#EnsureValidHeaders() 7486/head
Michael Friedrich [Fri, 6 Sep 2019 12:19:53 +0000 (14:19 +0200)]
Rewrite error handling in HttpServerConnection#EnsureValidHeaders()

Throwing local exceptions unnecessarily pollutes the exception
stack with immediate unwinding. Avoid this pattern at all cost within
Boost.Coroutines. MSVC may handle exceptions differently and cause
problems with stack unwinding.

refs #7431
refs #7351

5 years agoAvoid the Defer-Disconnect destructor pattern with Boost.Coroutines 7485/head
Michael Friedrich [Mon, 9 Sep 2019 08:53:37 +0000 (10:53 +0200)]
Avoid the Defer-Disconnect destructor pattern with Boost.Coroutines

Exceptions in Disconnect() might be thrown (this has been reworked
into error_code locally) which are swallowed inside the Destructor
for being dangerous. On the other hand, swallowing them may
corrupt the stack unwinding operation from the coroutine layer.

The best is to avoid Defer inside lib/remote and call Disconnect()
directly after breaking from other operations.

refs #7351
refs #7431

5 years agoMerge pull request #7483 from Icinga/bugfix/jsonrpc-boost-asio-coroutine-exceptions
Michael Friedrich [Mon, 9 Sep 2019 08:21:21 +0000 (10:21 +0200)]
Merge pull request #7483 from Icinga/bugfix/jsonrpc-boost-asio-coroutine-exceptions

JsonRpcConnection: Don't swallow exceptions in Boost.Coroutine

5 years agoMerge pull request #7481 from Icinga/feature/check-network-perfdata
Michael Friedrich [Mon, 9 Sep 2019 07:47:37 +0000 (09:47 +0200)]
Merge pull request #7481 from Icinga/feature/check-network-perfdata

Add summarized performance data to check_network

5 years agoJsonRpcConnection: Don't swallow exceptions in Boost.Coroutine 7483/head
Michael Friedrich [Mon, 9 Sep 2019 07:26:12 +0000 (09:26 +0200)]
JsonRpcConnection: Don't swallow exceptions in Boost.Coroutine

refs #7351

5 years agoAdd summarized performance data to check_network 7481/head
Michael Insel [Fri, 6 Sep 2019 18:36:47 +0000 (20:36 +0200)]
Add summarized performance data to check_network

This adds two new performance data values to check_network, 'network_in'
and 'network_out'.

On systems with multiple network interfaces the 'network_in' value holds
the summarized input bytes and the 'network_out' value holds the
summarized output bytes.

5 years agoMerge pull request #7479 from Icinga/feature/windows-dev
Michael Friedrich [Fri, 6 Sep 2019 10:52:47 +0000 (12:52 +0200)]
Merge pull request #7479 from Icinga/feature/windows-dev

Build: Add Powershell script for development config for building Windows debug packages

5 years agoBuild: Add Powershell script for development config for building Windows debug packages 7479/head
Michael Friedrich [Fri, 6 Sep 2019 08:51:06 +0000 (10:51 +0200)]
Build: Add Powershell script for development config for building Windows debug packages

5 years agoMerge pull request #7477 from Icinga/bugfix/api-boost-exceptions-errors
Michael Friedrich [Fri, 6 Sep 2019 08:22:42 +0000 (10:22 +0200)]
Merge pull request #7477 from Icinga/bugfix/api-boost-exceptions-errors

HttpServerConnection: Prefer error codes over Boost exceptions

5 years agoHttpServerConnection: Prefer error codes over Boost exceptions 7477/head
Michael Friedrich [Fri, 6 Sep 2019 08:06:17 +0000 (10:06 +0200)]
HttpServerConnection: Prefer error codes over Boost exceptions

When run within a coroutine, exceptions on Windows may influence
bad behaviour here. Instead, we'll check for the error code
and extract the message from memory. In contrast to exceptions
which are stored on the stack frame and then return, this costs
a little more memory but simplifies the logic.

This doesn't fix the linked issue, but is related to the analysis.

refs #7431

5 years agoMerge pull request #7476 from Icinga/bugfix/api-beast-buffer
Michael Friedrich [Fri, 6 Sep 2019 07:56:29 +0000 (09:56 +0200)]
Merge pull request #7476 from Icinga/bugfix/api-beast-buffer

Always reset Boost beast buffer in HttpServerConnection#ProcessMessages

5 years agoAlways reset Boost beast buffer in HttpServerConnection#ProcessMessages 7476/head
Michael Friedrich [Fri, 6 Sep 2019 07:31:16 +0000 (09:31 +0200)]
Always reset Boost beast buffer in HttpServerConnection#ProcessMessages

refs #7431

5 years agoAdjust code comment for Logger->Flush() on Windows
Michael Friedrich [Fri, 6 Sep 2019 07:24:34 +0000 (09:24 +0200)]
Adjust code comment for Logger->Flush() on Windows

5 years agoEnsure that issue templates are more readable
Michael Friedrich [Mon, 2 Sep 2019 13:10:35 +0000 (15:10 +0200)]
Ensure that issue templates are more readable

5 years agoMerge pull request #7467 from Icinga/feature/docs-development-2-11
Michael Friedrich [Mon, 2 Sep 2019 07:36:47 +0000 (09:36 +0200)]
Merge pull request #7467 from Icinga/feature/docs-development-2-11

Docs: Update Linux and Windows Dev instructions for 2.11

5 years agoDocs: Update dev chapter for Debian Buster 7467/head
Michael Friedrich [Mon, 2 Sep 2019 07:20:56 +0000 (09:20 +0200)]
Docs: Update dev chapter for Debian Buster

5 years agoDocs: Update Boost setup instructions for Windows dev environment
Michael Friedrich [Sun, 1 Sep 2019 09:08:15 +0000 (11:08 +0200)]
Docs: Update Boost setup instructions for Windows dev environment

5 years agoMerge pull request #7464 from Icinga/feature/docs-windows-agent-versions
Michael Friedrich [Fri, 30 Aug 2019 14:37:09 +0000 (16:37 +0200)]
Merge pull request #7464 from Icinga/feature/docs-windows-agent-versions

Docs: Update supported Windows agent versions

5 years agoDocs: Sync Vagrant box dev instructions with development docs
Michael Friedrich [Fri, 30 Aug 2019 13:18:27 +0000 (15:18 +0200)]
Docs: Sync Vagrant box dev instructions with development docs

5 years agoMerge pull request #7463 from Icinga/feature/docs-powershell
Michael Friedrich [Fri, 30 Aug 2019 12:21:19 +0000 (14:21 +0200)]
Merge pull request #7463 from Icinga/feature/docs-powershell

Docs: Prefer the Powershell commands on Windows

5 years agoDocs: Update supported Windows agent versions 7464/head
Michael Friedrich [Fri, 30 Aug 2019 12:11:51 +0000 (14:11 +0200)]
Docs: Update supported Windows agent versions

5 years agoDocs: Add Windows debugging
Michael Friedrich [Fri, 30 Aug 2019 12:04:40 +0000 (14:04 +0200)]
Docs: Add Windows debugging

5 years agoDocs: Prefer the Powershell commands on Windows 7463/head
Michael Friedrich [Fri, 30 Aug 2019 12:04:05 +0000 (14:04 +0200)]
Docs: Prefer the Powershell commands on Windows

5 years agoMerge pull request #7459 from Icinga/feature/expose-problem-handled-counts
Michael Friedrich [Fri, 30 Aug 2019 07:04:03 +0000 (09:04 +0200)]
Merge pull request #7459 from Icinga/feature/expose-problem-handled-counts

Metrics: Expose problem/handled counts for hosts/services

5 years agoMetrics: Expose problem/handled counts for hosts/services 7459/head
Michael Friedrich [Thu, 29 Aug 2019 15:04:23 +0000 (17:04 +0200)]
Metrics: Expose problem/handled counts for hosts/services

With the addition of problem/handled as checkable runtime
attributes in #7096 we should also expose them via CIB
into

- icinga check
- /v1/status/CIB
- IcingaApplication runtime macros

This originates from a request by @phil-or at the recent
Icinga meetup in Linz.

5 years agoMerge pull request #7356 from Icinga/bugfix/influxdbwriter-clone
Michael Friedrich [Wed, 28 Aug 2019 07:16:19 +0000 (09:16 +0200)]
Merge pull request #7356 from Icinga/bugfix/influxdbwriter-clone

InfluxdbWriter: clone less

5 years agoMerge pull request #7451 from Icinga/bugfix/update-docs
Michael Friedrich [Wed, 28 Aug 2019 06:59:28 +0000 (08:59 +0200)]
Merge pull request #7451 from Icinga/bugfix/update-docs

Update docs: Fix online URL, cipher list

5 years agoMerge pull request #7445 from Icinga/bugfix/ddos-reconnect-7444
Michael Friedrich [Wed, 28 Aug 2019 06:59:14 +0000 (08:59 +0200)]
Merge pull request #7445 from Icinga/bugfix/ddos-reconnect-7444

JsonRpcConnection#Disconnect(): unregister the connection ASAP

5 years agoUpdate default cipher_list in upgrading docs 7451/head
Michael Friedrich [Tue, 27 Aug 2019 14:47:58 +0000 (16:47 +0200)]
Update default cipher_list in upgrading docs

5 years agoUpdate doc URL for the API info handler at /v1
Michael Friedrich [Tue, 27 Aug 2019 14:47:07 +0000 (16:47 +0200)]
Update doc URL for the API info handler at /v1

5 years agoUpdate doc URL references for the DB IDO feature
Michael Friedrich [Tue, 27 Aug 2019 14:46:51 +0000 (16:46 +0200)]
Update doc URL references for the DB IDO feature

5 years agoMerge pull request #7450 from Icinga/feature/windows-exe-icon
Michael Friedrich [Tue, 27 Aug 2019 13:15:18 +0000 (15:15 +0200)]
Merge pull request #7450 from Icinga/feature/windows-exe-icon

Windows binary: Also update the exe icon

5 years agoWindows binary: Also update the exe icon 7450/head
Michael Friedrich [Tue, 27 Aug 2019 13:12:22 +0000 (15:12 +0200)]
Windows binary: Also update the exe icon

A thousand places for everything.

5 years agoMerge pull request #7449 from Icinga/feature/warn-set-global-var
Michael Friedrich [Tue, 27 Aug 2019 12:53:29 +0000 (14:53 +0200)]
Merge pull request #7449 from Icinga/feature/warn-set-global-var

DSL: warn on x=y if x is a global variable

5 years agoMerge pull request #7346 from Icinga/feature/check-plugins-code-page-7110
Michael Friedrich [Tue, 27 Aug 2019 12:51:30 +0000 (14:51 +0200)]
Merge pull request #7346 from Icinga/feature/check-plugins-code-page-7110

DaemonCommand#Run(): set code page to UTF-8

5 years agoMerge pull request #7447 from Icinga/bugfix/nscp-json
Michael Friedrich [Tue, 27 Aug 2019 11:58:02 +0000 (13:58 +0200)]
Merge pull request #7447 from Icinga/bugfix/nscp-json

check_nscp_api: read HTTP response via Boost.Beast

5 years agoITL: set globals.NscpPath explicitly 7449/head
Alexander A. Klimov [Tue, 27 Aug 2019 11:34:10 +0000 (13:34 +0200)]
ITL: set globals.NscpPath explicitly

5 years agoDSL: warn on x=y if x is a global variable
Alexander A. Klimov [Tue, 27 Aug 2019 11:19:05 +0000 (13:19 +0200)]
DSL: warn on x=y if x is a global variable

5 years agoMerge pull request #7434 from Icinga/bugfix/cmake-aix
Michael Friedrich [Tue, 27 Aug 2019 11:04:03 +0000 (13:04 +0200)]
Merge pull request #7434 from Icinga/bugfix/cmake-aix

CMake: Fix CXX flags for AIX

5 years agoMerge pull request #7435 from Icinga/bugfix/cmake-lto
Michael Friedrich [Tue, 27 Aug 2019 11:03:25 +0000 (13:03 +0200)]
Merge pull request #7435 from Icinga/bugfix/cmake-lto

CMake: Fix LTO flags for shared linking

5 years agoMerge pull request #7437 from m4k5ym/check_uptime
Michael Friedrich [Tue, 27 Aug 2019 11:02:51 +0000 (13:02 +0200)]
Merge pull request #7437 from m4k5ym/check_uptime

Add check_uptime to ITL

5 years agocheck_nscp_api: fix missing HTTP response reason 7447/head
Alexander A. Klimov [Mon, 26 Aug 2019 15:48:36 +0000 (17:48 +0200)]
check_nscp_api: fix missing HTTP response reason

5 years agocheck_nscp_api: read HTTP response via Boost.Beast
Alexander A. Klimov [Mon, 26 Aug 2019 13:57:10 +0000 (15:57 +0200)]
check_nscp_api: read HTTP response via Boost.Beast

5 years agoAdding check_uptime to itl 7437/head
Max Deparade [Thu, 22 Aug 2019 13:03:11 +0000 (15:03 +0200)]
Adding check_uptime to itl

5 years agoJsonRpcConnection#Disconnect(): unregister the connection ASAP 7445/head
Alexander A. Klimov [Fri, 23 Aug 2019 15:14:13 +0000 (17:14 +0200)]
JsonRpcConnection#Disconnect(): unregister the connection ASAP

refs #7444

5 years agoCMake: Fix LTO flags for shared linking 7435/head
Michael Friedrich [Tue, 20 Aug 2019 18:52:51 +0000 (20:52 +0200)]
CMake: Fix LTO flags for shared linking

5 years agoCMake: Fix CXX flags for AIX 7434/head
Michael Friedrich [Tue, 20 Aug 2019 13:46:45 +0000 (15:46 +0200)]
CMake: Fix CXX flags for AIX

5 years agoMerge pull request #7428 from Icinga/feature/itl-sar-perf
Michael Friedrich [Mon, 19 Aug 2019 13:49:35 +0000 (15:49 +0200)]
Merge pull request #7428 from Icinga/feature/itl-sar-perf

ITL: Add sar-perf

5 years agoITL: Add sar-perf 7428/head
Michael Friedrich [Fri, 16 Aug 2019 11:01:34 +0000 (13:01 +0200)]
ITL: Add sar-perf

5 years agoMerge pull request #7422 from Icinga/bugfix/current_concurrent_checks-7416
Michael Friedrich [Fri, 16 Aug 2019 11:44:25 +0000 (13:44 +0200)]
Merge pull request #7422 from Icinga/bugfix/current_concurrent_checks-7416

Correct current_concurrent_checks to actually running checks

5 years agoCorrect current_concurrent_checks to actually running checks 7422/head
Alexander A. Klimov [Wed, 14 Aug 2019 15:43:06 +0000 (17:43 +0200)]
Correct current_concurrent_checks to actually running checks

refs #7416

5 years agoMerge pull request #7421 from Icinga/feature/threadpool-metric
Michael Friedrich [Thu, 15 Aug 2019 08:51:31 +0000 (10:51 +0200)]
Merge pull request #7421 from Icinga/feature/threadpool-metric

Expose metric current_pending_callbacks

5 years agoMerge pull request #7423 from Icinga/bugfix/cluster-config-object-create-ignore-on...
Michael Friedrich [Thu, 15 Aug 2019 08:23:22 +0000 (10:23 +0200)]
Merge pull request #7423 from Icinga/bugfix/cluster-config-object-create-ignore-on-error

Fix and improve logging for runtime object sync

5 years agoFix and improve logging for runtime object sync 7423/head
Michael Friedrich [Thu, 15 Aug 2019 07:29:05 +0000 (09:29 +0200)]
Fix and improve logging for runtime object sync

config::UpdateObject would create a new object, but this may
have been silently ignored with 'ignore_on_error' - downtimes, etc.
Since we cannot simply fetch the error from inside the config compiler,
we'd just check whether there's a config object created at this stage.
This happens synchronously, and once there is, log something.

The previous code always logged the creation, even if the downtime
was ignored, e.g. when the first master sent one for local host objects.

This commit also adds more details: identity, endpoint, zone to extract
the MessageOrigin details into log messages for better troubleshooting
and debugging.

refs #7198

5 years agoExpose metric current_pending_callbacks 7421/head
Alexander A. Klimov [Wed, 14 Aug 2019 15:22:27 +0000 (17:22 +0200)]
Expose metric current_pending_callbacks

5 years agoIntroduce ThreadPool#GetPending()
Alexander A. Klimov [Wed, 14 Aug 2019 15:12:59 +0000 (17:12 +0200)]
Introduce ThreadPool#GetPending()

5 years agoMerge pull request #7420 from Icinga/feature/docs-tech-cluster-routing
Michael Friedrich [Wed, 14 Aug 2019 14:51:50 +0000 (16:51 +0200)]
Merge pull request #7420 from Icinga/feature/docs-tech-cluster-routing

Docs: Add cluster message routing details