]>
granicus.if.org Git - icinga2/log
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 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
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
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
Michael Friedrich [Tue, 12 Mar 2019 13:12:44 +0000 (14:12 +0100)]
Merge pull request #7001 from Icinga/bugfix/doc-assignment-5430
Assignment operators doc: tell what the { } are for
Michael Friedrich [Mon, 11 Mar 2019 10:44:21 +0000 (11:44 +0100)]
Merge pull request #6979 from Icinga/bugfix/systemd-upper-case
Doc: write systemd lower-case
Michael Friedrich [Mon, 11 Mar 2019 09:57:44 +0000 (10:57 +0100)]
Merge pull request #6991 from Icinga/bugfix/already-exist-critical
PkiUtility::NewCa(): just warn if the CA files already exist
Alexander A. Klimov [Fri, 8 Mar 2019 15:39:23 +0000 (16:39 +0100)]
Assignment operators doc: tell what the { } are for
refs #5430
Alexander A. Klimov [Fri, 8 Mar 2019 13:07:29 +0000 (14:07 +0100)]
Suppress or fix compiler warnings
Michael Insel [Wed, 6 Mar 2019 18:14:42 +0000 (19:14 +0100)]
Merge pull request #6995 from leegarrett/master
Typo and link fix
Lee Garrett [Tue, 5 Mar 2019 16:40:14 +0000 (17:40 +0100)]
Typo and link fix
Alexander A. Klimov [Fri, 1 Mar 2019 13:37:45 +0000 (14:37 +0100)]
PkiUtility::NewCa(): just warn if the CA files already exist
Alexander A. Klimov [Fri, 1 Mar 2019 13:30:49 +0000 (14:30 +0100)]
InfluxdbWriter: don't leak sockets
refs #6989
Alexander A. Klimov [Fri, 1 Mar 2019 13:29:35 +0000 (14:29 +0100)]
Defer: ensure not to throw any exceptions out of a destructor
refs #6989
Michael Friedrich [Tue, 26 Feb 2019 14:38:15 +0000 (15:38 +0100)]
Merge pull request #6970 from Icinga/bugfix/perfdata-gaps
Improve reload handling for features (metric & queue flush, activation priority)
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/
Alexander A. Klimov [Tue, 26 Feb 2019 13:29:03 +0000 (14:29 +0100)]
Doc: SLES 11 requires a newer boost version, too
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
Alexander A. Klimov [Tue, 26 Feb 2019 10:25:44 +0000 (11:25 +0100)]
Don't require OS headers to provide SO_REUSEPORT
Michael Friedrich [Tue, 26 Feb 2019 09:31:50 +0000 (10:31 +0100)]
Merge branch 'support/2.10'
Michael Friedrich [Mon, 25 Feb 2019 15:53:13 +0000 (16:53 +0100)]
Release version 2.10.3
Michael Friedrich [Tue, 26 Feb 2019 08:07:35 +0000 (09:07 +0100)]
Merge pull request #6974 from Icinga/feature/copyright-generic
Update to generic copyright header
Michael Friedrich [Tue, 26 Feb 2019 08:06:58 +0000 (09:06 +0100)]
Merge pull request #6975 from sebastic/patch-1
Fix nested hostgroup example
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.
Michael Friedrich [Mon, 25 Feb 2019 15:53:13 +0000 (16:53 +0100)]
Release version 2.10.3
Michael Friedrich [Mon, 7 Jan 2019 14:59:24 +0000 (15:59 +0100)]
Dynamically print current copyright year in `--version` output
(cherry picked from commit
c1fedab7aea73f6aa9c9357c54c409665239d698)
Michael Friedrich [Mon, 25 Feb 2019 15:30:40 +0000 (16:30 +0100)]
Replace a few more copyright strings
Michael Friedrich [Mon, 25 Feb 2019 14:09:36 +0000 (15:09 +0100)]
Replace Copyright header with a short version, part II
Michael Friedrich [Mon, 25 Feb 2019 13:48:22 +0000 (14:48 +0100)]
Replace Copyright header with a short version, part I
CLion -> replace in path
Michael Friedrich [Mon, 7 Jan 2019 14:59:24 +0000 (15:59 +0100)]
Dynamically print current copyright year in `--version` output
Michael Friedrich [Mon, 25 Feb 2019 12:40:58 +0000 (13:40 +0100)]
Fix formatting in development docs
(cherry picked from commit
710e4fa55e919032bd3b45c774130e1f938d3f81)
Michael Friedrich [Mon, 25 Feb 2019 12:48:51 +0000 (13:48 +0100)]
Merge pull request #6972 from Icinga/bugfix/dev-docs
Fix formatting in development docs
Michael Friedrich [Mon, 25 Feb 2019 12:40:58 +0000 (13:40 +0100)]
Fix formatting in development docs
Alexander A. Klimov [Fri, 22 Feb 2019 15:58:26 +0000 (16:58 +0100)]
Test Utility::ComparePasswords()
(cherry picked from commit
1b00331a88c396ab8c94188855074ed907a5bd66)
Alexander A. Klimov [Fri, 22 Feb 2019 10:37:07 +0000 (11:37 +0100)]
Secure ApiUser::GetByAuthHeader() against timing attacks
(cherry picked from commit
9558ebc0f46febc7692bbb65394708b78b276d46)
Michael Friedrich [Mon, 25 Feb 2019 12:34:21 +0000 (13:34 +0100)]
Merge pull request #6968 from Icinga/bugfix/timing-attack
Secure ApiUser::GetByAuthHeader() against timing attacks
Michael Friedrich [Mon, 25 Feb 2019 09:14:30 +0000 (10:14 +0100)]
Merge pull request #6971 from Icinga/bugfix/downtime-acti
Activate downtimes before any checkable object
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object
(cherry picked from commit
7936a147ba82ce7e19de43ccb5f4c830edd8d235)
Michael Friedrich [Fri, 22 Feb 2019 14:53:38 +0000 (15:53 +0100)]
Implement ReloadTimeout constant and wait for enqueued checks on Stop()
Alexander A. Klimov [Fri, 22 Feb 2019 15:58:26 +0000 (16:58 +0100)]
Test Utility::ComparePasswords()
Alexander A. Klimov [Fri, 22 Feb 2019 10:37:07 +0000 (11:37 +0100)]
Secure ApiUser::GetByAuthHeader() against timing attacks
Michael Friedrich [Fri, 22 Feb 2019 14:27:34 +0000 (15:27 +0100)]
Re-add Defer functionality
Michael Friedrich [Fri, 22 Feb 2019 10:43:41 +0000 (11:43 +0100)]
Merge pull request #6963 from akrus/master
Add missing args for apache-status and fix a few typos
akrus [Fri, 22 Feb 2019 08:57:41 +0000 (10:57 +0200)]
Add missing args for apache-status and fix a few typos
Michael Friedrich [Fri, 22 Feb 2019 08:34:16 +0000 (09:34 +0100)]
PerfdataWriter: Reset the rotation timer on Pause()
Michael Friedrich [Fri, 22 Feb 2019 08:27:59 +0000 (09:27 +0100)]
Merge pull request #6896 from Icinga/bugfix/notification-delay-5561
Notification#BeginExecuteNotification(): SetNextNotification() correctly
Michael Friedrich [Wed, 20 Feb 2019 16:18:24 +0000 (17:18 +0100)]
GelfWriter: Ensure to join queue and execute queries on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:17:45 +0000 (17:17 +0100)]
OpenTsdbWriter: Ensure to reset reconnect timer on Pause()
Michael Friedrich [Wed, 20 Feb 2019 16:11:39 +0000 (17:11 +0100)]
ElasticWriter: Ensure to flush buffers on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:10:46 +0000 (17:10 +0100)]
DB IDO: Improve queue handling on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 14:21:24 +0000 (15:21 +0100)]
InfluxdbWriter: Ensure to flush buffers after emptying the metrics queue on Pause/Shutdown/Reload
Patch taken from @al2klimov but moved into Pause()
Michael Friedrich [Wed, 20 Feb 2019 13:54:23 +0000 (14:54 +0100)]
GraphiteWriter: Improve Pause/Shutdown/Reload handling for metrics
Michael Friedrich [Wed, 20 Feb 2019 13:20:53 +0000 (14:20 +0100)]
PerfdataWriter: Rotate and close files on Pause/Shutdown/Reload
Refactored the code into a local mutex and added
some more debug logging while at it.
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object
Michael Friedrich [Wed, 20 Feb 2019 12:55:34 +0000 (13:55 +0100)]
Stop the IcingaApplication at the latest point, before any loggers
Michael Friedrich [Wed, 20 Feb 2019 11:38:57 +0000 (12:38 +0100)]
Stop object in reversed activation priority order
This stops the checker component first, then notifications, then
features, then config objects, then the API feature and logger(s).
Patch taken from @al2klimov
Michael Friedrich [Wed, 20 Feb 2019 11:37:48 +0000 (12:37 +0100)]
Start the checker component at the latest point possible
Michael Friedrich [Wed, 20 Feb 2019 11:11:59 +0000 (12:11 +0100)]
Start the notification component after general features
Michael Friedrich [Wed, 20 Feb 2019 10:32:29 +0000 (11:32 +0100)]
Merge pull request #6953 from Icinga/bugfix/style
Fix indent in configcompiler.cpp
Michael Friedrich [Tue, 19 Feb 2019 13:54:28 +0000 (14:54 +0100)]
Revert "InfluxdbWriter#Stop(): flush buffer"
This reverts commit
8470facfe2d8437d5db75e4f84434991d30032c7.
Michael Friedrich [Tue, 19 Feb 2019 13:30:44 +0000 (14:30 +0100)]
Revert "Respect activation priority also on deactivation"
This reverts commit
8ad1717055683c573f81181c7749ba422fa96d13.
Michael Friedrich [Tue, 19 Feb 2019 13:06:15 +0000 (14:06 +0100)]
Revert "Deactivate perfdata writers after checker"
This reverts commit
f0e12ff63ce138b6df9e85bc690eda46ae794ccb.
Michael Friedrich [Tue, 19 Feb 2019 13:05:07 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): log after actually being stopped"
This reverts commit
b81aa6af3a23cba179b9da03fda6d2674ccc0956.
Michael Friedrich [Tue, 19 Feb 2019 13:05:00 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): wait for all running checks"
This reverts commit
1eaad0637b75bd24875b1e62fd080fb155b08ed7.
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.
(cherry picked from commit
d98c0704c446b0fd47b18b610a92ac75de180853)
Michael Friedrich [Tue, 19 Feb 2019 12:52:39 +0000 (13:52 +0100)]
Merge pull request #6958 from Icinga/feature/debug-log-stop
Debug: Log calls to ConfigObject::Deactivate()
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.
Michael Friedrich [Tue, 19 Feb 2019 08:39:45 +0000 (09:39 +0100)]
Merge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol
Escape pipe symbol in api documentation
Michael Insel [Mon, 18 Feb 2019 15:21:26 +0000 (16:21 +0100)]
Escape pipe symbol in api documentation
This escapes the pipe symbol in the api documentation.
refs #6955
Michael Friedrich [Fri, 15 Feb 2019 11:24:49 +0000 (12:24 +0100)]
Fix indent in configcompiler.cpp
Michael Insel [Wed, 13 Feb 2019 07:13:02 +0000 (08:13 +0100)]
Merge pull request #6949 from fluxX04/patch-1
Doc fix: update check_rbl parameter
Alex [Wed, 13 Feb 2019 06:44:20 +0000 (07:44 +0100)]
fixes check_rbl parameter typo
Michael Friedrich [Mon, 11 Feb 2019 16:57:32 +0000 (17:57 +0100)]
Merge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536
Url#m_Query: preserve order