Commit Graph

9282 Commits

Author SHA1 Message Date
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
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 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 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 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
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
Noah Hilverling d0a97ddf64 Add counter for current concurrent checks to Icinga check
fixes #4939
2018-03-01 15:01:55 +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 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
Gunnar Beutner c1837ea90b
Merge pull request #6131 from Icinga/feature/log-master-ticket-invalid
Log which ticket was invalid on the master
2018-02-28 12:22:34 +01:00
Gunnar Beutner 30ae5154f0
Merge pull request #6132 from gunnarbeutner/fix/http-parser-crash
Fix HTTP parser crash/hang
2018-02-28 12:21:09 +01:00
Gunnar Beutner 6848af50ff Add SetCorked() calls to the JsonRpcConnection class 2018-02-28 11:42:05 +01:00
Jean Flach d0cf7c654e Use cork in tlsstream and HTTP connection 2018-02-28 11:40:58 +01:00
Jean Flach 7d103aaf1b Add cork 2018-02-28 11:40:58 +01:00
Gunnar Beutner a4a73fa67c Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync 2018-02-28 11:07:19 +01:00
Gunnar Beutner 6d01808adf Fix incorrect return value 2018-02-28 10:50:33 +01:00
Michael Friedrich ad31e0d118 Log which ticket was invalid on the master
This helps debugging a lot, especially to reproduce the issue
why the ticket is invalid.
2018-02-28 10:18:29 +01:00
Gunnar Beutner 254bd108df
Merge pull request #6128 from Icinga/fix/doc-adding-global-zones
Adding documentation for configurable global zones during setup
2018-02-28 09:46:45 +01:00
Gunnar Beutner 5089b0dd7c
Merge pull request #6126 from Icinga/fix/require-systemd-libs
Require systemd headers
2018-02-28 09:45:05 +01:00
Michael Insel ecda0691c4 Adding documentation for configurable global zones during setup
This adds the documentation for the configurable global zones during the node wizard/setup.

refs #5767
2018-02-27 21:28:38 +01:00
Jean Flach 01c7f20170 Require systemd headers
Only mandatory if using systemd
2018-02-27 15:54:58 +01:00
Jean Flach 2a255349db
Merge pull request #6125 from ekeih/fix/misleading-description-in-notification.conf-feature-file-6122
Fix description of the NotificationComponent in notification.conf
2018-02-27 14:54:33 +01:00
Max Rosin b34675cae8 Fix description of the NotificationComponent in notification.conf, fix #6122 2018-02-27 14:31:00 +01:00
Gunnar Beutner 98bcca5e17
Merge pull request #6050 from gunnarbeutner/feature/remove-boost-split
Replace boost::algorithm::split calls with String::Split
2018-02-26 08:37:46 +01:00
Gunnar Beutner 5dd0bc8f97 Use std::vector<std::string> for command-line arguments 2018-02-26 08:36:11 +01:00
Michael a0aa781417 Implement ability to make global zones configurable
This adds the ability to make global zones configurable during the node
wizard/setup. The implementation will add the given global zones to the default
included global zones.
2018-02-26 08:36:11 +01:00
Gunnar Beutner 91241e5f46
Merge pull request #6051 from gunnarbeutner/feature/icingaloader-cmake-folder
Set FOLDER cmake property for the icingaloader target
2018-02-26 08:27:41 +01:00
Gunnar Beutner ef488a3ebc Replace boost::algorithm::split calls with String::Split 2018-02-26 08:27:18 +01:00
Gunnar Beutner e952302e08
Merge pull request #6107 from MichalMMac/master
Allow MYSQL_LIB to be specified by ENV variable
2018-02-26 08:09:35 +01:00
Jean Flach 691e3cfd57 Fix Windows reload 2018-02-23 17:01:46 +01:00
Jean Flach 3caf480252
Merge pull request #6115 from Icinga/ineedmorebranches
Fix incorrect size of request limits
2018-02-23 14:42:25 +01:00