]>
granicus.if.org Git - icinga2/log
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.
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 [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
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
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/
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
Michael Friedrich [Mon, 11 Feb 2019 16:32:05 +0000 (17:32 +0100)]
Merge pull request #6882 from Icinga/bugfix/influxdb-gaps-6841
InfluxdbWriter#Stop(): flush buffer
Michael Friedrich [Mon, 11 Feb 2019 16:27:44 +0000 (17:27 +0100)]
Merge pull request #6908 from Icinga/bugfix/perfdata-gaps
Ensure all perfdata to be written
Michael Friedrich [Mon, 11 Feb 2019 15:57:17 +0000 (16:57 +0100)]
Merge pull request #6854 from Icinga/bugfix/unamehelper-inefficient-6452
Make UnameHelper() efficient
Michael Friedrich [Mon, 11 Feb 2019 15:53:27 +0000 (16:53 +0100)]
Merge pull request #6934 from Icinga/bugfix/boost-version-6933
Raise required Boost version to 1.53
Michael Friedrich [Mon, 11 Feb 2019 15:41:46 +0000 (16:41 +0100)]
Merge pull request #6577 from Icinga/fix/setup-api-including-users-file
Include api user configuration file during api setup
Michael Friedrich [Mon, 11 Feb 2019 15:35:57 +0000 (16:35 +0100)]
Merge pull request #6748 from Icinga/bugfix/api-setup-fails-missing-confd
Fix api setup to automatically create the conf.d directory
Michael Friedrich [Mon, 11 Feb 2019 14:32:50 +0000 (15:32 +0100)]
Merge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries-6942
Avoid duplicating non-zero count message replay messages in the debug log
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
(cherry picked from commit
6558287da03bb526ba2728201ff7d558a09faf46 )
Michael Friedrich [Mon, 11 Feb 2019 13:38:33 +0000 (14:38 +0100)]
Merge pull request #6944 from Icinga/feature/docs-windows-agent-throubleshooting
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
Peter Eckel [Mon, 11 Feb 2019 12:54:17 +0000 (13:54 +0100)]
Avoid duplicating non-zero count message replay messages in the debug log
Michael Friedrich [Fri, 8 Feb 2019 12:32:13 +0000 (13:32 +0100)]
Refactor conditions and add debug log messages for future crs and skipped crs
(cherry picked from commit
d1fb1a8eda05018c5f665fceeb52569e243a7b65 )
Jean Flach [Fri, 11 Jan 2019 15:16:45 +0000 (16:16 +0100)]
Fix checkresults from the future breaking checks
(cherry picked from commit
c97f3c80f550320abcbc3bcbaa0a3673c2091c34 )
Michael Insel [Fri, 1 Feb 2019 15:46:28 +0000 (16:46 +0100)]
Doc: Add .NET 3.5 to the windows build stack
The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.
(cherry picked from commit
52d81d0af522956fec4ef63c0e3c06158cbefbf9 )
Michael Friedrich [Mon, 28 Jan 2019 16:33:05 +0000 (17:33 +0100)]
Don't allow retry_interval <= 0
(cherry picked from commit
8cbd4820725655e3c4ae06aef78308183be016da )
Alexander A. Klimov [Mon, 28 Jan 2019 17:29:57 +0000 (18:29 +0100)]
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
(cherry picked from commit
ce847324bc8abe4f36071633b999fa88ba2213f3 )
Alexander A. Klimov [Tue, 15 Jan 2019 18:23:20 +0000 (19:23 +0100)]
Validate Zone::GetLocalZone() before using
(cherry picked from commit
b09e7b287e6b4bbc277c9ef7828e34f884927f82 )
Michael Friedrich [Wed, 16 Jan 2019 16:27:38 +0000 (17:27 +0100)]
Log: Ensure not to pass negative values to localtime()
refs #6887
(cherry picked from commit
2fc33996b620d97e54d75b0d8c101fb3d9ba791c )
Alexander A. Klimov [Wed, 9 Jan 2019 10:27:33 +0000 (11:27 +0100)]
Allow Checkable#retry_interval to be 0
refs #6871
(cherry picked from commit
9ae738d17fa6220d988001e4c56155aa6535992c )
Max Rosin [Wed, 5 Dec 2018 15:28:03 +0000 (16:28 +0100)]
Document that retry_interval is only used after an active check result
fixes #6795
(cherry picked from commit
00757919b322bc930360694c30485977cfb5506a )
Michael Friedrich [Tue, 4 Dec 2018 11:21:54 +0000 (12:21 +0100)]
Docs: Formatting for dev requirements
(cherry picked from commit
00673cd75911e56cf977fdb5c14c809a97c01e6d )
Michael Friedrich [Tue, 4 Dec 2018 11:14:01 +0000 (12:14 +0100)]
Minor updates for core dumps
The main parts are discussed in #6723
(cherry picked from commit
43c171056f826cf08b4155472ad9a6a4d14ba8a9 )
Michael Friedrich [Tue, 4 Dec 2018 09:58:44 +0000 (10:58 +0100)]
Michael Friedrich [Tue, 4 Dec 2018 09:54:39 +0000 (10:54 +0100)]
Purge INSTALL.md and add packager info to README.md
Everything is located in the online documentation, where the README.md
points to.
(cherry picked from commit
9801b8b7a040fd4c91aa05d596ec644ddd294bdc )
Michael Friedrich [Tue, 4 Dec 2018 09:51:04 +0000 (10:51 +0100)]
Fix formatting in dev docs
(cherry picked from commit
8cbe286e676a56c536cee517b898cbe2f25b2547 )
Michael Friedrich [Mon, 3 Dec 2018 10:28:39 +0000 (11:28 +0100)]
Docs: Update README.md with a better description and direct URLs to icinga.com/docs
(cherry picked from commit
e0b3e05c636db082da264c92fc02593f7ff44ded )
Michael Friedrich [Mon, 3 Dec 2018 10:15:04 +0000 (11:15 +0100)]
Docs: Update anchors
(cherry picked from commit
ac9ed41537b36d7a41e26e8535e208579cccbfc2 )