]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Wed, 5 Jun 2019 11:11:12 +0000 (13:11 +0200)]
Docs: Enrich the service monitoring chapter introduction
- Plugin integration with commands
- Plugin API spec and code examples
- Overview
Michael Friedrich [Wed, 5 Jun 2019 10:58:53 +0000 (12:58 +0200)]
Docs: Add details about thresholds and ranges to the plugin API spec
Michael Friedrich [Wed, 5 Jun 2019 09:23:20 +0000 (11:23 +0200)]
Docs: Add performance data metrics spec for plugin API
This imports the plugin API html spec, but in a more gentle
readable fashion with better examples.
This allows us to extend this specification later on.
Michael Friedrich [Wed, 5 Jun 2019 09:21:07 +0000 (11:21 +0200)]
Docs: Add verbose tip for plugin creation
Michael Friedrich [Tue, 4 Jun 2019 15:46:45 +0000 (17:46 +0200)]
Docs: Improve plugin integration
Michael Friedrich [Thu, 9 May 2019 12:54:49 +0000 (14:54 +0200)]
Docs: Write our own plugin API specification
Rationale: The linked HTML document lacks the right
formatting and is very hard to read and understand.
Also, it doesn't explain plugin timeouts being best
practice, nor shows good programmatic examples.
Today, I prefer Python over Perl, and will share my
knowledge in the docs too.
Michael Friedrich [Wed, 5 Jun 2019 09:40:14 +0000 (11:40 +0200)]
Merge pull request #7219 from Icinga/feature/api-cipherlist
API: Harden default cipher list
Michael Friedrich [Wed, 5 Jun 2019 07:55:49 +0000 (09:55 +0200)]
Add cipher list change to upgrading docs
Michael Friedrich [Mon, 3 Jun 2019 16:09:57 +0000 (18:09 +0200)]
API: Harden default cipher list
According to https://www.acunetix.com/blog/articles/tls-ssl-cipher-hardening/
Michael Friedrich [Tue, 4 Jun 2019 11:13:20 +0000 (13:13 +0200)]
Merge pull request #7224 from Icinga/bugfix/docs-lang-ref
Docs: Mark include_zones as internal consumed functionality
Michael Friedrich [Tue, 4 Jun 2019 11:11:17 +0000 (13:11 +0200)]
Docs: Mark include_zones as internal consumed functionality
Asked during the Icinga Advanced training.
Michael Friedrich [Tue, 4 Jun 2019 07:34:32 +0000 (09:34 +0200)]
Merge pull request #7213 from widhalmt/doc/global-zones
Docs: Add note about not to use director-global for own configuration
Thomas Widhalm [Fri, 31 May 2019 13:49:14 +0000 (15:49 +0200)]
Docs: Add note about not to use director-global for your own configuration
Michael Friedrich [Mon, 3 Jun 2019 14:19:22 +0000 (16:19 +0200)]
Merge pull request #7211 from Icinga/feature/asio-tls-version
Require TLS 1.2 for Cluster & REST API
Michael Friedrich [Mon, 3 Jun 2019 14:06:13 +0000 (16:06 +0200)]
Merge pull request #7216 from peteeckel/fix/provide-snmpv3-context-option-7215
Provide the snmpv3_context option
Michael Friedrich [Mon, 3 Jun 2019 09:20:30 +0000 (11:20 +0200)]
Merge pull request #7204 from episodeiv/master
Allow setting the SNMP version for check_iftraffic.pl
Michael Friedrich [Mon, 3 Jun 2019 09:19:12 +0000 (11:19 +0200)]
Docs: Add iftraffic version note, fix broken URL
Peter Eckel [Mon, 3 Jun 2019 08:56:00 +0000 (10:56 +0200)]
Provide the snmpv3_context option and the corresponding item in the documentation
Michael Friedrich [Mon, 3 Jun 2019 07:39:39 +0000 (09:39 +0200)]
Merge pull request #7214 from breml/patch-1
Docs: Fix typo
Lucas Bremgartner [Mon, 3 Jun 2019 07:03:16 +0000 (09:03 +0200)]
Docs: fix typo
Michael Friedrich [Wed, 29 May 2019 15:07:31 +0000 (17:07 +0200)]
Require TLS 1.2 for Cluster & REST API
refs #7041
Michael Friedrich [Wed, 29 May 2019 13:40:19 +0000 (15:40 +0200)]
Merge pull request #7210 from Icinga/bugfix/boost-asio-deprecated
Quality: Replace deprecated get_io_service() with get_executor().context() for Boost ASIO
Michael Friedrich [Wed, 29 May 2019 12:50:40 +0000 (14:50 +0200)]
Merge pull request #7196 from Icinga/feature/network-cleanup
Cleanup old code (HTTP, Cluster)
Michael Friedrich [Wed, 29 May 2019 12:36:10 +0000 (14:36 +0200)]
Quality: Replace deprecated get_io_service() with get_executor().context() for Boost ASIO
refs #7041
Michael Friedrich [Wed, 29 May 2019 12:17:36 +0000 (14:17 +0200)]
Quality: Mark NetworkStream, TcpSocket & UnixSocket classes as deprecated
They're used inside the Livestatus feature which needs rework.
Dennis Lichtenthäler [Wed, 29 May 2019 08:57:49 +0000 (10:57 +0200)]
Add documentation for iftraffic_version
Michael Friedrich [Tue, 28 May 2019 13:25:25 +0000 (15:25 +0200)]
Merge pull request #7205 from Icinga/feature/remove-cli-troubleshoot
CLI: Remove broken troubleshoot command
Michael Friedrich [Tue, 28 May 2019 11:46:19 +0000 (13:46 +0200)]
Quality: Removed unused HttpChunkedEncoding class
Michael Friedrich [Tue, 28 May 2019 11:03:34 +0000 (13:03 +0200)]
Quality: Remove old MakeSSLContext() interface
Michael Friedrich [Tue, 28 May 2019 10:31:38 +0000 (12:31 +0200)]
CLI: Remove broken troubleshoot command
It wasn't finished nor have we used it for support questions.
Issue templates, troubleshooting docs and external scripts
serve a better purpose here, especially with distributed systems.
Dennis Lichtenthäler [Tue, 28 May 2019 09:08:37 +0000 (11:08 +0200)]
Allow setting the SNMP version for check_iftraffic.pl
This is not supported in check_iftraffic.pl master yet
but there's a pull request at https://github.com/NETWAYS/check_iftraffic/pull/4
Michael Friedrich [Mon, 27 May 2019 14:49:51 +0000 (16:49 +0200)]
Quality: Use Boost ASIO/IO engine in Graphite feature
This commit changes the reconnect priority to high.
Also add function docs.
Michael Friedrich [Mon, 27 May 2019 13:09:26 +0000 (15:09 +0200)]
Quality: Rewrite OpenTSDB to use Boost ASIO and I/O engine
The connection handling and code isn't really good, but not
really actively maintained either.
Besides that, the "telnet" method doesn't allow for TLS,
this needs a general rewrite against their HTTP API.
I've also added function documentation where applicable.
Michael Friedrich [Mon, 27 May 2019 07:58:25 +0000 (09:58 +0200)]
Merge pull request #7200 from Icinga/bugfix/docs-trailing-whitespace-typo
Docs: Replace 'training whitespaces' with 'trailing whitespaces'
Michael Friedrich [Mon, 27 May 2019 07:57:51 +0000 (09:57 +0200)]
Merge pull request #7201 from Icinga/bugfix/update-more-copyright-headers
Unify copyright headers
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.
Noah Hilverling [Fri, 24 May 2019 14:24:28 +0000 (16:24 +0200)]
Docs: Replace 'training whitespaces' with 'trailing whitespaces'
Michael Friedrich [Fri, 24 May 2019 13:34:02 +0000 (15:34 +0200)]
Quality: Drop unused boost/tuple header include
Michael Friedrich [Fri, 24 May 2019 08:07:51 +0000 (10:07 +0200)]
Quality: Remove old SocketEvent functionality
Michael Friedrich [Fri, 24 May 2019 07:19:15 +0000 (09:19 +0200)]
Quality: Purge old TlsStream functionality
Michael Friedrich [Thu, 23 May 2019 15:25:56 +0000 (17:25 +0200)]
Quality: Clean JsonRPC class and add function docs
Michael Friedrich [Thu, 23 May 2019 13:25:08 +0000 (15:25 +0200)]
Quality: Purge old HTTP code in lib/remote
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