]>
granicus.if.org Git - icinga2/log
Michael Insel [Fri, 24 May 2019 14:25:32 +0000 (16:25 +0200)]
Unify copyright headers
Update (left over) copyright headers to generic copyright headers.
Michael Friedrich [Fri, 24 May 2019 13:50:18 +0000 (15:50 +0200)]
Merge pull request #6813 from Icinga/feature/gelfwriter-tls-support
Implement TLS support for the GelfWriter feature
Michael Friedrich [Fri, 24 May 2019 13:42:46 +0000 (15:42 +0200)]
Merge pull request #7156 from Icinga/feature/itl-sleep
Implement sleep CheckCommand
Michael Friedrich [Fri, 24 May 2019 13:08:36 +0000 (15:08 +0200)]
Merge pull request #7199 from Icinga/feature/docs-dev-style-guide
Docs: Add styleguide with development details
Michael Friedrich [Fri, 24 May 2019 12:17:18 +0000 (14:17 +0200)]
Docs: Add styleguide with development details
@htriem
Michael Friedrich [Thu, 23 May 2019 12:15:47 +0000 (14:15 +0200)]
Merge pull request #7142 from Icinga/feature/boost-asio-nscp
check_nscp_api: Rewrite using Boost ASIO and Beast
Michael Friedrich [Thu, 23 May 2019 11:57:54 +0000 (13:57 +0200)]
Merge branch 'support/2.10'
Michael Friedrich [Thu, 23 May 2019 11:56:44 +0000 (13:56 +0200)]
Release version 2.10.5
Michael Friedrich [Thu, 23 May 2019 11:56:44 +0000 (13:56 +0200)]
Release version 2.10.5
Michael Friedrich [Wed, 24 Apr 2019 16:11:40 +0000 (18:11 +0200)]
check_nscp_api: Rewrite using Boost ASIO and Beast
This includes a huge workaround for NSCP not sending
the status reason correctly. Therefore parsing the raw
data buffer is required, otherwise we could just use
Beast's builtin HTTP parser as everywhere else.
refs #7142
refs #7041
Michael Friedrich [Wed, 22 May 2019 11:52:09 +0000 (13:52 +0200)]
Merge pull request #7143 from Icinga/feature/boost-asio-debug-console
Use I/O engine in debug console CLI command
Michael Friedrich [Fri, 5 Apr 2019 07:30:26 +0000 (09:30 +0200)]
Debug Console: Use our new I/O engine for HTTP requests
refs #7041
Michael Friedrich [Tue, 9 Apr 2019 12:08:39 +0000 (14:08 +0200)]
Docs: Remove EOL distributions (SLES11, Ubuntu 14)
(cherry picked from commit
478f087a3aee1c70b96d69b4e0b4ebb9b985e032 )
Michael Friedrich [Tue, 21 May 2019 14:46:31 +0000 (16:46 +0200)]
Adjust docs for 2.10.x from cherry-picked commits
Michael Friedrich [Wed, 24 Oct 2018 13:47:10 +0000 (15:47 +0200)]
Update technical concepts docs on object authority and HA aware features
This includes are more detailed insight into how object authority calculation
works.
(cherry picked from commit
3fdc9669c671685eb267d28cf251e714de18af14 )
Michael Friedrich [Tue, 23 Apr 2019 11:47:40 +0000 (13:47 +0200)]
Quickfix technical docs for debugging
(cherry picked from commit
0bd1d9a6f86df5072fe58bd6c5530c6ff1693310 )
Michael Friedrich [Mon, 20 May 2019 14:09:42 +0000 (16:09 +0200)]
Merge pull request #7190 from Icinga/bugfix/check-service-ambiguous-parameter
Disable program option guessing in check_service
Michael Friedrich [Mon, 20 May 2019 14:08:19 +0000 (16:08 +0200)]
Merge pull request #7189 from peteeckel/fix/check_service-7188
Use --description instead of -d for check_service.exe
Michael Insel [Fri, 17 May 2019 17:54:10 +0000 (19:54 +0200)]
Disable program option guessing in check_service
This disables the program option guessing in check_service to avoid
ambiguous parameter parsing.
refs #7188
Peter Eckel [Fri, 17 May 2019 13:09:58 +0000 (15:09 +0200)]
Use --description instead of -d for check_service.exe
Michael Friedrich [Fri, 17 May 2019 06:33:34 +0000 (08:33 +0200)]
Merge pull request #7185 from Icinga/bugfix/gelfwriter-wrong-log-facility
Fix wrong facility in GelfWriter log message
Michael Insel [Thu, 16 May 2019 17:50:40 +0000 (19:50 +0200)]
Fix wrong facility in GelfWriter log message
This fixes a wrong facility in GelfWriter log message (paused message).
Michael Insel [Thu, 16 May 2019 17:39:06 +0000 (19:39 +0200)]
Use new I/O engine in GelfWriter
Michael Insel [Sun, 2 Dec 2018 20:01:01 +0000 (21:01 +0100)]
Add documentaion for GelfWriter TLS support
This adds the documentation for the GelfWriter TLS support.
Michael Insel [Fri, 30 Nov 2018 21:08:18 +0000 (22:08 +0100)]
Implement TLS support for the GelfWriter
This implements TLS support for the GelfWriter.
Dirk Goetz [Thu, 9 May 2019 07:25:07 +0000 (09:25 +0200)]
Docs: Add Master-Master-Replication as option for mysql
(cherry picked from commit
c4f1ad7abb454b94194424733241eaab07c33da8 )
Michael Friedrich [Wed, 8 May 2019 16:16:54 +0000 (18:16 +0200)]
Docs: Add initial sync for secondary HA masters, hints on IDO DB clusters
refs #6492
(cherry picked from commit
c2542710b7517bdbc3b14b7f5476e94a2785e581 )
Michael Friedrich [Wed, 8 May 2019 15:48:13 +0000 (17:48 +0200)]
Docs: Improve features chapter and add details on HA setups
refs #4855
(cherry picked from commit
07790e456b6993a272a7e7a91b33b05823492959 )
Michael Friedrich [Wed, 8 May 2019 15:31:36 +0000 (17:31 +0200)]
Docs: Add note for reachability calculation with checks disabled
refs #6844
(cherry picked from commit
15326caf38e9c81d20e4fe6f1b6c9cb3327ac179 )
Michael Friedrich [Thu, 16 May 2019 14:48:25 +0000 (16:48 +0200)]
Update AUTHORS
Alexander A. Klimov [Wed, 17 Apr 2019 13:42:39 +0000 (15:42 +0200)]
ApiListener#ReplayLog(): read current log file too instead of rotating
(cherry picked from commit
407e77883cc274fee19d44035d9812cb4258fb66 )
Alexander A. Klimov [Wed, 17 Apr 2019 12:31:49 +0000 (14:31 +0200)]
ApiListener#RotateLogFile(): don't overwrite previous log
(cherry picked from commit
997d84bfa0b8c53144590547bcffdb6d30695e9b )
Alexander A. Klimov [Wed, 17 Apr 2019 12:18:20 +0000 (14:18 +0200)]
Rotate replay log on shutdown, not on startup
(cherry picked from commit
f44e847717d272833dfc185ef2117390ef5a9f89 )
Alexander A. Klimov [Wed, 17 Apr 2019 11:52:13 +0000 (13:52 +0200)]
ApiListener#ApiTimerHandler(): delete all replayed logs
refs #6932
(cherry picked from commit
9b489cf9b9347fbce5f5f268d83bba556467e2e9 )
Elias Ohm [Wed, 1 May 2019 10:09:24 +0000 (12:09 +0200)]
another small adjustment by the way just to ensure the object on stack ist the same as the one serialized further in case the object does not implement locking on mutation (besides it's mor efficient to not fetch the same value twice)
(cherry picked from commit
cdd843a998bfaa5028369a3fd6d5368bdc6ee568 )
Elias Ohm [Wed, 1 May 2019 09:49:07 +0000 (11:49 +0200)]
add some object locking to the Dump method (which could theoreticylly suffer from same reace condition as serializer)
(cherry picked from commit
44ac6cf1ecd10f2bd5e9b837e78da5dc5257a180 )
Elias Ohm [Sun, 28 Apr 2019 20:13:19 +0000 (22:13 +0200)]
Lock Objects during serialization
old behaviour was to only lock arrays, dictionaries and namespaces but not other objects
(cherry picked from commit
91296c2a250b1aeb0976f252eba5ffdce93c8590 )
Alexander A. Klimov [Tue, 16 Apr 2019 15:38:58 +0000 (17:38 +0200)]
Namespace: place ObjectLock in all methods
(cherry picked from commit
5afda779435c848cf5a8411f713adc9891aa5092 )
Elias Ohm [Thu, 2 May 2019 07:03:30 +0000 (09:03 +0200)]
try without initialization of frame Locals which are not used for permissions filter and as far as I can see also not for query filters
(cherry picked from commit
c10ff9dd726da0485f99f8c8601a0feb95cfd28f )
Elias Ohm [Thu, 2 May 2019 05:35:19 +0000 (07:35 +0200)]
use current frame scope for permission filter function calls
(cherry picked from commit
53febdea819adf58b20a0141e1a1131658f1338c )
Alexander A. Klimov [Tue, 16 Apr 2019 13:53:44 +0000 (15:53 +0200)]
FilterUtility::EvaluateFilter(): ensure not to modify the global namespace
(cherry picked from commit
bdadb53940f1187d60a4679675af164dbb63f37c )
Elias Ohm [Fri, 12 Apr 2019 06:10:57 +0000 (08:10 +0200)]
* use dedicated permissions namespace for scriptframe in filterutility to allow proper parallel execution
* fixes issue https://github.com/Icinga/icinga2/issues/6785 where permission checks get wrong result because permissions checks are done within a shared namespaces without using only unique keys
* mitigates issue https://github.com/Icinga/icinga2/issues/6874 where segmentation faults occur because of concurrent access to non threadsafe parts of namespace (a fix for thread safety of namespaces which would be an alternative approach to get rid of these segfaults is out of scope of this fix as 6785 needs to be fixed anyway and this is the straight-forwards) way to fix that
* do the same for eventqueue (not certain whether events can be processed in parallel but I expect it is the case)
(cherry picked from commit
1e7cd4afc821a0592b535e4270ebb2fdc387a207 )
Michael Friedrich [Wed, 24 Apr 2019 09:33:43 +0000 (11:33 +0200)]
Add log message for log rotate; update docs
refs #6737
(cherry picked from commit
df25b183cb256440a53d1c2fc582b98ceb25d444 )
Alexander A. Klimov [Mon, 11 Mar 2019 10:17:26 +0000 (11:17 +0100)]
Timer::TimerThreadProc(): use C++11 lambda instead of bind()
refs #6737
(cherry picked from commit
7a8f8fd7349269cb2e0e670b8d2a44693e5c07c7 )
Alexander A. Klimov [Thu, 18 Apr 2019 10:23:50 +0000 (12:23 +0200)]
StreamLogger#BindStream(): set #m_FlushLogTimer only if needed
refs #6737
(cherry picked from commit
622f68412440d4fa3ac1b347a929087073bc24f9 )
Elias Ohm [Wed, 17 Apr 2019 20:31:42 +0000 (22:31 +0200)]
Fix for double-free (and possibly other memory-corruption related) crashes at logrotate time
this is a direct fix of the issue revealing the problem that leads to crash
verification done with a patched icinga2 where the execution-order of the code lines of counter-parts involved in re-incrementing/decrementing Timer:Ptr is forced to be the one that leads to the obeserverd segfaults
refs #6737
(cherry picked from commit
52e3db279ab9ff348456234b8a033e703c6f7580 )
marxin [Sat, 27 Apr 2019 10:48:37 +0000 (12:48 +0200)]
Documentation: add missing argument to chkconfig command.
(cherry picked from commit
dd0c7a28ddc2fd0f78f3fbdb1d4651d29e604e1c )
Michael Friedrich [Thu, 9 May 2019 15:48:19 +0000 (17:48 +0200)]
Docs: Use jo to format JSON body for API actions, esp. unix timestamps
(cherry picked from commit
21225c6b48a084c3d96ee1e7c938d30e19a2e395 )
Michael Friedrich [Mon, 6 May 2019 08:19:56 +0000 (10:19 +0200)]
CLI: Fix updates for NodeName/ZoneName constants
fixes #7117
(cherry picked from commit
4197bc9bcd957a1edcf5cec80a9d03fcc4b6c313 )
Michael Friedrich [Fri, 3 May 2019 10:44:29 +0000 (12:44 +0200)]
DB IDO: Do not deactivate objects during application reload/restart
This follows the same principle as with the shutdown handler,
and was introduced with the changed reload handling with 2.9.
Previously IsShuttingDown() was sufficient which got set at one
location.
SigUsr2 as handler introduced a new location where m_ShuttingDown
is not necessarily set yet. Since this handler gets called when
l_Restarting is enabled, we'll use this flag to avoid config update
events resulting in object deactivation (object->IsActive() always
returns false).
refs #5996
refs #6691
refs #6970
fixes #7125
(cherry picked from commit
78e24c53f1564269f744de5efe50cb099cadbdde )
Michael Friedrich [Fri, 12 Apr 2019 10:49:41 +0000 (12:49 +0200)]
Improve REST API docs
- Better explanation for filters and filter_vars
- Update examples to use filters in the body only, don't fuck around with the URL parameters.
- Better explain actions and their intent
- More insights into config packages and their intention
- Improve API clients and add the tables from icinga2-api-examples
- Formatting for CLI requests
(cherry picked from commit
31170db12349f67b48b56f67342225a19e0f34e3 )
Michael Friedrich [Wed, 3 Apr 2019 09:04:07 +0000 (11:04 +0200)]
Fix headings in the docs
refs #6918
(cherry picked from commit
e909302fd90ccc4aecdb99bcc04750c4aa0f098d )
Michael Friedrich [Wed, 3 Apr 2019 13:00:36 +0000 (15:00 +0200)]
Docs: Improve config object types chapter
(cherry picked from commit
2ce82b56d480cb0af469cc5d6feb8eb52c3f9c49 )
Alexander A. Klimov [Thu, 7 Mar 2019 14:38:25 +0000 (15:38 +0100)]
Doc: adjust default of ApiListener#bind_host
(cherry picked from commit
915525dbcdb1af544aa7518250955d9c1d78fa3a )
Michael Friedrich [Thu, 17 Jan 2019 17:20:23 +0000 (18:20 +0100)]
Add technical concept docs for our internal JSON-RPC message API
(cherry picked from commit
3c591a03b048cc3fd00ad75e467797f9448f3fa5 )
Michael Friedrich [Mon, 1 Apr 2019 11:22:15 +0000 (13:22 +0200)]
Technical Concepts: Add config compiler references
(cherry picked from commit
219602761166375b51089aaa25c9d7e28cf692d3 )
Peter Eckel [Mon, 11 Feb 2019 12:54:17 +0000 (13:54 +0100)]
Avoid duplicating non-zero count message replay messages in the debug log
(cherry picked from commit
5d59863725ea843312fd89a9fc9e434187a56650 )
Michael Friedrich [Thu, 16 May 2019 08:02:51 +0000 (10:02 +0200)]
Merge pull request #7181 from Icinga/feature/x509-check-command
Add check command for x509's host check
Johannes Meyer [Mon, 13 May 2019 13:57:27 +0000 (15:57 +0200)]
doc: Add section for x509 to the ITL chapter
Johannes Meyer [Mon, 13 May 2019 12:36:27 +0000 (14:36 +0200)]
Add check command for x509's host check
The refererred PR: https://github.com/Icinga/icingaweb2-module-x509/pull/47
Michael Friedrich [Mon, 13 May 2019 06:34:38 +0000 (08:34 +0200)]
Docs: Fix typos
Michael Friedrich [Fri, 10 May 2019 14:41:53 +0000 (16:41 +0200)]
Merge pull request #7026 from Icinga/feature/ca-list-all
CLI: 'ca list' lists pending CSRs by default, add '--all' parameter
Michael Friedrich [Fri, 10 May 2019 14:22:54 +0000 (16:22 +0200)]
Merge pull request #7179 from Napsty/feature/itl-esxi-hardware-regex
Add new -r parameter for esxi_hardware command
Michael Friedrich [Tue, 9 Oct 2018 15:40:04 +0000 (17:40 +0200)]
CLI: 'ca list' now lists pending CSRs by default, add '--all' parameter
https://puppet.com/docs/puppet/5.5/man/cert.html
Michael Friedrich [Fri, 10 May 2019 13:17:51 +0000 (15:17 +0200)]
Merge pull request #7180 from Icinga/bugfix/revert-exit-code
Revert "CLI: Return non-zero on unknown sub commands"
Michael Friedrich [Fri, 10 May 2019 13:16:05 +0000 (15:16 +0200)]
Revert "CLI: Return non-zero on unknown sub commands"
This reverts commit
00bc0b230357bf02c1c9da4ca59c2d359c73a538 .
Napsty [Fri, 10 May 2019 12:51:11 +0000 (14:51 +0200)]
Add new -r parameter for esxi_hardware command
Michael Friedrich [Fri, 10 May 2019 12:40:48 +0000 (14:40 +0200)]
Merge pull request #7178 from Icinga/bugfix/api-package-repair
API: Automatically repair broken _api package
Michael Friedrich [Fri, 10 May 2019 12:39:27 +0000 (14:39 +0200)]
Merge pull request #7154 from Elias481/fix/serializer-object-locking-7003
Lock all kind of Objects during serialization
Napsty [Fri, 10 May 2019 11:46:11 +0000 (13:46 +0200)]
Add new -r parameter for esxi_hardware command
Michael Friedrich [Fri, 10 May 2019 11:38:12 +0000 (13:38 +0200)]
Workaround for boost::filesystem and Visual Studio on Windows
Michael Friedrich [Fri, 10 May 2019 11:24:01 +0000 (13:24 +0200)]
Merge pull request #7172 from Elias481/fix/generate-rsa-4635-org
Account for OpenSSL library evolution
Michael Friedrich [Fri, 10 May 2019 10:48:34 +0000 (12:48 +0200)]
API: Automatically repair broken packages
This partially reverts #7150 and avoids exceptions
inside the flow. Each time an empty active stage
is detected, Icinga tries to repair it from the
the given directory tree.
Also, the code now takes into account that it should
create the package storage on startup, whether within
the API object, or if disabled, inside the application.
Caching the active stages for packages in memory
only is in effect with the API feature being enabled.
This is useful for other deployed config packages,
not only the internal one.
fixes #7173
refs #7150
refs #7119
fixes #6959
Michael Friedrich [Thu, 9 May 2019 15:56:29 +0000 (17:56 +0200)]
Merge pull request #7175 from Icinga/feature/docs-api-jo-timestamps
Docs: Use jo to format JSON body for API actions, esp. unix timestamps
Michael Friedrich [Thu, 9 May 2019 15:48:19 +0000 (17:48 +0200)]
Docs: Use jo to format JSON body for API actions, esp. unix timestamps
Michael Friedrich [Thu, 9 May 2019 12:47:49 +0000 (14:47 +0200)]
Merge pull request #7165 from Icinga/feature/enhance-dev-docs
Doc: Improve the development chapter
Michael Friedrich [Thu, 9 May 2019 12:25:31 +0000 (14:25 +0200)]
Merge pull request #7171 from dgoetz/bugfix/doc-mysql-ha
Docs: Add Master-Master-Replication as option for mysql
Elias Ohm [Thu, 9 May 2019 07:30:12 +0000 (09:30 +0200)]
fixup errbuf length in the other files and avoid using the static buffer in one place (for thread safety and code consistency reasons)
Dirk Goetz [Thu, 9 May 2019 07:25:07 +0000 (09:25 +0200)]
Docs: Add Master-Master-Replication as option for mysql
Elias Ohm [Wed, 8 May 2019 22:22:24 +0000 (00:22 +0200)]
bring some things in line
- account for documented buffer size openssl 1.1.x for error string (>=256 bytes)
- use nullptr instead of NULL
- fix/streamline null-checks
Jean Flach [Fri, 25 Aug 2017 12:46:35 +0000 (14:46 +0200)]
Don't use deprecated RSA_generate_key
fixes #4635
Michael Friedrich [Wed, 8 May 2019 16:25:25 +0000 (18:25 +0200)]
Merge pull request #7169 from Icinga/feature/enhance-docs
Docs: Improve distributed, features HA, reachability chapters
Michael Friedrich [Wed, 8 May 2019 16:18:21 +0000 (18:18 +0200)]
Merge pull request #7168 from Icinga/bugfix/config-packages-regression
Fix deadlock in API config packages
Michael Friedrich [Wed, 8 May 2019 16:16:54 +0000 (18:16 +0200)]
Docs: Add initial sync for secondary HA masters, hints on IDO DB clusters
refs #6492
Michael Friedrich [Wed, 8 May 2019 15:48:13 +0000 (17:48 +0200)]
Docs: Improve features chapter and add details on HA setups
refs #4855
Michael Friedrich [Wed, 8 May 2019 15:31:36 +0000 (17:31 +0200)]
Docs: Add note for reachability calculation with checks disabled
refs #6844
Michael Friedrich [Wed, 8 May 2019 14:43:27 +0000 (16:43 +0200)]
Config packages: Catch active stage exceptions in rare cases
Typically this already is detected on startup.
Michael Friedrich [Wed, 8 May 2019 14:06:46 +0000 (16:06 +0200)]
Avoid dead-lock with config packages and active stages
Michael Friedrich [Wed, 8 May 2019 10:03:23 +0000 (12:03 +0200)]
Merge pull request #7166 from Icinga/feature/pure-mariadb-libs
cmake: Update MySQL autodetection to support MariaDB
Markus Frosch [Tue, 7 May 2019 20:18:50 +0000 (22:18 +0200)]
cmake: Update MySQL autodetection to support MariaDB
Michael Insel [Tue, 7 May 2019 15:22:30 +0000 (17:22 +0200)]
Doc: Install C++ & .NET Desktop in Windows Dev Env
For developing the Icinga Windows parts you need the C++ Desktop and
.NET Desktop workloads in Visual Studio.
Michael Insel [Tue, 7 May 2019 15:08:23 +0000 (17:08 +0200)]
Doc: Fix package build indentation
This fixes the broken indentation in the development package build
chapter (only visible in MkDocs).
Michael Insel [Tue, 7 May 2019 14:30:06 +0000 (16:30 +0200)]
Doc: Move VS Github extension under code tools
The Visual Studio Github extension is located under code tools.
Michael Insel [Tue, 7 May 2019 14:27:40 +0000 (16:27 +0200)]
Doc: Fix Windows Dev Env indentation
This fixes the broken indentation in the Development with Visual Studio
chapter (only visible in MkDocs).
Michael Friedrich [Tue, 7 May 2019 13:58:44 +0000 (15:58 +0200)]
Merge pull request #7164 from Icinga/bugfix/notification-times-validate
Improve validation for times.{begin,end} in notification objects
Michael Friedrich [Tue, 7 May 2019 13:21:21 +0000 (15:21 +0200)]
Merge pull request #7163 from Icinga/bugfix/db-ido-reachable
DB IDO: Use cached reachable state
Michael Friedrich [Tue, 30 Apr 2019 13:56:57 +0000 (15:56 +0200)]
Improve validation for times.{begin,end} in notification objects
fixes #6939
Michael Friedrich [Tue, 7 May 2019 11:47:09 +0000 (13:47 +0200)]
DB IDO: Use cached reachable state
fixes #6844
Michael Friedrich [Tue, 7 May 2019 11:23:05 +0000 (13:23 +0200)]
Merge pull request #7162 from Icinga/bugfix/cli-no-command-status-code
CLI: Return non-zero on unknown sub commands
Michael Friedrich [Tue, 7 May 2019 10:43:53 +0000 (12:43 +0200)]
CLI: Return non-zero on unknown sub commands
fixes #6585