Commit Graph

10528 Commits

Author SHA1 Message Date
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 8d3c8fd107)
2019-03-19 11:20:30 +01:00
Alexander A. Klimov bac6f17eff Notification#BeginExecuteNotification(): SetNextNotification() correctly
refs #5561

(cherry picked from commit 3b2054761a)
2019-03-19 11:20:09 +01:00
Jean Flach cd65ffc55c Don't run UpdateObjectAuthority for Comments and Downtimes
(cherry picked from commit 2aff6a5887)
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 d082e8c1b1)
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 a1540aebcc)
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 68faeccff8)
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: 002f8e36f5
git-subtree-split: 82344d6051
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
Alexander A. Klimov 188ff9b25a Assignment operators doc: tell what the { } are for
refs #5430

(cherry picked from commit 5e08e033ad)
2019-03-13 10:34:06 +01:00
Alexander A. Klimov c64f974f3c Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/

(cherry picked from commit e7f2370ada)
2019-03-13 10:33:48 +01:00
Lee Garrett d4646acdbf Typo and link fix
(cherry picked from commit 0a582905c5)
2019-03-13 10:33:02 +01:00
Alexander A. Klimov 58c2ea8a76 Ignore failure of unit test base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives

(cherry picked from commit 646feb76e0)
2019-03-13 10:32:18 +01:00
Michael Friedrich adf1549c2d
Merge pull request #6977 from Icinga/bugfix/base_utility-comparepasswords_issafe
Ignore failure of unit test base_utility/comparepasswords_issafe
2019-03-13 10:31:47 +01:00
Alexander A. Klimov 1436b7dc1c Don't require OS headers to provide SO_REUSEPORT
(cherry picked from commit bf0c68757f)
2019-03-13 10:31:09 +01:00