8839 Commits

Author SHA1 Message Date
Michael Friedrich
78322b0953 Release version 2.8.4 v2.8.4 2018-04-25 15:11:31 +02:00
Jean Flach
c1cb8a8bbe Revert "fixup set rlimit stack failed condition"
This reverts commit bf959371c4505bfe27b0682611c035d64b90efd3.

fixes #6257

refs #6260
2018-04-25 14:49:11 +02:00
Jean Flach
292d71c439 Release version 2.8.3 v2.8.3 2018-04-24 10:13:48 +02:00
Michael Friedrich
5479adb908 Use VERSION instead of icinga2.spec 2018-04-23 11:04:55 +02:00
Jean Flach
1f5567a3ed Fix typo 2018-04-23 10:35:57 +02:00
Jan Wagner
99f2207ef9 services.conf has also be moved to zones.d/global-templates/
refs #5838
2018-04-19 12:49:22 +02:00
Gunnar Beutner
e6638cf8df Fix missing variable name in ApiListener::Start
fixes #5924
refs #5807

refs #5925
2018-04-19 12:44:57 +02:00
Michael Friedrich
fd03409c96 Add docs for script debugger and API filters
refs #6203
2018-04-19 12:41:10 +02:00
Michael Friedrich
bd2c266bf1 Log warning when sysconfig file cannot be read
refs #6215

refs #6241
2018-04-19 12:29:43 +02:00
Jean Flach
978d707e3b Add improved error messages for resource limits
refs #6215

refs #6241
2018-04-19 12:29:23 +02:00
Michael Friedrich
0d26a2bf50 Fix SysconfigFile detection for binary builds
It may happen that the variable is not properly initialized
and we'll have an empty string. Observed on macOS and inside
Docker.

refs #6215

refs #6241
2018-04-19 12:29:01 +02:00
lihan
bf959371c4 fixup set rlimit stack failed condition
refs #6119
refs #6215
2018-04-19 11:35:05 +02:00
Michael Friedrich
3a12ba75c7 Fix unit tests for 2.8.x
refs #6207
2018-04-19 11:19:20 +02:00
Jean Flach
cf570c9a93 Fix package error message
fixes #5879

refs #5881
2018-04-19 11:18:52 +02:00
Michael Insel
9c8e72775d Enhance http_certificate parameter documentation
This clarifies the usage of the http_certificate parameter.

refs #5610

refs #5913
2018-04-19 11:09:16 +02:00
Michael Friedrich
579ec50b57 Document the 'ignore_on_error' attribute for object creation
fixes #5797

refs #6080
2018-04-19 10:51:05 +02:00
Gunnar Beutner
6a70f0f7ce Fix incorrect parameter name in the API documentation
fixes #6140

refs #6145
2018-04-19 10:49:01 +02:00
Michael Friedrich
65e53551a1 Fix check_nscp_api for multiple URL parameter usage
NSClient++ doesn't support the bracket notation.

refs #5706

refs #6207
2018-04-19 10:46:36 +02:00
Michael Friedrich
9f418f5356 Allow to disable brackets for the Url class and Format()
This commit also adds unit tests.

refs #5706

refs #6207
2018-04-19 10:46:15 +02:00
Michael Friedrich
836103ef57 Elasticsearch: Fix crash with invalid performance data metrics
fixes #6191

refs #6192
2018-04-17 16:33:17 +02:00
Max Rosin
eb8bb927ca Fix the explanation of types and states for user objects
refs #6068
2018-04-16 15:59:46 +02:00
Michael Insel
b5294a4ac4 Fix typo in Apply for Rules documentation
fixes 6100

refs #6102
2018-04-16 15:56:27 +02:00
Michael Insel
14edc51b3f Fix broken link in README
This fixes the broken documentation link inside the readme.

refs #6166
2018-04-16 15:54:42 +02:00
Noah Hilverling
9a6474f355 Fix InfluxDB backslash escaping
fixes #6182

refs #6196
2018-04-16 15:46:47 +02:00
Michael Friedrich
f5ea90859c Fix missing anchors in CLI commands chapter
refs #6227
2018-04-16 15:46:47 +02:00
Jan Beich
e3ecf83bfb Explicitly use long with boost::posix_time 2018-04-16 15:39:57 +02:00
Noah Hilverling
8b488eb00f Remove init.conf from icinga.cpp 2018-04-04 13:53:18 +02:00
Michael Insel
55dc00d496 Doc: Fix typo in API user creation example
This fixes a typo in the API user creation example inside the documentation.

refs #6177
2018-03-23 12:37:00 +01:00
Maurice Meyer
c6299bc545 hashed_password -> password_hash. Fixes #6175
Signed-off-by: Maurice Meyer <morre@mor.re>

refs #6176
2018-03-23 12:36:41 +01:00
Michael Friedrich
857842d7f0
Merge pull request #6179 from Icinga/fix/api-user-crash-2.8.2
Fix crash in api user command
2018-03-23 12:31:19 +01:00
Jean Flach
08eb3ef991 Fix crash in api user command
Missing backport in support/2.8

fixes #6178
2018-03-23 12:13:41 +01:00
Jean Flach
ada573dcf0 Release version 2.8.2 v2.8.2 2018-03-22 11:26:19 +01:00
Jean Flach
e5539073c1 Update mailmap 2018-03-22 10:35:02 +01:00
Michael Friedrich
4f12142d52 Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
refs #6172
2018-03-21 16:05:17 +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
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
6670024f62 Ensure that SetCorked() works properly 2018-03-06 09:35:57 +01:00
Gunnar Beutner
0b9869917f Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 09:02:05 +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
622127276b Fix incorrect HTTP content length limits 2018-02-28 14:17:17 +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
6e7421eab0 Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync 2018-02-28 11:54:48 +01:00
Gunnar Beutner
6400a300cd Fix incorrect return value 2018-02-28 11:53:49 +01:00
Jean Flach
952e3616e5 Fix incorrect size of request limits
refs #6103
2018-02-23 14:44:44 +01:00
Jean Flach
360d109211 Fix typo in prepare-dirs
refs #5850
2018-02-23 14:44:07 +01:00