Commit Graph

9398 Commits

Author SHA1 Message Date
Jean Flach 92f7242db1
Merge pull request #6119 from tclh123/dev
fixup set rlimit stack failed condition
2018-03-21 09:56:47 +01:00
Michael Friedrich 1b14eea453
Merge pull request #6171 from Icinga/fix/windows-agent-copyright-date
Update copyright of the Windows Agent to 2018
2018-03-21 08:55:08 +01:00
Michael Insel bc114f6142 Update copyright of the Windows Agent to 2018
This updates the copyright of the Windows Agent to 2018.
2018-03-20 21:08:30 +01:00
Michael Friedrich 064fc80cc3
Merge pull request #6098 from Icinga/fix/improve-cors-implementation
Clean up CORS implementation
2018-03-19 16:00:36 +01:00
Michael Friedrich 5bd69b4a49
Merge pull request #6058 from gunnarbeutner/feature/clean-up-plugins
Clean up the Icinga plugins a bit
2018-03-19 15:57:57 +01:00
Michael Friedrich 313b2a759e
Merge pull request #6016 from Icinga/fix/state-filters-for-custom-notifications
Check notification state filters for problems only, not for Custom, etc.
2018-03-19 15:52:37 +01:00
Michael Insel 662f817364 Add option to windows installer to add global zones
This implements the option to add global zones to the windows agent
wizard.
2018-03-18 16:19:15 +01:00
Jean Flach 75b5fcc097
Merge pull request #6169 from Icinga/appveyor
appveyor: Clean cache when updating appveyor.yml
2018-03-17 18:41:00 +01:00
Markus Frosch 56be16b98d appveyor: Clean cache when updating appveyor.yml 2018-03-16 15:09:19 +01:00
Michael Friedrich c40196dc32
Merge pull request #6166 from Icinga/fix/broken-link-readme
Fix broken link in README
2018-03-15 17:17:29 +01:00
Michael Insel cb453f5b76 Fix broken link in README
This fixes the broken documentation link inside the readme.
2018-03-15 16:59:41 +01:00
Jean Flach a742e64e4d Fix reload handling
Make sure we have written the new PID before letting it take over.
2018-03-14 10:43:59 +01:00
Michael Friedrich 1969a9071a Improve error handling for empty packages in /v1/config/packages
- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129
2018-03-13 11:03:02 +01:00
Noah Hilverling c360ca8bb0 Add CORS notice to 2.9 upgrading docs 2018-03-13 09:42:27 +01:00
Gunnar Beutner 9b0fccfd80
Merge pull request #6153 from Icinga/fix/api-no-packages
Improve error handling for empty packages in /v1/config/packages
2018-03-13 09:23:01 +01:00
Gunnar Beutner 6a444a0fac
Merge pull request #6160 from Icinga/fix/code-style-global-zones
Replace std::vector:push_back calls with initializer list
2018-03-13 09:22:10 +01:00
Michael Insel 592d1c7d7e Replace std::vector:push_back with initializer list
This replaces a few std::vector::push_back calls with initializer lists.
2018-03-12 20:35:49 +01:00
Michael Friedrich 429f518b49 Improve error handling for empty packages in /v1/config/packages
- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129
2018-03-07 13:35:09 +01:00
Gunnar Beutner ddab94feb3 Build fix 2018-03-07 09:57:08 +01:00
Jean Flach f357439485 Code style 2018-03-07 09:57:08 +01:00
Gunnar Beutner 9886f3914c Fix ApiUser unit test 2018-03-06 09:37:23 +01:00
Gunnar Beutner 3043a190ca
Merge pull request #6148 from gunnarbeutner/fix/api-unit-test
Fix ApiUser unit test
2018-03-06 09:36:30 +01:00
Gunnar Beutner 6670024f62 Ensure that SetCorked() works properly 2018-03-06 09:35:57 +01:00
Gunnar Beutner 44ff536645
Merge pull request #6146 from gunnarbeutner/fix/corked-fixes
Ensure that SetCorked() works properly
2018-03-06 09:33:46 +01:00
Gunnar Beutner 70b3d20a7e Fix ApiUser unit test 2018-03-06 09:30:22 +01:00
Gunnar Beutner 9cd5298d8b Ensure that SetCorked() works properly 2018-03-06 09:03:35 +01:00
Gunnar Beutner 0b9869917f Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 09:02:05 +01:00
Gunnar Beutner c16dbd19c8
Merge pull request #6147 from gunnarbeutner/fix/incorrect-arg-type
Fix incorrect argument type for JsonRpc::SendMessage
2018-03-06 09:01:47 +01:00
Gunnar Beutner b172a67867 Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 08:58:19 +01:00
Jean Flach fda4faac06 Limit anonymous connections to 25 2018-03-06 08:53:52 +01:00
Noah Hilverling fdf2dc43d5 Limit JSON-RPC message size 2018-03-06 08:53:14 +01:00
Gunnar Beutner 9b72a6c2f3
Merge pull request #6135 from Icinga/fix/limit-api-package-size
Limit JSON RPC message size
2018-03-05 13:24:09 +01:00
Jean Flach 1bdd14b428 Limit anonymous connections to 25 2018-03-05 13:22:43 +01:00
Noah Hilverling 54ff60cd8c Limit JSON-RPC message size 2018-03-05 10:29:05 +01:00
Gunnar Beutner 4a09026466
Merge pull request #6145 from gunnarbeutner/fix/incorrect-parameter-name
Fix incorrect parameter name in the API documentation
2018-03-05 09:00:08 +01:00
Gunnar Beutner 39e303a03b Fix incorrect parameter name in the API documentation
fixes #6140
2018-03-05 08:43:13 +01:00
Gunnar Beutner 84be526b4c
Merge pull request #6139 from Icinga/itl/disk-docker-types
itl/disk: Ignore overlay and netfs filesystems
2018-03-05 08:38:00 +01:00
Markus Frosch fa68c9255b itl: Ignore overlay and netfs filesystems
Usually used by Docker and other containers and namespaces
2018-03-02 12:44:08 +01:00
Noah Hilverling ac6a39b7d4
Merge pull request #6136 from Icinga/feature/counter-for-currently-running-concurrent-checks-4939
Add counter for current concurrent checks to Icinga check
2018-03-01 15:47:25 +01:00
Gunnar Beutner 0c006637ea Clean up the Icinga plugins a bit 2018-03-01 15:27:09 +01:00
Noah Hilverling d0a97ddf64 Add counter for current concurrent checks to Icinga check
fixes #4939
2018-03-01 15:01:55 +01:00
Noah Hilverling 186cad9872 Clean up CORS implementation 2018-03-01 14:04:56 +01:00
Gunnar Beutner 622127276b Fix incorrect HTTP content length limits 2018-02-28 14:17:17 +01:00
Gunnar Beutner d23c03bfa5
Merge pull request #6134 from gunnarbeutner/fix/incorrect-content-length-limits
Fix incorrect HTTP content length limits
2018-02-28 14:16:15 +01:00
Gunnar Beutner 85858e6a36 Add SetCorked() calls to the JsonRpcConnection class 2018-02-28 12:57:22 +01:00
Jean Flach 8b334fe259 Use cork in tlsstream and HTTP connection 2018-02-28 12:57:22 +01:00
Jean Flach 419103b407 Add cork 2018-02-28 12:50:49 +01:00
Gunnar Beutner a3bf8cd26e
Merge pull request #6133 from Icinga/fix/cork-socket
Limit the number of HTTP/JSON-RPC requests we read in parallel
2018-02-28 12:48:06 +01:00
Gunnar Beutner 45c2803f3e Fix incorrect HTTP content length limits 2018-02-28 12:28:02 +01:00
Gunnar Beutner a9fb714578
Merge pull request #6116 from Icinga/fix/windows-service-restart
Fix Windows reload
2018-02-28 12:23:53 +01:00