]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Tue, 17 Sep 2019 10:54:43 +0000 (12:54 +0200)]
Docs: Align local mkdocs config
Michael Friedrich [Tue, 17 Sep 2019 10:44:18 +0000 (12:44 +0200)]
Docs: Fix image locations for installation chapter
Michael Friedrich [Tue, 17 Sep 2019 10:43:13 +0000 (12:43 +0200)]
Docs: Align content of README from About chapter
Michael Friedrich [Tue, 17 Sep 2019 10:29:03 +0000 (12:29 +0200)]
Docs: Add the Director as migration strategy from Icinga 1.x
Michael Friedrich [Tue, 17 Sep 2019 10:07:03 +0000 (12:07 +0200)]
Docs: Update outdated addons chapter with supported products
Michael Friedrich [Tue, 17 Sep 2019 10:04:42 +0000 (12:04 +0200)]
Docs: Add certificate & vSphere modules to service monitoring 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
Michael Friedrich [Tue, 17 Sep 2019 09:36:23 +0000 (11:36 +0200)]
Docs: Align product URLs in features chapter
Michael Friedrich [Tue, 17 Sep 2019 09:34:01 +0000 (11:34 +0200)]
Docs: Align product URLs to icinga.com in distributed chapter
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.
Michael Friedrich [Tue, 17 Sep 2019 06:51:54 +0000 (08:51 +0200)]
Docs: Fix broken support matrix URL in Installation chapter
Michael Friedrich [Tue, 17 Sep 2019 06:51:32 +0000 (08:51 +0200)]
Docs: Update URLs and content in About chapter
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
Michael Friedrich [Mon, 16 Sep 2019 12:19:22 +0000 (14:19 +0200)]
API: Add AES128-GCM-SHA256 compatible cipher for el6
fixes #7501
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
Michael Friedrich [Fri, 13 Sep 2019 15:05:56 +0000 (17:05 +0200)]
Docs: Update debugging instructions for 2.11
Michael Friedrich [Fri, 13 Sep 2019 06:42:12 +0000 (08:42 +0200)]
Merge pull request #7496 from waja/docu_fix
Docu fix
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
Jan Wagner [Thu, 12 Sep 2019 15:18:35 +0000 (17:18 +0200)]
mail-service-notification may make more sense for a service apply
Jan Wagner [Thu, 12 Sep 2019 15:17:48 +0000 (17:17 +0200)]
Fixing syntax, else if shoudl work
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
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
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
Michael Friedrich [Thu, 12 Sep 2019 13:49:48 +0000 (15:49 +0200)]
Docs: Update Windows for VS 2019, add CI details
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
Michael Friedrich [Mon, 9 Sep 2019 15:11:26 +0000 (17:11 +0200)]
Dev: Fix CMake generator platform for VS 2019 in PS scripts
Michael Friedrich [Fri, 6 Sep 2019 07:25:32 +0000 (09:25 +0200)]
Dev Docs: Update Windows to Visual Studio 2019
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
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
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
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
Alexander A. Klimov [Mon, 9 Sep 2019 11:37:44 +0000 (13:37 +0200)]
HttpServerConnection#ProcessMessages(): avoid I/O if shutting down
refs #7431
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
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
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
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()
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
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
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
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
Michael Friedrich [Mon, 9 Sep 2019 07:26:12 +0000 (09:26 +0200)]
JsonRpcConnection: Don't swallow exceptions in Boost.Coroutine
refs #7351
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.
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
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
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
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
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
Michael Friedrich [Fri, 6 Sep 2019 07:31:16 +0000 (09:31 +0200)]
Always reset Boost beast buffer in HttpServerConnection#ProcessMessages
refs #7431
Michael Friedrich [Fri, 6 Sep 2019 07:24:34 +0000 (09:24 +0200)]
Adjust code comment for Logger->Flush() on Windows
Michael Friedrich [Mon, 2 Sep 2019 13:10:35 +0000 (15:10 +0200)]
Ensure that issue templates are more readable
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
Michael Friedrich [Mon, 2 Sep 2019 07:20:56 +0000 (09:20 +0200)]
Docs: Update dev chapter for Debian Buster
Michael Friedrich [Sun, 1 Sep 2019 09:08:15 +0000 (11:08 +0200)]
Docs: Update Boost setup instructions for Windows dev environment
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
Michael Friedrich [Fri, 30 Aug 2019 13:18:27 +0000 (15:18 +0200)]
Docs: Sync Vagrant box dev instructions with development docs
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
Michael Friedrich [Fri, 30 Aug 2019 12:11:51 +0000 (14:11 +0200)]
Docs: Update supported Windows agent versions
Michael Friedrich [Fri, 30 Aug 2019 12:04:40 +0000 (14:04 +0200)]
Docs: Add Windows debugging
Michael Friedrich [Fri, 30 Aug 2019 12:04:05 +0000 (14:04 +0200)]
Docs: Prefer the Powershell commands on Windows
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
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.
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
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
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
Michael Friedrich [Tue, 27 Aug 2019 14:47:58 +0000 (16:47 +0200)]
Update default cipher_list in upgrading docs
Michael Friedrich [Tue, 27 Aug 2019 14:47:07 +0000 (16:47 +0200)]
Update doc URL for the API info handler at /v1
Michael Friedrich [Tue, 27 Aug 2019 14:46:51 +0000 (16:46 +0200)]
Update doc URL references for the DB IDO feature
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
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.
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
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
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
Alexander A. Klimov [Tue, 27 Aug 2019 11:34:10 +0000 (13:34 +0200)]
ITL: set globals.NscpPath explicitly
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
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
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
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
Alexander A. Klimov [Mon, 26 Aug 2019 15:48:36 +0000 (17:48 +0200)]
check_nscp_api: fix missing HTTP response reason
Alexander A. Klimov [Mon, 26 Aug 2019 13:57:10 +0000 (15:57 +0200)]
check_nscp_api: read HTTP response via Boost.Beast
Max Deparade [Thu, 22 Aug 2019 13:03:11 +0000 (15:03 +0200)]
Adding check_uptime to itl
Alexander A. Klimov [Fri, 23 Aug 2019 15:14:13 +0000 (17:14 +0200)]
JsonRpcConnection#Disconnect(): unregister the connection ASAP
refs #7444
Michael Friedrich [Tue, 20 Aug 2019 18:52:51 +0000 (20:52 +0200)]
CMake: Fix LTO flags for shared linking
Michael Friedrich [Tue, 20 Aug 2019 13:46:45 +0000 (15:46 +0200)]
CMake: Fix CXX flags for AIX
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
Michael Friedrich [Fri, 16 Aug 2019 11:01:34 +0000 (13:01 +0200)]
ITL: Add sar-perf
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
Alexander A. Klimov [Wed, 14 Aug 2019 15:43:06 +0000 (17:43 +0200)]
Correct current_concurrent_checks to actually running checks
refs #7416
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
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
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
Alexander A. Klimov [Wed, 14 Aug 2019 15:22:27 +0000 (17:22 +0200)]
Expose metric current_pending_callbacks
Alexander A. Klimov [Wed, 14 Aug 2019 15:12:59 +0000 (17:12 +0200)]
Introduce ThreadPool#GetPending()
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
Michael Friedrich [Wed, 14 Aug 2019 14:42:25 +0000 (16:42 +0200)]
Docs: Add cluster message routing details
refs #7198
Michael Friedrich [Wed, 14 Aug 2019 14:29:08 +0000 (16:29 +0200)]
Merge pull request #7419 from Icinga/bugfix/downtime-loop-activate-origin
Fix object create/delete config object cluster loop (missing message origin)
Michael Friedrich [Wed, 14 Aug 2019 11:49:57 +0000 (13:49 +0200)]
Merge pull request #7418 from Icinga/bugfix/icinga-check-version-compare
Fix minimum version parsing in the 'icinga' check
Michael Friedrich [Wed, 14 Aug 2019 11:15:05 +0000 (13:15 +0200)]
Properly parse the Icinga version for minimum version in the 'icinga' check
fixes #7415
Michael Friedrich [Wed, 14 Aug 2019 11:14:43 +0000 (13:14 +0200)]
Add unit test for Utility::CompareVersion
Michael Friedrich [Wed, 14 Aug 2019 09:22:55 +0000 (11:22 +0200)]
Add Utility::ParseVersion() and unit tests
This now uses a regex to extract the short version
similar to how Icinga Web 2 does it.
Additional unit tests prove the rule.
Michael Friedrich [Tue, 13 Aug 2019 14:09:26 +0000 (16:09 +0200)]
Fix cookie with ActivateItems