11638 Commits

Author SHA1 Message Date
Michael Insel
c996520e73 Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.

(cherry picked from commit da3775b6dbc0541558b9ee3618b55f057297a137)
2019-03-19 11:32:00 +01:00
Dirk Goetz
221215f4cd SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029

(cherry picked from commit 726be2fec262f10b42649d1dad5099336e8610e9)
2019-03-19 11:31:43 +01:00
Alexander A. Klimov
29e8961cda ElasticsearchWriter: don't leak sockets
refs #7018

(cherry picked from commit b2e2b587da530a5b79f746ed0db5b3804b502e07)
2019-03-19 11:31:20 +01:00
Alexander A. Klimov
1fc3a77c4a InfluxdbWriter: don't leak sockets
refs #6989

(cherry picked from commit 2a6b122413dfc8762a7839bbe41c125455a17b5c)
2019-03-19 11:30:01 +01:00
Michael Friedrich
c9d27e7baa
Merge pull request #7032 from Icinga/feature/backport-defer
Backport Defer class for 2.10
2019-03-19 11:28:48 +01:00
Michael Friedrich
7e87a61a62 Backport Defer class for 2.10 2019-03-19 11:23:18 +01:00
Bas Couwenberg
32dc61a788 Fix nested hostgroup example
In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.

(cherry picked from commit 8d3c8fd107f5c6e0da5551992208213fd4b8a867)
2019-03-19 11:20:30 +01:00
Alexander A. Klimov
bac6f17eff Notification#BeginExecuteNotification(): SetNextNotification() correctly
refs #5561

(cherry picked from commit 3b2054761ad90e71fba82d13cd57d7388f524993)
2019-03-19 11:20:09 +01:00
Jean Flach
cd65ffc55c Don't run UpdateObjectAuthority for Comments and Downtimes
(cherry picked from commit 2aff6a5887112259d795401e907a879ce424db51)
2019-03-19 11:19:50 +01:00
Michael Friedrich
2e2e4ffcec Fix that no_more_notifications gets reset when Recovery notifications are filtered away
Hello from the OSMC hackathon :)

(cherry picked from commit d082e8c1b19c88a68e0381db7f5806f31fe8523d)
2019-03-19 11:19:32 +01:00
Michael Insel
214874d401 Update Windows agent documentation screenshots
Updates the Windows agent screenshots in the documentation with the new design.

refs #6729

(cherry picked from commit a1540aebcc4b082fbdcd56bbae69b02063a2c517)
2019-03-19 11:19:08 +01:00
Michael Insel
b24b19214b Update Windows Agent design
This updates the Windows agent design to use the Icinga background
image.

refs #6729

(cherry picked from commit 68faeccff817b15c9c7838670c49067aaf242c43)
2019-03-19 11:18:59 +01:00
Michael Friedrich
1c6a8d7467 Update NSClient++ to 0.5.2.39 2019-03-19 10:00:24 +01:00
Michael Friedrich
424929e66a Improve logging of OpenTsdbWriter 2019-03-19 09:39:14 +01:00
Michael Friedrich
acf62d487e Improve logging of GelfWriter 2019-03-19 09:39:14 +01:00
Michael Friedrich
783a4c832c Improve logging of ElasticsearchWriter 2019-03-19 09:39:14 +01:00
Michael Friedrich
aa93c382e1 Improve logging of InfluxdbWriter 2019-03-19 09:39:14 +01:00
Michael Friedrich
82dcb3965b Improve logging of GraphiteWriter 2019-03-19 09:39:09 +01:00
Michael Friedrich
fd6c9c3fbe
Merge pull request #7002 from Icinga/bugfix/check_network-percent-6155
check_network -h: drop non-existent feature
2019-03-19 09:27:55 +01:00
Michael Friedrich
fb3a2966d7
Merge pull request #7028 from Icinga/bugfix/doc-heading-level
Fix heading level in development chapter
2019-03-19 09:26:30 +01:00
Michael Friedrich
1364dbb453
Merge pull request #7030 from dgoetz/bugfix/selinux_port_attribute-7029
SELinux: add unreserved_port_type attribute to icinga2_port_t
2019-03-19 09:26:03 +01:00
Michael Friedrich
9f91ab98b8
Merge pull request #7027 from Icinga/feature/es-improve-error-handling
Elasticsearch: Improve error handling/logging
2019-03-19 08:35:16 +01:00
Dirk Goetz
726be2fec2 SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
2019-03-18 19:43:47 +01:00
Michael Friedrich
6ace8001d8
Merge pull request #7019 from Icinga/feature/new-json-library
Replace YAJL with nlohmann::json
2019-03-18 17:26:57 +01:00
Michael Friedrich
04d7fd027e Upgrading docs: Mention YAJL replaced by Nlohmann::JSON 2019-03-18 17:25:15 +01:00
Michael Insel
da3775b6db Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.
2019-03-18 17:20:28 +01:00
Michael Friedrich
76b9cd6786 Fix missing include in JSON tests
Non-unity builds require the additional header.
2019-03-18 17:02:12 +01:00
Michael Friedrich
816a935b3d Elasticsearch: Improve error handling/logging
- Missing content-type
- Wrong content-type shouldn't hide the error message
- Error message should include more details (request URL, etc.)
2019-03-18 16:41:01 +01:00
Michael Friedrich
00b8fb1f49
Merge pull request #7020 from Icinga/bugfix/elasticsearchwriter-oom-7018
ElasticsearchWriter: don't leak sockets
2019-03-18 16:39:43 +01:00
Alexander A. Klimov
b2e2b587da ElasticsearchWriter: don't leak sockets
refs #7018
2019-03-18 15:09:07 +01:00
Alexander A. Klimov
0cf10c6306 Make buildable with VS 2017 2019-03-18 15:07:57 +01:00
Alexander A. Klimov
c4333b49f5 Test Json{En,De}code() 2019-03-18 15:07:57 +01:00
Alexander A. Klimov
2a05b46431 Auto-sanitize data before en-/decoding JSON 2019-03-18 15:07:57 +01:00
Alexander A. Klimov
9daca0b216 Get rid of YAJL 2019-03-18 15:07:57 +01:00
Alexander A. Klimov
5882594b43 JsonEncode(): use nlohmann::json 2019-03-18 15:07:57 +01:00
Alexander A. Klimov
1b0367b740 JsonDecode(): use nlohmann::json::sax_parse() 2019-03-18 15:07:57 +01:00
Michael Friedrich
724b34c6f2 Integrate nlohmann_json into CMake
Better integration into base/json.cpp

Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2019-03-18 15:07:50 +01:00
Alexander A. Klimov
89b371813f Import "JSON for Modern C++" 2019-03-18 15:05:32 +01:00
Michael Friedrich
2de8bac588
Merge pull request #6990 from Icinga/bugfix/influxdbwriter-oom-6989
InfluxdbWriter: don't leak sockets
2019-03-18 14:38:04 +01:00
Michael Friedrich
66246bdb86
Merge pull request #6978 from Icinga/bugfix/doc-dep-boost
Doc: SLES 11 requires a newer boost version, too
2019-03-18 11:11:45 +01:00
Michael Friedrich
d14352c844
Merge pull request #7025 from Icinga/feature/gitignore
Update .gitignore
2019-03-18 11:10:49 +01:00
Michael Friedrich
e5cb90ec65 Update .gitignore 2019-03-18 11:05:39 +01:00
Michael Friedrich
ea80d93efc
Merge pull request #7014 from Icinga/feature/utf8cpp
Utility::ValidateUTF8(): use UTF8-CPP
2019-03-18 10:57:03 +01:00
Michael Friedrich
804c00ece5
Merge pull request #6999 from Icinga/bugfix/compiler-warnings
Suppress or fix compiler warnings
2019-03-18 08:44:30 +01:00
Alexander A. Klimov
60ec11de73 Test Utility::ValidateUTF8() 2019-03-15 13:34:20 +01:00
Alexander A. Klimov
a72f4db5c9 Utility::ValidateUTF8(): use UTF8-CPP 2019-03-15 13:34:20 +01:00
Alexander A. Klimov
85c0d2c2cc Integrate UTF8-CPP into CMake 2019-03-15 13:34:20 +01:00
Alexander A. Klimov
dd15f33c17 Add 'third-party/utf8cpp/' from commit '82344d605146dca6b19abc21578482cecda7f5d7'
git-subtree-dir: third-party/utf8cpp
git-subtree-mainline: 002f8e36f5ef8517cb9b870351bff9da617abe23
git-subtree-split: 82344d605146dca6b19abc21578482cecda7f5d7
2019-03-15 13:33:44 +01:00
nemtrif
82344d6051
Merge pull request #23 from Al2Klimov/bugfix/license
Show license more prominently
2019-03-15 08:28:20 -04:00
Alexander A. Klimov
ef7bf0f783 Show license more prominently 2019-03-15 10:11:42 +01:00