]>
granicus.if.org Git - icinga2/log
Alexander A. Klimov [Fri, 8 Feb 2019 10:43:47 +0000 (11:43 +0100)]
ApiListener: listen(2) via Boost ASIO
Alexander A. Klimov [Fri, 8 Feb 2019 09:05:24 +0000 (10:05 +0100)]
Implement basic I/O engine
Alexander A. Klimov [Tue, 12 Feb 2019 10:47:03 +0000 (11:47 +0100)]
Implement LazyInit<T>
Alexander A. Klimov [Fri, 8 Feb 2019 10:51:22 +0000 (11:51 +0100)]
Require Boost context, coroutine and date_time
Alexander A. Klimov [Thu, 7 Feb 2019 15:33:59 +0000 (16:33 +0100)]
Require Boost v1.66.0+
Michael Friedrich [Mon, 1 Apr 2019 08:30:11 +0000 (10:30 +0200)]
Merge pull request #7062 from Icinga/bugfix/ido-reconnect-failover
Improve DB IDO HA failover behaviour
Michael Friedrich [Mon, 1 Apr 2019 07:31:55 +0000 (09:31 +0200)]
Docs: Add failover changes to upgrading chapter
Michael Friedrich [Mon, 1 Apr 2019 07:31:03 +0000 (09:31 +0200)]
ido Check: Add last failover timestamp to output when HA enabled IDO is running
Michael Friedrich [Mon, 1 Apr 2019 06:51:18 +0000 (08:51 +0200)]
Code Quality: Move authority.cpp into the ApiListener class scope
Michael Friedrich [Fri, 29 Mar 2019 14:53:56 +0000 (15:53 +0100)]
Improve DB IDO HA failover behaviour
- Decrease Object Authority updates to 10s (was 30s)
- Decrease failover timeout to 30s (was 60s)
- Decrease cold startup (after (re)start) with no OA updates to 30s (was 60s)
- Immediately connect on Resume()
- Fix query priority which got broken with #6970
- Add more logging when a failover is in progress
```
[2019-03-29 16:13:53 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 8.33246s ago (< failover timeout of 30s). Retrying.
[2019-03-29 16:14:23 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 38.3288s ago. Taking over 'ido-mysql' in HA zone 'master'.
```
- Add more logging for reconnect and disconnect handling
- Add 'last_failover' attribute to IDO*Connection objects
refs #6970
Michael Friedrich [Thu, 28 Mar 2019 08:56:49 +0000 (09:56 +0100)]
Fix code block in distributed monitoring docs
refs #6998
(cherry picked from commit
12b0b9a936fc842742e00cf14089139236d95b76 )
Michael Friedrich [Wed, 27 Mar 2019 16:16:18 +0000 (17:16 +0100)]
Merge pull request #7052 from Icinga/feature/ha-enable
Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata)
Michael Friedrich [Wed, 27 Mar 2019 14:29:03 +0000 (15:29 +0100)]
Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata)
Michael Friedrich [Wed, 27 Mar 2019 11:16:07 +0000 (12:16 +0100)]
Merge pull request #7051 from Icinga/bugfix/influxdb-flush-buffer
InfluxDB/Elasticsearch: Flush only if there's data in the buffer
Michael Friedrich [Wed, 27 Mar 2019 10:35:41 +0000 (11:35 +0100)]
Also apply buffer flush fix for Elasticsearch feature
Michael Friedrich [Wed, 27 Mar 2019 10:16:08 +0000 (11:16 +0100)]
InfluxDB: Flush only if there's data in the buffer
Regression from 2.10.4
Michael Friedrich [Tue, 26 Mar 2019 08:50:21 +0000 (09:50 +0100)]
Merge pull request #7047 from Icinga/feature/update-issue-templates
Update issue templates
Michael Friedrich [Tue, 26 Mar 2019 08:48:52 +0000 (09:48 +0100)]
Merge pull request #7049 from Icinga/feature/docs-api-golang
REST API Docs: Add Golang client code example
Michael Friedrich [Tue, 26 Mar 2019 08:46:36 +0000 (09:46 +0100)]
REST API Docs: Add Golang client code example
Michael Friedrich [Tue, 26 Mar 2019 08:40:17 +0000 (09:40 +0100)]
Merge pull request #6998 from Icinga/bugfix/doc-code-formatting
Unify documentation code formatting
Michael Insel [Thu, 7 Mar 2019 18:56:49 +0000 (19:56 +0100)]
Unify documentation code formatting
This unifies the documentation code formatting to use only backticks.
Michael Friedrich [Mon, 25 Mar 2019 15:56:00 +0000 (16:56 +0100)]
Update issue templates
Michael Friedrich [Mon, 25 Mar 2019 10:38:04 +0000 (11:38 +0100)]
Merge pull request #7042 from dgoetz/bugfix/selinux_sudo-7039
SELinux: add a boolean to allow execution of plugins via sudo
Michael Friedrich [Mon, 25 Mar 2019 10:01:25 +0000 (11:01 +0100)]
Merge pull request #7046 from Icinga/feature/docs-ca-list-cleanup
Document that `ca list` is not an inventory, add cleanup cycle
Michael Friedrich [Mon, 25 Mar 2019 09:59:55 +0000 (10:59 +0100)]
Document that `ca list` is not an inventory, add cleanup cycle
Dirk Goetz [Fri, 22 Mar 2019 10:24:01 +0000 (11:24 +0100)]
SELinux: add a boolean to allow execution of plugins via sudo
Fixes #7039
Michael Friedrich [Thu, 21 Mar 2019 10:30:39 +0000 (11:30 +0100)]
Merge pull request #7037 from lamaral/bugfix/api_doc_title
Fix incorrect title in API docs
Luiz Amaral [Wed, 20 Mar 2019 10:34:59 +0000 (11:34 +0100)]
Fix incorrect title in API docs
The API docs had the title "List Configuration Packages and their Stages" written twice.
Michael Friedrich [Wed, 20 Mar 2019 09:49:54 +0000 (10:49 +0100)]
Merge pull request #7035 from Icinga/feature/es-content-type
Elasticsearch: Change Content-Type header to 'application/x-ndjson' for bulk streams
Michael Friedrich [Wed, 20 Mar 2019 09:13:38 +0000 (10:13 +0100)]
Elasticsearch: Change Content-Type header to 'application/x-ndjson' for bulk streams
fixes #6609
Michael Friedrich [Tue, 19 Mar 2019 15:59:02 +0000 (16:59 +0100)]
Merge pull request #7034 from Icinga/feature/nsclient-update
Update NSClient++ to 0.5.2.39
Michael Friedrich [Tue, 19 Mar 2019 10:50:30 +0000 (11:50 +0100)]
Update RELEASE checklist
(cherry picked from commit
07161899e01e385c4cffd357fbc075d289d07be5 )
Michael Friedrich [Tue, 19 Mar 2019 11:56:33 +0000 (12:56 +0100)]
Merge branch 'support/2.10'
Michael Friedrich [Tue, 19 Mar 2019 11:55:29 +0000 (12:55 +0100)]
Release version 2.10.4
Michael Friedrich [Tue, 19 Mar 2019 11:55:29 +0000 (12:55 +0100)]
Release version 2.10.4
Michael Insel [Mon, 26 Nov 2018 16:13:58 +0000 (17:13 +0100)]
Fix check_perfmon to support non-localized names
This fixes check_perfmon to support non-localized names on localized
Windows machines. The fix handles the given performance counter by
default as non-localized name, if none is found it falls back to the
localized name.
refs #5546
(cherry picked from commit
5da4fbde3b501c174ec028b7a7ae036194a5a77e )
Michael Friedrich [Tue, 19 Mar 2019 11:08:19 +0000 (12:08 +0100)]
Docs: Update supported package repos in Getting Started chapter
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
(cherry picked from commit
1c546a7b510a1f15059932ccc60ab52161c68915 )
Michael Friedrich [Tue, 19 Mar 2019 11:25:59 +0000 (12:25 +0100)]
Merge pull request #7033 from Icinga/feature/docs-package-repos
Docs: Update supported package repos in Getting Started chapter
Michael Friedrich [Tue, 19 Mar 2019 11:08:19 +0000 (12:08 +0100)]
Docs: Update supported package repos in Getting Started chapter
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
Michael Friedrich [Tue, 19 Mar 2019 10:50:30 +0000 (11:50 +0100)]
Update RELEASE checklist
Michael Friedrich [Tue, 19 Mar 2019 10:50:17 +0000 (11:50 +0100)]
Update AUTHORS
Michael Friedrich [Tue, 19 Mar 2019 10:34:48 +0000 (11:34 +0100)]
Merge pull request #7031 from Icinga/feature/metricwriters-logging
Improve logging for parsing metrics in features
Alexander A. Klimov [Fri, 8 Mar 2019 15:55:06 +0000 (16:55 +0100)]
check_network -h: drop non-existent feature
refs #6155
(cherry picked from commit
9f26569bcc203d98498466cc1ffa6549a9b81998 )
Michael Insel [Mon, 18 Mar 2019 16:20:28 +0000 (17:20 +0100)]
Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.
(cherry picked from commit
da3775b6dbc0541558b9ee3618b55f057297a137 )
Dirk Goetz [Mon, 18 Mar 2019 18:43:47 +0000 (19:43 +0100)]
SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
(cherry picked from commit
726be2fec262f10b42649d1dad5099336e8610e9 )
Alexander A. Klimov [Fri, 15 Mar 2019 12:15:24 +0000 (13:15 +0100)]
ElasticsearchWriter: don't leak sockets
refs #7018
(cherry picked from commit
b2e2b587da530a5b79f746ed0db5b3804b502e07 )
Alexander A. Klimov [Fri, 1 Mar 2019 13:30:49 +0000 (14:30 +0100)]
InfluxdbWriter: don't leak sockets
refs #6989
(cherry picked from commit
2a6b122413dfc8762a7839bbe41c125455a17b5c )
Michael Friedrich [Tue, 19 Mar 2019 10:28:48 +0000 (11:28 +0100)]
Merge pull request #7032 from Icinga/feature/backport-defer
Backport Defer class for 2.10
Michael Friedrich [Tue, 19 Mar 2019 10:23:18 +0000 (11:23 +0100)]
Backport Defer class for 2.10
Bas Couwenberg [Tue, 26 Feb 2019 07:49:36 +0000 (08:49 +0100)]
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 )
Alexander A. Klimov [Fri, 11 Jan 2019 17:25:12 +0000 (18:25 +0100)]
Notification#BeginExecuteNotification(): SetNextNotification() correctly
refs #5561
(cherry picked from commit
3b2054761ad90e71fba82d13cd57d7388f524993 )
Jean Flach [Thu, 10 Jan 2019 10:44:14 +0000 (11:44 +0100)]
Don't run UpdateObjectAuthority for Comments and Downtimes
(cherry picked from commit
2aff6a5887112259d795401e907a879ce424db51 )
Michael Friedrich [Thu, 8 Nov 2018 11:13:32 +0000 (12:13 +0100)]
Fix that no_more_notifications gets reset when Recovery notifications are filtered away
Hello from the OSMC hackathon :)
(cherry picked from commit
d082e8c1b19c88a68e0381db7f5806f31fe8523d )
Michael Insel [Thu, 25 Oct 2018 16:07:05 +0000 (18:07 +0200)]
Update Windows agent documentation screenshots
Updates the Windows agent screenshots in the documentation with the new design.
refs #6729
(cherry picked from commit
a1540aebcc4b082fbdcd56bbae69b02063a2c517 )
Michael Insel [Thu, 25 Oct 2018 16:00:10 +0000 (18:00 +0200)]
Update Windows Agent design
This updates the Windows agent design to use the Icinga background
image.
refs #6729
(cherry picked from commit
68faeccff817b15c9c7838670c49067aaf242c43 )
Michael Friedrich [Mon, 9 Apr 2018 07:32:21 +0000 (09:32 +0200)]
Update NSClient++ to 0.5.2.39
Michael Friedrich [Tue, 19 Mar 2019 08:38:32 +0000 (09:38 +0100)]
Improve logging of OpenTsdbWriter
Michael Friedrich [Tue, 19 Mar 2019 08:32:02 +0000 (09:32 +0100)]
Improve logging of GelfWriter
Michael Friedrich [Tue, 19 Mar 2019 08:01:12 +0000 (09:01 +0100)]
Improve logging of ElasticsearchWriter
Michael Friedrich [Tue, 19 Mar 2019 07:35:55 +0000 (08:35 +0100)]
Improve logging of InfluxdbWriter
Michael Friedrich [Thu, 17 Jan 2019 07:53:55 +0000 (08:53 +0100)]
Improve logging of GraphiteWriter
Michael Friedrich [Tue, 19 Mar 2019 08:27:55 +0000 (09:27 +0100)]
Merge pull request #7002 from Icinga/bugfix/check_network-percent-6155
check_network -h: drop non-existent feature
Michael Friedrich [Tue, 19 Mar 2019 08:26:30 +0000 (09:26 +0100)]
Merge pull request #7028 from Icinga/bugfix/doc-heading-level
Fix heading level in development chapter
Michael Friedrich [Tue, 19 Mar 2019 08:26:03 +0000 (09:26 +0100)]
Merge pull request #7030 from dgoetz/bugfix/selinux_port_attribute-7029
SELinux: add unreserved_port_type attribute to icinga2_port_t
Michael Friedrich [Tue, 19 Mar 2019 07:35:16 +0000 (08:35 +0100)]
Merge pull request #7027 from Icinga/feature/es-improve-error-handling
Elasticsearch: Improve error handling/logging
Dirk Goetz [Mon, 18 Mar 2019 18:43:47 +0000 (19:43 +0100)]
SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
Michael Friedrich [Mon, 18 Mar 2019 16:26:57 +0000 (17:26 +0100)]
Merge pull request #7019 from Icinga/feature/new-json-library
Replace YAJL with nlohmann::json
Michael Friedrich [Mon, 18 Mar 2019 16:25:15 +0000 (17:25 +0100)]
Upgrading docs: Mention YAJL replaced by Nlohmann::JSON
Michael Insel [Mon, 18 Mar 2019 16:20:28 +0000 (17:20 +0100)]
Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.
Michael Friedrich [Mon, 18 Mar 2019 16:02:12 +0000 (17:02 +0100)]
Fix missing include in JSON tests
Non-unity builds require the additional header.
Michael Friedrich [Mon, 18 Mar 2019 15:41:01 +0000 (16:41 +0100)]
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.)
Michael Friedrich [Mon, 18 Mar 2019 15:39:43 +0000 (16:39 +0100)]
Merge pull request #7020 from Icinga/bugfix/elasticsearchwriter-oom-7018
ElasticsearchWriter: don't leak sockets
Alexander A. Klimov [Fri, 15 Mar 2019 12:15:24 +0000 (13:15 +0100)]
ElasticsearchWriter: don't leak sockets
refs #7018
Alexander A. Klimov [Fri, 15 Mar 2019 10:53:56 +0000 (11:53 +0100)]
Make buildable with VS 2017
Alexander A. Klimov [Fri, 15 Mar 2019 10:26:51 +0000 (11:26 +0100)]
Test Json{En,De}code()
Alexander A. Klimov [Fri, 15 Mar 2019 08:30:22 +0000 (09:30 +0100)]
Auto-sanitize data before en-/decoding JSON
Alexander A. Klimov [Fri, 15 Mar 2019 08:23:13 +0000 (09:23 +0100)]
Get rid of YAJL
Alexander A. Klimov [Fri, 15 Mar 2019 08:16:41 +0000 (09:16 +0100)]
JsonEncode(): use nlohmann::json
Alexander A. Klimov [Thu, 14 Mar 2019 13:05:45 +0000 (14:05 +0100)]
JsonDecode(): use nlohmann::json::sax_parse()
Michael Friedrich [Thu, 18 Oct 2018 13:22:50 +0000 (15:22 +0200)]
Integrate nlohmann_json into CMake
Better integration into base/json.cpp
Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
Alexander A. Klimov [Mon, 18 Mar 2019 14:05:32 +0000 (15:05 +0100)]
Import "JSON for Modern C++"
Michael Friedrich [Mon, 18 Mar 2019 13:38:04 +0000 (14:38 +0100)]
Merge pull request #6990 from Icinga/bugfix/influxdbwriter-oom-6989
InfluxdbWriter: don't leak sockets
Michael Friedrich [Mon, 18 Mar 2019 10:11:45 +0000 (11:11 +0100)]
Merge pull request #6978 from Icinga/bugfix/doc-dep-boost
Doc: SLES 11 requires a newer boost version, too
Michael Friedrich [Mon, 18 Mar 2019 10:10:49 +0000 (11:10 +0100)]
Merge pull request #7025 from Icinga/feature/gitignore
Update .gitignore
Michael Friedrich [Mon, 18 Mar 2019 10:05:39 +0000 (11:05 +0100)]
Update .gitignore
Michael Friedrich [Mon, 18 Mar 2019 09:57:03 +0000 (10:57 +0100)]
Merge pull request #7014 from Icinga/feature/utf8cpp
Utility::ValidateUTF8(): use UTF8-CPP
Michael Friedrich [Mon, 18 Mar 2019 07:44:30 +0000 (08:44 +0100)]
Merge pull request #6999 from Icinga/bugfix/compiler-warnings
Suppress or fix compiler warnings
Alexander A. Klimov [Wed, 13 Mar 2019 17:12:58 +0000 (18:12 +0100)]
Test Utility::ValidateUTF8()
Alexander A. Klimov [Thu, 14 Mar 2019 08:34:51 +0000 (09:34 +0100)]
Utility::ValidateUTF8(): use UTF8-CPP
Alexander A. Klimov [Thu, 14 Mar 2019 08:32:09 +0000 (09:32 +0100)]
Integrate UTF8-CPP into CMake
Alexander A. Klimov [Fri, 15 Mar 2019 12:33:44 +0000 (13:33 +0100)]
Add 'third-party/utf8cpp/' from commit '
82344d605146dca6b19abc21578482cecda7f5d7 '
git-subtree-dir: third-party/utf8cpp
git-subtree-mainline:
002f8e36f5ef8517cb9b870351bff9da617abe23
git-subtree-split:
82344d605146dca6b19abc21578482cecda7f5d7
nemtrif [Fri, 15 Mar 2019 12:28:20 +0000 (08:28 -0400)]
Merge pull request #23 from Al2Klimov/bugfix/license
Show license more prominently
Alexander A. Klimov [Fri, 15 Mar 2019 09:11:42 +0000 (10:11 +0100)]
Show license more prominently
Alexander A. Klimov [Fri, 8 Mar 2019 15:39:23 +0000 (16:39 +0100)]
Assignment operators doc: tell what the { } are for
refs #5430
(cherry picked from commit
5e08e033ad6ddaba59734b49a5775fd0965f2b5f )
Alexander A. Klimov [Tue, 26 Feb 2019 13:46:22 +0000 (14:46 +0100)]
Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/
(cherry picked from commit
e7f2370ada3129881e989a40eb40636f8c6dd131 )
Lee Garrett [Tue, 5 Mar 2019 16:40:14 +0000 (17:40 +0100)]
Typo and link fix
(cherry picked from commit
0a582905c5624056beca58cfcba44d954a20a91b )
Alexander A. Klimov [Tue, 26 Feb 2019 10:45:03 +0000 (11:45 +0100)]
Ignore failure of unit test base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
(cherry picked from commit
646feb76e06155f908a4dcee51144db8f05a114f )
Michael Friedrich [Wed, 13 Mar 2019 09:31:47 +0000 (10:31 +0100)]
Merge pull request #6977 from Icinga/bugfix/base_utility-comparepasswords_issafe
Ignore failure of unit test base_utility/comparepasswords_issafe
Alexander A. Klimov [Tue, 26 Feb 2019 10:25:44 +0000 (11:25 +0100)]
Don't require OS headers to provide SO_REUSEPORT
(cherry picked from commit
bf0c68757f99f88b43d7696f98d8361f39b83b82 )
Michael Friedrich [Wed, 13 Mar 2019 09:30:08 +0000 (10:30 +0100)]
Merge pull request #6976 from Icinga/bugfix/so_reuseport-missing
Don't require OS headers to provide SO_REUSEPORT