Commit Graph

10568 Commits

Author SHA1 Message Date
Michael Friedrich 75e06e9c0b
Merge pull request #6825 from ekeih/docs/explain-retry-interval-for-passive-checks-6795
Document that retry_interval is only used after an active check result
2018-12-06 11:25:40 +01:00
Max Rosin 00757919b3 Document that retry_interval is only used after an active check result
fixes #6795
2018-12-06 11:24:57 +01:00
Michael Friedrich bf4ecbed69 Revert "ThreadPool#Stop(): discard non-processed queue items"
This reverts commit 30e6d0f809.

refs #6815
2018-12-06 09:56:49 +01:00
Michael Friedrich ea64467c65 Revert "ThreadPool#Stop(): discard non-processed queue items"
This reverts commit 797ecd1539.
2018-12-06 09:55:42 +01:00
Michael Insel 1352b15220 Fix string comparison on edge cases
This fixes a few edge cases where the string comparison failed before.
2018-12-05 20:12:06 +01:00
Alexander A. Klimov c8a1155e3d Remove redundand check for object existence on creation via API
refs #3937
2018-12-05 16:05:05 +01:00
Michael Friedrich 190f381c7a Docs: Add a section for DB IDO Cleanup
refs #6784
2018-12-05 16:04:50 +01:00
fluxX04 29a3a6d4d7 update apache status command to be identical according the itl 2018-12-05 16:04:35 +01:00
Alex 9800e69f9f Doc fix: documentation link for apt
Fixes `check_apt` documentation link to point to the right man page.
2018-12-05 16:04:18 +01:00
David Lublink 62fcbe3c01 * BugFix : Wrong operator on stride variable causing incorrect behaviour ( #6749 ) 2018-12-05 16:01:35 +01:00
Leon Stringer a5659e469a Doc fix: error in example path. 2018-12-05 16:01:10 +01:00
Michael Friedrich 173455de22 Call SSL_shutdown() at least twice 2018-12-05 16:00:53 +01:00
Edgar Fuß 3b4dc854cf Put running downtimes in effect
If Icinga2 was restarted with a newly configured downtime that should
be in effect at the time of restart, the should-be-running segment of
it was not put into effect.

Add new LegacyTimePeriod::FindRunningSegment() and
ScheduledDowntime::FindRunningSegment() functions, call the latter in
ScheduledDowntime::CreateNextDowntime() before trying the old
ScheduledDowntime::FindNextSegment().
2018-12-05 16:00:28 +01:00
Edgar Fuß e76ec0d42e Remove spurious string in debug message
Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().
2018-12-05 15:59:58 +01:00
Edgar Fuß ce6ab9a948 Remove dead code
Remove some dead code in ScheduledDowntime::CreateNextDowntime().
2018-12-05 15:59:52 +01:00
Alexander A. Klimov f3f402fa7e Socket engine: drop life support objects
refs #6477
2018-12-05 15:59:29 +01:00
Alexander A. Klimov ad06c4f5ab Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr
refs #6477
2018-12-05 15:59:23 +01:00
Alexander A. Klimov 0b03a3d8f8 SocketEvents: inherit from Stream
refs #6477
2018-12-05 15:59:17 +01:00
Michael Friedrich 78e470996d Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones 2018-12-05 15:47:41 +01:00
Alexander A. Klimov 1d6cec5a99 HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently
refs #6816
2018-12-05 15:46:32 +01:00
Alexander A. Klimov 797ecd1539 ThreadPool#Stop(): discard non-processed queue items 2018-12-05 15:46:03 +01:00
Michael Friedrich 1c8fba182c Add a code comment for connection: close handling 2018-12-05 15:45:17 +01:00
Sven Wegener 080f666b55 Restore 'Connection: close' behaviour in HTTP responses
Actually the `corked` functionality caused problems with
not closing connections properly.

Full Analysis: https://github.com/Icinga/icinga2/issues/6799#issuecomment-443710338

Full credits to @swegener :)

fixes #6799
2018-12-05 15:45:09 +01:00
Michael Insel 18de1f7e11 Fix state conditions in check_memory and check_swap
This fixes the state conditions in check_memory and check_swap. This
turns the if/else if/else statements in simple if statements, since they
won't work properly when both thresholds are broken.

This also implements a new function to get a given state as wstring.
2018-12-05 15:44:44 +01:00
Michael Friedrich b58ce84b0e
Merge pull request #6817 from Icinga/bugfix/stalled-tls-connections-6816
HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently
2018-12-05 11:35:35 +01:00
Michael Friedrich 0cc559b775
Merge pull request #6820 from Icinga/bugfix/scheduled-downtime-ha-duplicates
Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones
2018-12-05 11:33:29 +01:00
Michael Friedrich 0ad27d5436
Merge pull request #6823 from transitiv/feature/itl-apt-list
ITL: Support --list argument to check_apt
2018-12-05 11:32:31 +01:00
Michael Friedrich 08c1539561
Merge pull request #6815 from Icinga/bugfix/reload-while-api-dos
ThreadPool#Stop(): discard non-processed queue items
2018-12-05 11:11:49 +01:00
Michael Friedrich 26f411638f
Merge pull request #6757 from Icinga/bugfix/no-more-notifications-recovery-filtered
Fix that no_more_notifications gets reset when Recovery notifications are filtered away
2018-12-05 11:05:44 +01:00
Michael Friedrich b6212e92fb
Merge pull request #6750 from davidtek/master
#6749 Wrong operator on stride variable causing incorrect behaviour
2018-12-05 11:05:05 +01:00
Michael Friedrich c3ec1f9a21
Merge pull request #6801 from BarbUk/feature/itl-check-varnish
Add varnish CheckCommand definition
2018-12-05 10:52:28 +01:00
Adam James 3a4f075f72 ITL: Support --list argument to check_apt 2018-12-05 09:32:54 +00:00
Michael Friedrich 15e3aa1762
Merge pull request #6786 from Icinga/feature/dsl-getenv
DSL: Implement getenv()
2018-12-04 16:08:37 +01:00
Michael Friedrich c21453678b
Merge pull request #6819 from Icinga/feature/development-docs
Enhance and unify development docs for debug, develop, package
2018-12-04 16:07:17 +01:00
Michael Friedrich 6cd8b7be32
Merge pull request #6814 from Icinga/bugfix/conn-close-stall
Restore 'Connection: close' behaviour in HTTP responses
2018-12-04 16:06:53 +01:00
Michael Friedrich fd9b2dece1 Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones 2018-12-04 15:20:37 +01:00
Michael Friedrich 00673cd759 Docs: Formatting for dev requirements 2018-12-04 12:25:34 +01:00
Michael Friedrich 43c171056f Minor updates for core dumps
The main parts are discussed in #6723
2018-12-04 12:14:01 +01:00
Michael Friedrich 01d2a17683 Update TOC 2018-12-04 11:05:43 +01:00
Michael Friedrich 9801b8b7a0 Purge INSTALL.md and add packager info to README.md
Everything is located in the online documentation, where the README.md
points to.
2018-12-04 10:56:34 +01:00
Michael Friedrich 8cbe286e67 Fix formatting in dev docs 2018-12-04 10:51:04 +01:00
Alexander A. Klimov 7e630c7732 HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently
refs #6816
2018-12-03 19:05:41 +01:00
Alexander A. Klimov 30e6d0f809 ThreadPool#Stop(): discard non-processed queue items 2018-12-03 16:38:52 +01:00
Michael Friedrich 7b39591c6b
Merge pull request #6811 from Icinga/bugfix/win-check-memory-state-condition
Fix state conditions in check_memory and check_swap
2018-12-03 15:06:30 +01:00
Michael Friedrich 5f25eb6b2d Add a code comment for connection: close handling 2018-12-03 14:40:50 +01:00
Sven Wegener a83dbc9de5 Restore 'Connection: close' behaviour in HTTP responses
Actually the `corked` functionality caused problems with
not closing connections properly.

Full Analysis: https://github.com/Icinga/icinga2/issues/6799#issuecomment-443710338

Full credits to @swegener :)

fixes #6799
2018-12-03 14:27:37 +01:00
Michael Friedrich e0b3e05c63 Docs: Update README.md with a better description and direct URLs to icinga.com/docs 2018-12-03 13:23:21 +01:00
Michael Friedrich ac9ed41537 Docs: Update anchors 2018-12-03 11:15:04 +01:00
Michael Friedrich ec39a74453 Docs: More updates on dev environments, add mini TOC 2018-12-03 11:11:35 +01:00
Michael Friedrich 3827e15c4a Docs: Simplify INSTALL.md and point to icinga.com/docs 2018-12-03 11:11:35 +01:00