]>
granicus.if.org Git - icinga2/log
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 )
Michael Friedrich [Tue, 4 Dec 2018 09:58:44 +0000 (10:58 +0100)]
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 )
Michael Friedrich [Tue, 4 Dec 2018 09:51:04 +0000 (10:51 +0100)]
Fix formatting in dev docs
(cherry picked from commit
8cbe286e676a56c536cee517b898cbe2f25b2547 )
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 )
Michael Friedrich [Mon, 3 Dec 2018 10:15:04 +0000 (11:15 +0100)]
Docs: Update anchors
(cherry picked from commit
ac9ed41537b36d7a41e26e8535e208579cccbfc2 )
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 )
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 )
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 )
Michael Friedrich [Mon, 3 Dec 2018 08:49:27 +0000 (09:49 +0100)]
Docs: First draft for development docs
(cherry picked from commit
4382b87baa0f4fa433772b2b38814fce0d443200 )
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 )
Michael Friedrich [Mon, 11 Feb 2019 12:17:52 +0000 (13:17 +0100)]
Update AUTHORS
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 )
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 )
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 )
Michael Insel [Wed, 30 Jan 2019 18:41:24 +0000 (19:41 +0100)]
Fix check_swap formatting
This fixes a small formatting mistake introduced by #6811. To keep the
check_swap output in sync with all other plugins I fixed the formatting.
Michael Friedrich [Wed, 30 Jan 2019 13:47:59 +0000 (14:47 +0100)]
Fix Convert::ToLong(double val)
(cherry picked from commit
b58cb17e4b389c6bd703e2334cb0bb2739213f62 )
Michael Friedrich [Wed, 30 Jan 2019 13:23:57 +0000 (14:23 +0100)]
Add a unit test for Convert::ToLong(double) - fails
(cherry picked from commit
b1362aeb9b6822a88ce4e3a187974f5ef20a4bad )
Alexander A. Klimov [Tue, 4 Dec 2018 16:45:54 +0000 (17:45 +0100)]
Downtime#HasValidConfigOwner(): respect Downtime#authoritative_zone
refs #6542
(cherry picked from commit
c98d6a52545bf0e10b9b0d644b0d15813ab7de48 )
Alexander A. Klimov [Tue, 4 Dec 2018 16:44:42 +0000 (17:44 +0100)]
Add and populate Downtime#authoritative_zone
refs #6542
(cherry picked from commit
5431eae116df92d0b856e7f856da24df5a948144 )
Alexander A. Klimov [Thu, 6 Dec 2018 11:50:48 +0000 (12:50 +0100)]
Downtime#HasValidConfigOwner(): wait for ScheduledDowntimes
refs #6542
(cherry picked from commit
39e0d787e82c187de64b29e4979f4caac0907441 )
Alexander A. Klimov [Thu, 6 Dec 2018 11:41:49 +0000 (12:41 +0100)]
Implement ScheduledDowntime::AllConfigIsLoaded()
refs #6542
(cherry picked from commit
bbcf469af1c584a92d028446c6ff1f558950cd97 )
Markus Frosch [Tue, 18 Dec 2018 11:08:41 +0000 (12:08 +0100)]
appveyor: Run Debug builds
[skip travis]
(cherry picked from commit
ace12db110e565b20f8b1141e62e488b9c4abc8f )
Markus Frosch [Tue, 18 Dec 2018 10:52:06 +0000 (11:52 +0100)]
tools/win32: Invalidate CMake cache on build
(cherry picked from commit
fcfde9ac22ff6bfde73ecfe1672bb686e1559e28 )
Michael Friedrich [Thu, 6 Dec 2018 08:55:42 +0000 (09:55 +0100)]
Revert "ThreadPool#Stop(): discard non-processed queue items"
This reverts commit
797ecd1539c91d3dd02dc7d164ce602c52a6f802 .
Alexander A. Klimov [Thu, 29 Nov 2018 16:51:53 +0000 (17:51 +0100)]
Remove redundand check for object existence on creation via API
refs #3937
Michael Friedrich [Wed, 21 Nov 2018 10:20:54 +0000 (11:20 +0100)]
Docs: Add a section for DB IDO Cleanup
refs #6784
fluxX04 [Thu, 15 Nov 2018 08:54:58 +0000 (09:54 +0100)]
update apache status command to be identical according the itl
Alex [Fri, 2 Nov 2018 06:45:48 +0000 (07:45 +0100)]
Doc fix: documentation link for apt
Fixes `check_apt` documentation link to point to the right man page.
David Lublink [Thu, 1 Nov 2018 22:51:42 +0000 (18:51 -0400)]
* BugFix : Wrong operator on stride variable causing incorrect behaviour ( #6749 )
Leon Stringer [Wed, 31 Oct 2018 11:46:12 +0000 (11:46 +0000)]
Doc fix: error in example path.
Michael Friedrich [Mon, 10 Sep 2018 14:10:16 +0000 (16:10 +0200)]
Call SSL_shutdown() at least twice
Edgar Fuß [Thu, 18 Oct 2018 16:42:21 +0000 (18:42 +0200)]
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().
Edgar Fuß [Thu, 18 Oct 2018 16:35:14 +0000 (18:35 +0200)]
Remove spurious string in debug message
Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().
Edgar Fuß [Thu, 18 Oct 2018 16:09:20 +0000 (18:09 +0200)]
Remove dead code
Remove some dead code in ScheduledDowntime::CreateNextDowntime().
Alexander A. Klimov [Tue, 24 Jul 2018 13:06:55 +0000 (15:06 +0200)]
Socket engine: drop life support objects
refs #6477
Alexander A. Klimov [Tue, 24 Jul 2018 12:40:35 +0000 (14:40 +0200)]
Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr
refs #6477
Alexander A. Klimov [Tue, 24 Jul 2018 12:24:56 +0000 (14:24 +0200)]
SocketEvents: inherit from Stream
refs #6477
Michael Friedrich [Tue, 4 Dec 2018 14:20:37 +0000 (15:20 +0100)]
Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones
Alexander A. Klimov [Mon, 3 Dec 2018 18:05:41 +0000 (19:05 +0100)]
HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently
refs #6816
Alexander A. Klimov [Mon, 3 Dec 2018 15:38:52 +0000 (16:38 +0100)]
ThreadPool#Stop(): discard non-processed queue items
Michael Friedrich [Mon, 3 Dec 2018 13:40:50 +0000 (14:40 +0100)]
Add a code comment for connection: close handling
Sven Wegener [Mon, 3 Dec 2018 13:27:37 +0000 (14:27 +0100)]
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
Michael Insel [Thu, 29 Nov 2018 21:03:26 +0000 (22:03 +0100)]
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.
Michael Friedrich [Tue, 13 Nov 2018 16:13:54 +0000 (17:13 +0100)]
Release version 2.10.2
Michael Friedrich [Tue, 13 Nov 2018 13:02:03 +0000 (14:02 +0100)]
Imitialize ICINGA2_ERROR_LOG inside the Systemd environment
The initscript uses a local default, which is not here for Systemd.
Michael Friedrich [Tue, 30 Oct 2018 12:17:28 +0000 (13:17 +0100)]
DB IDO: Don't enqueue queries when the feature is paused (HA)
fixes #5876
refs #6739
Michael Friedrich [Fri, 9 Nov 2018 13:56:36 +0000 (14:56 +0100)]
Implement unit tests for Dictionary initializers
Michael Insel [Mon, 12 Nov 2018 19:09:44 +0000 (19:09 +0000)]
Fix deadlock in GraphiteWriter
This fixes a deadlock in the GraphiteWriter feature, which is visible
during the reload process. The reload thread waits for the
GraphiteWriter to finish, but the GraphiteWriter can't finish because
it's stuck in `SendMetric()` waiting for a lock which is hold by the
reload thread.
Michael Friedrich [Thu, 8 Nov 2018 14:03:41 +0000 (15:03 +0100)]
Apply workaround for timer tests with std::bind callbacks
Michael Friedrich [Thu, 8 Nov 2018 14:51:58 +0000 (15:51 +0100)]
Fix possible double free in StreamLogger::BindStream()
refs #6737
Michael Friedrich [Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)]
Ensure that API/JSON-RPC messages in the same session are processed and not stalled
This basically drops the "corked" implementation which just stalled the
TLS IO polling after some requests. If you need sort of rate limiting
for these events, use an external TLS proxy which terminates that in front
of Icinga.
fixes #6635
Michael Friedrich [Wed, 24 Oct 2018 09:00:24 +0000 (11:00 +0200)]
Improve error handling for invalid child_options for API downtime actions
fixes #6712
Michael Friedrich [Mon, 29 Oct 2018 12:45:18 +0000 (13:45 +0100)]
Minor styleguide
Max Rosin [Fri, 19 Oct 2018 13:37:32 +0000 (15:37 +0200)]
Fix the Icinga2 version check for versions with more than 5 characters
The previous implementation assumed that every version number will have
5 characters. With the release of 2.10.0 this does not work anymore.
The new implementation extracts everything from the second character to
the first dash. This should work as long as the version string is in a
format like '
v2.10.1-8-gaebe6da '.
fixes Icinga#6703
Michael Friedrich [Wed, 24 Oct 2018 10:32:36 +0000 (12:32 +0200)]
Revert code from icinga.com update
Michael Friedrich [Mon, 22 Oct 2018 14:18:21 +0000 (16:18 +0200)]
Docs: Add package related changes to the upgrading docs
refs #6714
Michael Friedrich [Fri, 19 Oct 2018 08:42:54 +0000 (10:42 +0200)]
Fix regression for wrong objects.cache path overwriting icinga2.debug file
The 'statusdata' feature is deprecated, although it affects 'object list'.
fixes #6705
refs #6707
Michael Friedrich [Thu, 18 Oct 2018 09:31:02 +0000 (11:31 +0200)]
Release version 2.10.1
Michael Friedrich [Thu, 18 Oct 2018 09:06:57 +0000 (11:06 +0200)]
Merge pull request #6701 from Icinga/feature/readme-github-tag
Add GitHub release tag to README
Michael Friedrich [Thu, 18 Oct 2018 09:06:04 +0000 (11:06 +0200)]
Add GitHub release tag to README
Michael Friedrich [Thu, 18 Oct 2018 08:40:17 +0000 (10:40 +0200)]
Merge pull request #6700 from Icinga/feature/docs-addons
Enhance the addon chapter in the docs
Michael Friedrich [Thu, 18 Oct 2018 08:38:11 +0000 (10:38 +0200)]
Enhance the addon chapter in the docs
Michael Friedrich [Thu, 18 Oct 2018 08:19:50 +0000 (10:19 +0200)]
Merge pull request #6699 from Icinga/feature/update-icinga-com
Update to https://icinga.com/
Michael Friedrich [Thu, 18 Oct 2018 07:59:33 +0000 (09:59 +0200)]
Docs: Use the correct URLs in various places
Michael Friedrich [Thu, 18 Oct 2018 07:50:53 +0000 (09:50 +0200)]
icinga.com: Update everything else
Michael Friedrich [Thu, 18 Oct 2018 07:45:36 +0000 (09:45 +0200)]
icinga.com: Update test and tools
Michael Friedrich [Thu, 18 Oct 2018 07:41:54 +0000 (09:41 +0200)]
icinga.com: Update '*.sql'
Michael Friedrich [Thu, 18 Oct 2018 07:39:34 +0000 (09:39 +0200)]
icinga.com: Update icinga-app
Michael Friedrich [Thu, 18 Oct 2018 07:36:22 +0000 (09:36 +0200)]
icinga.com: Update config files (ITL, etc.)
Michael Friedrich [Thu, 18 Oct 2018 07:35:18 +0000 (09:35 +0200)]
icinga.com: Update CMakeLists.txt
Michael Friedrich [Thu, 18 Oct 2018 07:32:14 +0000 (09:32 +0200)]
icinga.com: Update docs for /community/get-involved -> /community
Michael Friedrich [Thu, 18 Oct 2018 07:30:00 +0000 (09:30 +0200)]
icinga.com: Update '*.ti'
Michael Friedrich [Thu, 18 Oct 2018 07:29:29 +0000 (09:29 +0200)]
icinga.com: Update '*.h'
Michael Friedrich [Thu, 18 Oct 2018 07:27:04 +0000 (09:27 +0200)]
icinga.com: Update *.{h,c}pp
Michael Friedrich [Wed, 17 Oct 2018 11:01:24 +0000 (13:01 +0200)]
Merge pull request #6696 from Icinga/bugfix/remove-default-environment
Remove default environment, regression from
e678fa1aa5
Michael Friedrich [Wed, 17 Oct 2018 10:45:13 +0000 (12:45 +0200)]
Remove default environment, regression from
e678fa1aa5
refs #6512
fixes #6694
Michael Friedrich [Tue, 16 Oct 2018 12:05:17 +0000 (14:05 +0200)]
Merge pull request #6691 from Icinga/bugfix/reload-signal-handler-dump-state-file
Add missing shutdown/program state dumps for SIGUSR2 reload handler
Michael Friedrich [Tue, 16 Oct 2018 10:42:01 +0000 (12:42 +0200)]
Merge pull request #6690 from jacksgt/patch-1
Extend 09-object-types.md with argument array
Michael Friedrich [Tue, 16 Oct 2018 10:40:38 +0000 (12:40 +0200)]
Merge pull request #6692 from Icinga/feature/docs-release-chocolatey
Update release docs for Chocolatey
Michael Friedrich [Tue, 16 Oct 2018 09:54:14 +0000 (11:54 +0200)]
Add missing shutdown/program state dumps for SIGUSR2 reload handler
Credits to @west0rmann finding the issue and providing the initial fix.
fixes #6689
fixes #6592
Jack [Tue, 16 Oct 2018 09:40:00 +0000 (11:40 +0200)]
Extend 09-object-types.md with argument array
Add a small snippet demonstrating how to define an argument array instead of a simple string.
Michael Friedrich [Mon, 15 Oct 2018 15:02:14 +0000 (17:02 +0200)]
Merge pull request #6685 from Icinga/bugfix/api-permission-filters
Fix regression with API permission filters and namespaces in v2.10
Michael Friedrich [Mon, 15 Oct 2018 14:27:25 +0000 (16:27 +0200)]
Update release docs for Chocolatey
refs #6683
Michael Friedrich [Mon, 15 Oct 2018 09:44:28 +0000 (11:44 +0200)]
Fix regression with API permission filters and namespaces in v2.10
fixes #6682
Michael Friedrich [Mon, 15 Oct 2018 07:38:35 +0000 (09:38 +0200)]
Merge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows
Initialize Configuration::InitRunDir for Windows and writing the PID file
Michael Friedrich [Mon, 15 Oct 2018 07:30:16 +0000 (09:30 +0200)]
Merge pull request #6681 from sebastic/spelling-errors
Fix spelling errors.
Michael Friedrich [Fri, 12 Oct 2018 14:18:55 +0000 (16:18 +0200)]
Initialize Configuration::InitRunDir for Windows and writing the PID file
Even if this some Unix specific stuff, we rely on writing this file
in our generic application code. Therefore its path needs to be specified.
This got broken with
9fbc406 which renamed RunDir to InitRunDir, but
didn't re-add it to the Windows #ifdefs.
fixes #6677
Bas Couwenberg [Mon, 15 Oct 2018 06:56:18 +0000 (08:56 +0200)]
Fix spelling errors.
compatiblity -> compatibility
Michael Friedrich [Fri, 12 Oct 2018 08:53:36 +0000 (10:53 +0200)]
Merge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints
Add a note to the docs on >2 endpoints in a zone
Michael Friedrich [Fri, 12 Oct 2018 08:49:03 +0000 (10:49 +0200)]
Add a note to the docs on >2 endpoints in a zone
This is missing, I cannot remember how it went away.
Questions are coming frequently recently.
Michael Friedrich [Fri, 12 Oct 2018 08:22:21 +0000 (10:22 +0200)]
Merge pull request #6673 from Icinga/feature/release-docs
Update RELEASE docs
Michael Friedrich [Fri, 12 Oct 2018 08:10:35 +0000 (10:10 +0200)]
Merge pull request #6672 from dupondje/zone_upgrade_docs
Extend upgrade docs
Michael Friedrich [Fri, 12 Oct 2018 08:08:28 +0000 (10:08 +0200)]
Update RELEASE docs
- GH Milestone prior to changelog script run
- Branching for package repos
- Infos for updating the online docs with Puppet
- Example for Debian Stretch package tests with Docker
- Drop Google+ URL
Jean-Louis Dupond [Fri, 12 Oct 2018 08:05:20 +0000 (10:05 +0200)]
Extend upgrade docs
Michael Friedrich [Thu, 11 Oct 2018 12:01:05 +0000 (14:01 +0200)]
Release version 2.10.0
Michael Friedrich [Thu, 11 Oct 2018 11:21:11 +0000 (13:21 +0200)]
Merge pull request #6669 from Icinga/feature/no-errors-with-indexer-access-in-namespaces
Don't throw an error when namespace indexers don't find a valid key
Michael Friedrich [Thu, 11 Oct 2018 11:20:51 +0000 (13:20 +0200)]
Merge pull request #6670 from Icinga/feature/docs-technical-concepts-config-compiler
Add technical concepts for the config compiler and daemon CLI command
Michael Friedrich [Thu, 11 Oct 2018 10:59:24 +0000 (12:59 +0200)]
Add technical concepts for the config compiler and daemon CLI command
refs #6589
Michael Friedrich [Thu, 11 Oct 2018 10:42:56 +0000 (12:42 +0200)]
Don't throw an error when namespace indexers don't find a valid key
Examples:
```
globals["abc"]
globals.def
```
The patch for the Icinga Director unfortunately only solves the
master, and as discussed with @lippserd we need to ensure that
satellites and clients with 2.10 can be restarted without any errors
from deployed configuration.
refs #6509
refs icinga/icingaweb2-module-director#1654