]> granicus.if.org Git - icinga2/log
icinga2
4 years agoRelease version 2.10.5 v2.10.5
Michael Friedrich [Thu, 23 May 2019 11:56:44 +0000 (13:56 +0200)]
Release version 2.10.5

4 years agoDocs: Remove EOL distributions (SLES11, Ubuntu 14)
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)

4 years agoAdjust docs for 2.10.x from cherry-picked commits
Michael Friedrich [Tue, 21 May 2019 14:46:31 +0000 (16:46 +0200)]
Adjust docs for 2.10.x from cherry-picked commits

4 years agoUpdate technical concepts docs on object authority and HA aware features
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)

4 years agoQuickfix technical docs for debugging
Michael Friedrich [Tue, 23 Apr 2019 11:47:40 +0000 (13:47 +0200)]
Quickfix technical docs for debugging

(cherry picked from commit 0bd1d9a6f86df5072fe58bd6c5530c6ff1693310)

5 years agoDocs: Add Master-Master-Replication as option for mysql
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)

5 years agoDocs: Add initial sync for secondary HA masters, hints on IDO DB clusters
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)

5 years agoDocs: Improve features chapter and add details on HA setups
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)

5 years agoDocs: Add note for reachability calculation with checks disabled
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)

5 years agoUpdate AUTHORS
Michael Friedrich [Thu, 16 May 2019 14:48:25 +0000 (16:48 +0200)]
Update AUTHORS

5 years agoApiListener#ReplayLog(): read current log file too instead of rotating
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)

5 years agoApiListener#RotateLogFile(): don't overwrite previous log
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)

5 years agoRotate replay log on shutdown, not on startup
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)

5 years agoApiListener#ApiTimerHandler(): delete all replayed logs
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)

5 years agoanother small adjustment by the way just to ensure the object on stack ist the same...
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)

5 years agoadd some object locking to the Dump method (which could theoreticylly suffer from...
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)

5 years agoLock Objects during serialization
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)

5 years agoNamespace: place ObjectLock in all methods
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)

5 years agotry without initialization of frame Locals which are not used for permissions filter...
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)

5 years agouse current frame scope for permission filter function calls
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)

5 years agoFilterUtility::EvaluateFilter(): ensure not to modify the global namespace
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)

5 years ago* use dedicated permissions namespace for scriptframe in filterutility to allow prope...
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)

5 years agoAdd log message for log rotate; update docs
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)

5 years agoTimer::TimerThreadProc(): use C++11 lambda instead of bind()
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)

5 years agoStreamLogger#BindStream(): set #m_FlushLogTimer only if needed
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)

5 years agoFix for double-free (and possibly other memory-corruption related) crashes at logrota...
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)

5 years agoDocumentation: add missing argument to chkconfig command.
marxin [Sat, 27 Apr 2019 10:48:37 +0000 (12:48 +0200)]
Documentation: add missing argument to chkconfig command.

(cherry picked from commit dd0c7a28ddc2fd0f78f3fbdb1d4651d29e604e1c)

5 years agoDocs: 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

(cherry picked from commit 21225c6b48a084c3d96ee1e7c938d30e19a2e395)

5 years agoCLI: Fix updates for NodeName/ZoneName constants
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)

5 years agoDB IDO: Do not deactivate objects during application reload/restart
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)

5 years agoImprove REST API docs
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)

5 years agoFix headings in the docs
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)

5 years agoDocs: Improve config object types chapter
Michael Friedrich [Wed, 3 Apr 2019 13:00:36 +0000 (15:00 +0200)]
Docs: Improve config object types chapter

(cherry picked from commit 2ce82b56d480cb0af469cc5d6feb8eb52c3f9c49)

5 years agoDoc: adjust default of ApiListener#bind_host
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)

5 years agoAdd technical concept docs for our internal JSON-RPC message API
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)

5 years agoTechnical Concepts: Add config compiler references
Michael Friedrich [Mon, 1 Apr 2019 11:22:15 +0000 (13:22 +0200)]
Technical Concepts: Add config compiler references

(cherry picked from commit 219602761166375b51089aaa25c9d7e28cf692d3)

5 years agoAvoid duplicating non-zero count message replay messages in the debug log
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)

5 years agoFix code block in distributed monitoring docs
Michael Friedrich [Thu, 28 Mar 2019 08:56:49 +0000 (09:56 +0100)]
Fix code block in distributed monitoring docs

5 years agoREST API Docs: Add Golang client code example
Michael Friedrich [Tue, 26 Mar 2019 08:46:36 +0000 (09:46 +0100)]
REST API Docs: Add Golang client code example

(cherry picked from commit 4296622f526dfe17ffe9155430f38f39616288a4)

5 years agoDocument that `ca list` is not an inventory, add cleanup cycle
Michael Friedrich [Mon, 25 Mar 2019 09:59:55 +0000 (10:59 +0100)]
Document that `ca list` is not an inventory, add cleanup cycle

(cherry picked from commit 870de6a35d48136e2a393b8b975bd365dd602909)

5 years agoFix incorrect title in API docs
Luiz Amaral [Thu, 28 Mar 2019 08:50:12 +0000 (09:50 +0100)]
Fix incorrect title in API docs

Partially picked from ae2de7b423fe67c6ca135123fe676b444e4b4367

5 years agoUnify documentation code formatting
Michael Insel [Thu, 7 Mar 2019 18:56:49 +0000 (19:56 +0100)]
Unify documentation code formatting

This unifies the documentation code formatting to use only backticks.

(cherry picked from commit 081d88436f66725152f5f5b58d07053da7ababd5)

5 years agoHttpServerConnection#DataAvailableHandler(): reduce log spam
Alexander A. Klimov [Mon, 7 Jan 2019 14:32:19 +0000 (15:32 +0100)]
HttpServerConnection#DataAvailableHandler(): reduce log spam

(cherry picked from commit f4ab0737d127284dae76483c7c4b0638e4a5f01d)

5 years agoRelease version 2.10.4 v2.10.4
Michael Friedrich [Tue, 19 Mar 2019 11:55:29 +0000 (12:55 +0100)]
Release version 2.10.4

5 years agoFix check_perfmon to support non-localized names
Michael Insel [Mon, 26 Nov 2018 16:13:58 +0000 (17:13 +0100)]
Fix check_perfmon to support non-localized names

This fixes check_perfmon to support non-localized names on localized
Windows machines. The fix handles the given performance counter by
default as non-localized name, if none is found it falls back to the
localized name.

refs #5546

(cherry picked from commit 5da4fbde3b501c174ec028b7a7ae036194a5a77e)

5 years agoDocs: Update supported package repos in Getting Started chapter
Michael Friedrich [Tue, 19 Mar 2019 11:08:19 +0000 (12:08 +0100)]
Docs: Update supported package repos in Getting Started chapter

- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO

(cherry picked from commit 1c546a7b510a1f15059932ccc60ab52161c68915)

5 years agoUpdate RELEASE checklist
Michael Friedrich [Tue, 19 Mar 2019 10:50:30 +0000 (11:50 +0100)]
Update RELEASE checklist

5 years agoUpdate AUTHORS
Michael Friedrich [Tue, 19 Mar 2019 10:50:17 +0000 (11:50 +0100)]
Update AUTHORS

5 years agocheck_network -h: drop non-existent feature
Alexander A. Klimov [Fri, 8 Mar 2019 15:55:06 +0000 (16:55 +0100)]
check_network -h: drop non-existent feature

refs #6155

(cherry picked from commit 9f26569bcc203d98498466cc1ffa6549a9b81998)

5 years agoFix heading level in development chapter
Michael Insel [Mon, 18 Mar 2019 16:20:28 +0000 (17:20 +0100)]
Fix heading level in development chapter

This fixes the wrong heading level for the Debian development
environment.

(cherry picked from commit da3775b6dbc0541558b9ee3618b55f057297a137)

5 years agoSELinux: add unreserved_port_type attribute to icinga2_port_t
Dirk Goetz [Mon, 18 Mar 2019 18:43:47 +0000 (19:43 +0100)]
SELinux: add unreserved_port_type attribute to icinga2_port_t

Fixes #7029

(cherry picked from commit 726be2fec262f10b42649d1dad5099336e8610e9)

5 years agoElasticsearchWriter: don't leak sockets
Alexander A. Klimov [Fri, 15 Mar 2019 12:15:24 +0000 (13:15 +0100)]
ElasticsearchWriter: don't leak sockets

refs #7018

(cherry picked from commit b2e2b587da530a5b79f746ed0db5b3804b502e07)

5 years agoInfluxdbWriter: don't leak sockets
Alexander A. Klimov [Fri, 1 Mar 2019 13:30:49 +0000 (14:30 +0100)]
InfluxdbWriter: don't leak sockets

refs #6989

(cherry picked from commit 2a6b122413dfc8762a7839bbe41c125455a17b5c)

5 years agoMerge pull request #7032 from Icinga/feature/backport-defer
Michael Friedrich [Tue, 19 Mar 2019 10:28:48 +0000 (11:28 +0100)]
Merge pull request #7032 from Icinga/feature/backport-defer

Backport Defer class for 2.10

5 years agoBackport Defer class for 2.10 7032/head
Michael Friedrich [Tue, 19 Mar 2019 10:23:18 +0000 (11:23 +0100)]
Backport Defer class for 2.10

5 years agoFix nested hostgroup example
Bas Couwenberg [Tue, 26 Feb 2019 07:49:36 +0000 (08:49 +0100)]
Fix nested hostgroup example

In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.

(cherry picked from commit 8d3c8fd107f5c6e0da5551992208213fd4b8a867)

5 years agoNotification#BeginExecuteNotification(): SetNextNotification() correctly
Alexander A. Klimov [Fri, 11 Jan 2019 17:25:12 +0000 (18:25 +0100)]
Notification#BeginExecuteNotification(): SetNextNotification() correctly

refs #5561

(cherry picked from commit 3b2054761ad90e71fba82d13cd57d7388f524993)

5 years agoDon't run UpdateObjectAuthority for Comments and Downtimes
Jean Flach [Thu, 10 Jan 2019 10:44:14 +0000 (11:44 +0100)]
Don't run UpdateObjectAuthority for Comments and Downtimes

(cherry picked from commit 2aff6a5887112259d795401e907a879ce424db51)

5 years agoFix that no_more_notifications gets reset when Recovery notifications are filtered...
Michael Friedrich [Thu, 8 Nov 2018 11:13:32 +0000 (12:13 +0100)]
Fix that no_more_notifications gets reset when Recovery notifications are filtered away

Hello from the OSMC hackathon :)

(cherry picked from commit d082e8c1b19c88a68e0381db7f5806f31fe8523d)

5 years agoUpdate Windows agent documentation screenshots
Michael Insel [Thu, 25 Oct 2018 16:07:05 +0000 (18:07 +0200)]
Update Windows agent documentation screenshots

Updates the Windows agent screenshots in the documentation with the new design.

refs #6729

(cherry picked from commit a1540aebcc4b082fbdcd56bbae69b02063a2c517)

5 years agoUpdate Windows Agent design
Michael Insel [Thu, 25 Oct 2018 16:00:10 +0000 (18:00 +0200)]
Update Windows Agent design

This updates the Windows agent design to use the Icinga background
image.

refs #6729

(cherry picked from commit 68faeccff817b15c9c7838670c49067aaf242c43)

5 years agoAssignment operators doc: tell what the { } are for
Alexander A. Klimov [Fri, 8 Mar 2019 15:39:23 +0000 (16:39 +0100)]
Assignment operators doc: tell what the { } are for

refs #5430

(cherry picked from commit 5e08e033ad6ddaba59734b49a5775fd0965f2b5f)

5 years agoDoc: write systemd lower-case
Alexander A. Klimov [Tue, 26 Feb 2019 13:46:22 +0000 (14:46 +0100)]
Doc: write systemd lower-case

See spelling chapter in https://freedesktop.org/wiki/Software/systemd/

(cherry picked from commit e7f2370ada3129881e989a40eb40636f8c6dd131)

5 years agoTypo and link fix
Lee Garrett [Tue, 5 Mar 2019 16:40:14 +0000 (17:40 +0100)]
Typo and link fix

(cherry picked from commit 0a582905c5624056beca58cfcba44d954a20a91b)

5 years agoIgnore failure of unit test base_utility/comparepasswords_issafe
Alexander A. Klimov [Tue, 26 Feb 2019 10:45:03 +0000 (11:45 +0100)]
Ignore failure of unit test base_utility/comparepasswords_issafe

... as volatile system load may cause false negatives

(cherry picked from commit 646feb76e06155f908a4dcee51144db8f05a114f)

5 years agoDon't require OS headers to provide SO_REUSEPORT
Alexander A. Klimov [Tue, 26 Feb 2019 10:25:44 +0000 (11:25 +0100)]
Don't require OS headers to provide SO_REUSEPORT

(cherry picked from commit bf0c68757f99f88b43d7696f98d8361f39b83b82)

5 years agoRelease version 2.10.3 v2.10.3
Michael Friedrich [Mon, 25 Feb 2019 15:53:13 +0000 (16:53 +0100)]
Release version 2.10.3

5 years agoDynamically print current copyright year in `--version` output
Michael Friedrich [Mon, 7 Jan 2019 14:59:24 +0000 (15:59 +0100)]
Dynamically print current copyright year in `--version` output

(cherry picked from commit c1fedab7aea73f6aa9c9357c54c409665239d698)

5 years agoFix formatting in development docs
Michael Friedrich [Mon, 25 Feb 2019 12:40:58 +0000 (13:40 +0100)]
Fix formatting in development docs

(cherry picked from commit 710e4fa55e919032bd3b45c774130e1f938d3f81)

5 years agoTest Utility::ComparePasswords()
Alexander A. Klimov [Fri, 22 Feb 2019 15:58:26 +0000 (16:58 +0100)]
Test Utility::ComparePasswords()

(cherry picked from commit 1b00331a88c396ab8c94188855074ed907a5bd66)

5 years agoSecure ApiUser::GetByAuthHeader() against timing attacks
Alexander A. Klimov [Fri, 22 Feb 2019 10:37:07 +0000 (11:37 +0100)]
Secure ApiUser::GetByAuthHeader() against timing attacks

(cherry picked from commit 9558ebc0f46febc7692bbb65394708b78b276d46)

5 years agoMerge pull request #6971 from Icinga/bugfix/downtime-acti
Michael Friedrich [Mon, 25 Feb 2019 09:14:30 +0000 (10:14 +0100)]
Merge pull request #6971 from Icinga/bugfix/downtime-acti

Activate downtimes before any checkable object

5 years agoActivate downtimes before any checkable object 6971/head
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object

(cherry picked from commit 7936a147ba82ce7e19de43ccb5f4c830edd8d235)

5 years agoDebug: Log calls to ConfigObject::Deactivate()
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()

Only available in debug builds.

(cherry picked from commit d98c0704c446b0fd47b18b610a92ac75de180853)

5 years agoTroubleshooting: Add notes on ephemeral port range blocking on Windows agents
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents

(cherry picked from commit 6558287da03bb526ba2728201ff7d558a09faf46)

5 years agoRefactor conditions and add debug log messages for future crs and skipped crs
Michael Friedrich [Fri, 8 Feb 2019 12:32:13 +0000 (13:32 +0100)]
Refactor conditions and add debug log messages for future crs and skipped crs

(cherry picked from commit d1fb1a8eda05018c5f665fceeb52569e243a7b65)

5 years agoFix checkresults from the future breaking checks
Jean Flach [Fri, 11 Jan 2019 15:16:45 +0000 (16:16 +0100)]
Fix checkresults from the future breaking checks

(cherry picked from commit c97f3c80f550320abcbc3bcbaa0a3673c2091c34)

5 years agoDoc: Add .NET 3.5 to the windows build stack
Michael Insel [Fri, 1 Feb 2019 15:46:28 +0000 (16:46 +0100)]
Doc: Add .NET 3.5 to the windows build stack

The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.

(cherry picked from commit 52d81d0af522956fec4ef63c0e3c06158cbefbf9)

5 years agoDon't allow retry_interval <= 0
Michael Friedrich [Mon, 28 Jan 2019 16:33:05 +0000 (17:33 +0100)]
Don't allow retry_interval <= 0

(cherry picked from commit 8cbd4820725655e3c4ae06aef78308183be016da)

5 years agoDowntime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDown...
Alexander A. Klimov [Mon, 28 Jan 2019 17:29:57 +0000 (18:29 +0100)]
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes

(cherry picked from commit ce847324bc8abe4f36071633b999fa88ba2213f3)

5 years agoValidate Zone::GetLocalZone() before using
Alexander A. Klimov [Tue, 15 Jan 2019 18:23:20 +0000 (19:23 +0100)]
Validate Zone::GetLocalZone() before using

(cherry picked from commit b09e7b287e6b4bbc277c9ef7828e34f884927f82)

5 years agoLog: Ensure not to pass negative values to localtime()
Michael Friedrich [Wed, 16 Jan 2019 16:27:38 +0000 (17:27 +0100)]
Log: Ensure not to pass negative values to localtime()

refs #6887

(cherry picked from commit 2fc33996b620d97e54d75b0d8c101fb3d9ba791c)

5 years agoAllow Checkable#retry_interval to be 0
Alexander A. Klimov [Wed, 9 Jan 2019 10:27:33 +0000 (11:27 +0100)]
Allow Checkable#retry_interval to be 0

refs #6871

(cherry picked from commit 9ae738d17fa6220d988001e4c56155aa6535992c)

5 years agoDocument that retry_interval is only used after an active check result
Max Rosin [Wed, 5 Dec 2018 15:28:03 +0000 (16:28 +0100)]
Document that retry_interval is only used after an active check result

fixes #6795

(cherry picked from commit 00757919b322bc930360694c30485977cfb5506a)

5 years agoDocs: Formatting for dev requirements
Michael Friedrich [Tue, 4 Dec 2018 11:21:54 +0000 (12:21 +0100)]
Docs: Formatting for dev requirements

(cherry picked from commit 00673cd75911e56cf977fdb5c14c809a97c01e6d)

5 years agoMinor updates for core dumps
Michael Friedrich [Tue, 4 Dec 2018 11:14:01 +0000 (12:14 +0100)]
Minor updates for core dumps

The main parts are discussed in #6723

(cherry picked from commit 43c171056f826cf08b4155472ad9a6a4d14ba8a9)

5 years agoUpdate TOC
Michael Friedrich [Tue, 4 Dec 2018 09:58:44 +0000 (10:58 +0100)]
Update TOC

(cherry picked from commit 01d2a17683659e17b0cc311135937e0d5748a05d)

5 years agoPurge INSTALL.md and add packager info to README.md
Michael Friedrich [Tue, 4 Dec 2018 09:54:39 +0000 (10:54 +0100)]
Purge INSTALL.md and add packager info to README.md

Everything is located in the online documentation, where the README.md
points to.

(cherry picked from commit 9801b8b7a040fd4c91aa05d596ec644ddd294bdc)

5 years agoFix formatting in dev docs
Michael Friedrich [Tue, 4 Dec 2018 09:51:04 +0000 (10:51 +0100)]
Fix formatting in dev docs

(cherry picked from commit 8cbe286e676a56c536cee517b898cbe2f25b2547)

5 years agoDocs: Update README.md with a better description and direct URLs to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 10:28:39 +0000 (11:28 +0100)]
Docs: Update README.md with a better description and direct URLs to icinga.com/docs

(cherry picked from commit e0b3e05c636db082da264c92fc02593f7ff44ded)

5 years agoDocs: Update anchors
Michael Friedrich [Mon, 3 Dec 2018 10:15:04 +0000 (11:15 +0100)]
Docs: Update anchors

(cherry picked from commit ac9ed41537b36d7a41e26e8535e208579cccbfc2)

5 years agoDocs: More updates on dev environments, add mini TOC
Michael Friedrich [Mon, 3 Dec 2018 10:11:16 +0000 (11:11 +0100)]
Docs: More updates on dev environments, add mini TOC

(cherry picked from commit ec39a74453f673032cd52edb29eb747d80cb5fe9)

5 years agoDocs: Simplify INSTALL.md and point to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 08:50:39 +0000 (09:50 +0100)]
Docs: Simplify INSTALL.md and point to icinga.com/docs

(cherry picked from commit 3827e15c4abf49b4ecdbd23d36e76cb4fdab67a0)

5 years agoDocs: Delete extra docs for windows builds
Michael Friedrich [Mon, 3 Dec 2018 08:49:42 +0000 (09:49 +0100)]
Docs: Delete extra docs for windows builds

This should be visible in icinga.com/docs, no extra
docs needed.

(cherry picked from commit c6fc144102eada72ff8146f4be00fd48ceb0d423)

5 years agoDocs: First draft for development docs
Michael Friedrich [Mon, 3 Dec 2018 08:49:27 +0000 (09:49 +0100)]
Docs: First draft for development docs

(cherry picked from commit 4382b87baa0f4fa433772b2b38814fce0d443200)

5 years agoAdd technical docs for the check scheduler (general, initial check, offsets)
Michael Friedrich [Wed, 14 Nov 2018 13:25:37 +0000 (14:25 +0100)]
Add technical docs for the check scheduler (general, initial check, offsets)

David asked me about initial check offsets, so I wrote something :)

(cherry picked from commit 9409e93bc798ffbe497c97cd110b492d533ce9dc)

5 years agoUpdate AUTHORS
Michael Friedrich [Mon, 11 Feb 2019 12:17:52 +0000 (13:17 +0100)]
Update AUTHORS

5 years agoFix check_swap percentage calculation
Michael Insel [Fri, 8 Feb 2019 15:57:19 +0000 (16:57 +0100)]
Fix check_swap percentage calculation

This fixes the check_swap percentage calculation. When the pagefile is
turned off the available swap and total swap are 0 which leads to a
wrong calculation and misformated output.

refs #6913

(cherry picked from commit 4961e9ba62eebcfc1cf22e1840b289e4eab067d2)

5 years agoTcpSocket#Bind(): also set SO_REUSEPORT
Alexander A. Klimov [Thu, 17 Jan 2019 11:13:44 +0000 (12:13 +0100)]
TcpSocket#Bind(): also set SO_REUSEPORT

refs #6898

(cherry picked from commit 984f7be03060f89235ccee1a1ef3e5fba652a9df)

5 years agoClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
Michael Friedrich [Mon, 28 Jan 2019 16:29:46 +0000 (17:29 +0100)]
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute

(cherry picked from commit 9f2ccfbaa0fd35e33a002dd48c7b429636dc806c)