Commit Graph

9981 Commits

Author SHA1 Message Date
Michael Friedrich 1a77d996ee Implement unit tests for Dictionary initializers 2018-11-13 11:49:19 +01:00
Michael Insel f4f2d862e6 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.
2018-11-13 09:13:55 +01:00
Michael Friedrich a1e30f6ef5 Apply workaround for timer tests with std::bind callbacks 2018-11-12 17:08:06 +01:00
Michael Friedrich b3e98a842f Fix possible double free in StreamLogger::BindStream()
refs #6737
2018-11-12 17:07:51 +01:00
Michael Friedrich 46ed01348c 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
2018-11-12 17:07:38 +01:00
Michael Friedrich ec939373d0 Improve error handling for invalid child_options for API downtime actions
fixes #6712
2018-10-29 13:52:43 +01:00
Michael Friedrich 4424b203c2 Minor styleguide 2018-10-29 13:51:25 +01:00
Max Rosin d8462cf6cd 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
2018-10-29 13:51:09 +01:00
Michael Friedrich 30853e6041 Revert code from icinga.com update 2018-10-24 12:34:38 +02:00
Michael Friedrich 9f919a2d1e Docs: Add package related changes to the upgrading docs
refs #6714
2018-10-23 13:58:12 +02:00
Michael Friedrich fac43e9eaf 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
2018-10-19 12:31:24 +02:00
Michael Friedrich 582d8f4961 Release version 2.10.1 2018-10-18 11:31:02 +02:00
Michael Friedrich ab8c9ad39c
Merge pull request #6701 from Icinga/feature/readme-github-tag
Add GitHub release tag to README
2018-10-18 11:06:57 +02:00
Michael Friedrich a9129e8e56 Add GitHub release tag to README 2018-10-18 11:06:04 +02:00
Michael Friedrich 4739697bda
Merge pull request #6700 from Icinga/feature/docs-addons
Enhance the addon chapter in the docs
2018-10-18 10:40:17 +02:00
Michael Friedrich f7be04c22f Enhance the addon chapter in the docs 2018-10-18 10:38:11 +02:00
Michael Friedrich 83ad98420a
Merge pull request #6699 from Icinga/feature/update-icinga-com
Update to https://icinga.com/
2018-10-18 10:19:50 +02:00
Michael Friedrich 12ef5c053f Docs: Use the correct URLs in various places 2018-10-18 09:59:33 +02:00
Michael Friedrich 3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Michael Friedrich 1a8a2c25f2 icinga.com: Update test and tools 2018-10-18 09:45:36 +02:00
Michael Friedrich a2cb542a2e icinga.com: Update '*.sql' 2018-10-18 09:41:54 +02:00
Michael Friedrich 0072a6f7d9 icinga.com: Update icinga-app 2018-10-18 09:39:34 +02:00
Michael Friedrich eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
Michael Friedrich dea5ec614e icinga.com: Update CMakeLists.txt 2018-10-18 09:35:18 +02:00
Michael Friedrich e6f404ec4a icinga.com: Update docs for /community/get-involved -> /community 2018-10-18 09:32:14 +02:00
Michael Friedrich 44c3b83769 icinga.com: Update '*.ti' 2018-10-18 09:30:00 +02:00
Michael Friedrich a036bda601 icinga.com: Update '*.h' 2018-10-18 09:29:29 +02:00
Michael Friedrich dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Friedrich aa7201aaad
Merge pull request #6696 from Icinga/bugfix/remove-default-environment
Remove default environment, regression from e678fa1aa5
2018-10-17 13:01:24 +02:00
Michael Friedrich 7abfe13a00 Remove default environment, regression from e678fa1aa5
refs #6512
fixes #6694
2018-10-17 12:45:13 +02:00
Michael Friedrich c0398ed9ba
Merge pull request #6691 from Icinga/bugfix/reload-signal-handler-dump-state-file
Add missing shutdown/program state dumps for SIGUSR2 reload handler
2018-10-16 14:05:17 +02:00
Michael Friedrich e5957f867e
Merge pull request #6690 from jacksgt/patch-1
Extend 09-object-types.md with argument array
2018-10-16 12:42:01 +02:00
Michael Friedrich 893056742f
Merge pull request #6692 from Icinga/feature/docs-release-chocolatey
Update release docs for Chocolatey
2018-10-16 12:40:38 +02:00
Michael Friedrich af6c8a1f50 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
2018-10-16 12:36:43 +02:00
Jack 99a4ee0ad9
Extend 09-object-types.md with argument array
Add a small snippet demonstrating how to define an argument array instead of a simple string.
2018-10-16 11:40:00 +02:00
Michael Friedrich 3cccc9d9b8
Merge pull request #6685 from Icinga/bugfix/api-permission-filters
Fix regression with API permission filters and namespaces in v2.10
2018-10-15 17:02:14 +02:00
Michael Friedrich dc1f77c9d1 Update release docs for Chocolatey
refs #6683
2018-10-15 16:27:25 +02:00
Michael Friedrich 34de8104b8 Fix regression with API permission filters and namespaces in v2.10
fixes #6682
2018-10-15 15:47:11 +02:00
Michael Friedrich db322ebce1
Merge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows
Initialize Configuration::InitRunDir for Windows and writing the PID file
2018-10-15 09:38:35 +02:00
Michael Friedrich c10a9ae08b
Merge pull request #6681 from sebastic/spelling-errors
Fix spelling errors.
2018-10-15 09:30:16 +02:00
Michael Friedrich 1c7fddb780 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
2018-10-15 09:24:46 +02:00
Bas Couwenberg f0aaecb90c Fix spelling errors.
compatiblity -> compatibility
2018-10-15 08:56:18 +02:00
Michael Friedrich 71a8f35354
Merge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints
Add a note to the docs on >2 endpoints in a zone
2018-10-12 10:53:36 +02:00
Michael Friedrich bec6cc4621 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.
2018-10-12 10:49:03 +02:00
Michael Friedrich 334e884aa7
Merge pull request #6673 from Icinga/feature/release-docs
Update RELEASE docs
2018-10-12 10:22:21 +02:00
Michael Friedrich 5e187eb09c
Merge pull request #6672 from dupondje/zone_upgrade_docs
Extend upgrade docs
2018-10-12 10:10:35 +02:00
Michael Friedrich 069ef4b825 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
2018-10-12 10:08:28 +02:00
Jean-Louis Dupond e8ecc770d0 Extend upgrade docs 2018-10-12 10:05:20 +02:00
Michael Friedrich b86c918d4d Release version 2.10.0 2018-10-11 14:01:05 +02:00
Michael Friedrich a3cfa5fba4
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
2018-10-11 13:21:11 +02:00