]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Mon, 21 Mar 2016 12:37:32 +0000 (13:37 +0100)]
IDO: Ensure that the notification insert id is passed to contactnotification inserts
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.
This patch also removes the old notification insert id cache
which was broken in many ways.
fixes #11387
Louis Sautier [Sat, 26 Mar 2016 13:41:58 +0000 (14:41 +0100)]
Re-add the 'su' directive to logrotate if supported
- try to detect a recent logrotate version which supports the 'su'
directive (added in 3.8.0, see
https://github.com/logrotate/logrotate/commit/
5be96cf1822496f80227e9a446281c3fa42e7b67 #diff-e4eb329834da3d36278b1b7d943b3bc9R6)
- if logrotate can't be found, assume an old version is used
- allow the parameter to be forced by the user
fixes #9249
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Michael Friedrich [Tue, 29 Mar 2016 11:49:38 +0000 (13:49 +0200)]
Fix socket exceptions while querying the API
fixes #11224
Michael Friedrich [Tue, 29 Mar 2016 10:09:51 +0000 (12:09 +0200)]
Fix: Downtimes/Comments not being synced to child zones
fixes #11227
Gunnar Beutner [Tue, 29 Mar 2016 07:43:40 +0000 (09:43 +0200)]
Fix Utility::MkDirP on Windows
fixes #11455
Gunnar Beutner [Tue, 29 Mar 2016 06:45:46 +0000 (08:45 +0200)]
Add /bigobj compiler option for Windows
refs #11462
Gunnar Beutner [Tue, 29 Mar 2016 06:42:02 +0000 (08:42 +0200)]
Another build fix for Win64
refs #11462
Gunnar Beutner [Tue, 29 Mar 2016 05:54:41 +0000 (07:54 +0200)]
Build fix for Win64
refs #11462
Gunnar Beutner [Thu, 24 Mar 2016 14:07:56 +0000 (15:07 +0100)]
Update .mailmap for Assaf Flatto
refs #11439
Gunnar Beutner [Thu, 24 Mar 2016 13:51:03 +0000 (14:51 +0100)]
Update AUTHORS
refs #11439
Assaf Flatto [Wed, 23 Mar 2016 10:16:38 +0000 (12:16 +0200)]
Update Centos/Redhat/Fedora installation instructions
Old Docs gave wrong details on how to install Icinga 2.
fixes #11439
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Thu, 24 Mar 2016 08:15:09 +0000 (09:15 +0100)]
Improve validation for arrays
fixes #11434
Michael Friedrich [Wed, 23 Mar 2016 13:03:44 +0000 (14:03 +0100)]
Ensure that the legacy_id attribute for comment/downtime objects is restored on restart
This has been changed when moving comments/downtimes to config objects
in
050c520b2a3df0477f2eec71ec2d874b6dd36aa5
It may cause trouble with DB IDO DELETE and UPDATE statements
depending on the old value.
refs #11382
Michael Friedrich [Wed, 23 Mar 2016 12:42:00 +0000 (13:42 +0100)]
DB IDO: Fix that downtime is not in effect after restart
fixes #10843
Michael Friedrich [Wed, 23 Mar 2016 12:09:08 +0000 (13:09 +0100)]
Docs: Fix broken formatting in cluster manual SSL generation
fixes #11440
Gunnar Beutner [Wed, 23 Mar 2016 09:12:05 +0000 (10:12 +0100)]
Update .mailmap
refs #11437
Thomas Widhalm [Tue, 22 Mar 2016 22:19:40 +0000 (23:19 +0100)]
Add silent installation, reference to NSClient++ and some extra information to the Windows Agent documentation
fixes #11437
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Gunnar Beutner [Wed, 23 Mar 2016 08:29:27 +0000 (09:29 +0100)]
Don't use semi-colons in auto-generated config files
fixes #11438
Gunnar Beutner [Wed, 23 Mar 2016 07:40:32 +0000 (08:40 +0100)]
Implement recursion limit for AST expressions which don't use a separate stack frame
fixes #11106
Gunnar Beutner [Tue, 22 Mar 2016 07:21:44 +0000 (08:21 +0100)]
Follow symlinks in Utility::GlobRecursive
fixes #11347
Michael Friedrich [Fri, 18 Mar 2016 14:10:37 +0000 (15:10 +0100)]
Add --method parameter for check_{oracle,mysql,mssql}_health CheckCommands
fixes #11098
Michael Friedrich [Fri, 18 Mar 2016 11:26:54 +0000 (12:26 +0100)]
Add --units, --rate and --rate-multiplier support for the snmpv3 check command
fixes #11194
Michael Friedrich [Thu, 17 Mar 2016 21:49:39 +0000 (22:49 +0100)]
Docs: Remove the migration script chapter
fixes #11407
Michael Friedrich [Thu, 17 Mar 2016 14:49:13 +0000 (15:49 +0100)]
Docs: Explain how to use functions for wildcard matches for arrays and/or dictionaries
... in assign where expressions
fixes #11402
Michael Friedrich [Tue, 15 Mar 2016 13:02:19 +0000 (14:02 +0100)]
Only call UpdateNextCheck() for soft states
refs #11336
Michael Friedrich [Tue, 15 Mar 2016 12:02:38 +0000 (13:02 +0100)]
Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult()
This patch also moves the next check updates for passive
check results into ProcessCheckResult(). That way the
next check status updates for DB IDO work in a sane way
again.
refs #11336
Michael Friedrich [Fri, 11 Mar 2016 09:30:50 +0000 (10:30 +0100)]
Use retry_interval on first OK -> NOT-OK state change
Only valid for active check results. The API actions were
missing that marker similar to the external command processor.
The initial OK -> NOT-OK transition should use the retry_interval
but nothing else.
fixes #11336
Michael Friedrich [Fri, 1 Apr 2016 08:06:26 +0000 (10:06 +0200)]
Docs: Fix url for Icinga Web 2 installation docs
refs #11494
Michael Friedrich [Thu, 17 Mar 2016 21:49:39 +0000 (22:49 +0100)]
Docs: Remove the migration script chapter
fixes #11407
Michael Friedrich [Thu, 17 Mar 2016 14:49:13 +0000 (15:49 +0100)]
Docs: Explain how to use functions for wildcard matches for arrays and/or dictionaries
... in assign where expressions
fixes #11402
Gunnar Beutner [Thu, 17 Mar 2016 05:35:30 +0000 (06:35 +0100)]
Update .mailmap for Markus Frosch
fixes #11399
Gunnar Beutner [Wed, 16 Mar 2016 08:48:27 +0000 (09:48 +0100)]
Release version 2.4.4
Gunnar Beutner [Tue, 15 Mar 2016 13:04:49 +0000 (14:04 +0100)]
Update .mailmap
refs #11328
Michael Friedrich [Tue, 15 Mar 2016 14:44:17 +0000 (15:44 +0100)]
ITL: Missing documentation for nwc_health "mode" parameter
fixes #11107
Michael Friedrich [Tue, 15 Mar 2016 14:26:22 +0000 (15:26 +0100)]
ITL: Add additional http check command parameters for SSL version enforcement
refs #10358
Michael Friedrich [Tue, 15 Mar 2016 13:41:24 +0000 (14:41 +0100)]
DB IDO: Fix user notification type filters
fixes #10766
Michael Friedrich [Tue, 15 Mar 2016 08:45:27 +0000 (09:45 +0100)]
Update development docs to use 'thread apply all bt full'
fixes #11385
Gunnar Beutner [Tue, 15 Mar 2016 08:35:53 +0000 (09:35 +0100)]
Update AUTHORS
refs #11369
Rune Darrud [Sun, 13 Mar 2016 22:13:01 +0000 (23:13 +0100)]
Add uninstall to the chocolatey package
refs #11369
Gunnar Beutner [Mon, 14 Mar 2016 07:37:13 +0000 (08:37 +0100)]
Fix crash in ScheduledDowntime::TimerProc
fixes #11352
Gunnar Beutner [Mon, 14 Mar 2016 07:45:12 +0000 (08:45 +0100)]
Fix error handling for FeatureUtility::GetFeatures
fixes #11349
Gunnar Beutner [Thu, 3 Mar 2016 12:37:16 +0000 (13:37 +0100)]
Attempt to fix race condition problem with epoll_ctl()
refs #11289
Michael Friedrich [Tue, 15 Mar 2016 08:46:20 +0000 (09:46 +0100)]
Refactor patch for host recovery notifications
refs #10225
Jean Flach [Tue, 1 Mar 2016 15:53:52 +0000 (16:53 +0100)]
Fix delete object handler returning incorrect status codes
Now a 200 OK only gets returned if all objects could be deleted
fixes #10770
Jean Flach [Tue, 23 Feb 2016 15:07:28 +0000 (16:07 +0100)]
Fix CMake not finding mysql libs on Windows
fixes #11208
Markus Frosch [Tue, 8 Mar 2016 08:35:39 +0000 (09:35 +0100)]
Correct API URL example for acknowledge-problem
refs #11328
Michael Friedrich [Thu, 10 Mar 2016 13:32:57 +0000 (14:32 +0100)]
Fix host recovery notifications for warning states
fixes #10225
Gunnar Beutner [Mon, 7 Mar 2016 08:09:01 +0000 (09:09 +0100)]
Update AUTHORS
refs #11240
Julian Brost [Fri, 26 Feb 2016 13:31:32 +0000 (14:31 +0100)]
Fix max number of args for DEL_DOWNTIME_BY_HOST_NAME
The RegisterCommand call for DEL_DOWNTIME_BY_HOST_NAME was missing the
max args parameter. This prevented the optional service name, start time
and comment arguments to be passed.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
fixes #11240
Michael Friedrich [Fri, 11 Mar 2016 13:22:24 +0000 (14:22 +0100)]
Fix: Common name in node wizard isn't case sensitive
fixes #11159
Michael Friedrich [Fri, 11 Mar 2016 12:19:03 +0000 (13:19 +0100)]
Fix: Volatile transitions from HARD NOT-OK->NOT-OK do not trigger notifications
fixes #11320
Michael Friedrich [Sat, 5 Mar 2016 16:55:14 +0000 (17:55 +0100)]
Revert "Fix check scheduling w/ retry_interval"
This reverts commit
a51e647cc760bd5f7c4de6182961a477478c11a9 .
This patch causes trouble with check results received
1) passively 2) throughout the cluster. A proper patch
for setting the retry_interval on NOT-OK state changes
is required.
refs #11248
refs #11257
refs #11273
(the old issue)
refs #7287
Michael Friedrich [Sat, 5 Mar 2016 16:48:06 +0000 (17:48 +0100)]
Revert "Properly set the next check time for active and passive checks"
This reverts commit
2a11b27972e4325bf80e9abc9017eab7dd03e712 .
This patch does not properly work and breaks the check_interval setting
for passive checks. Requires a proper patch.
refs #11248
refs #11257
refs #11273
(the old issue)
refs #7287
Michael Friedrich [Thu, 10 Mar 2016 09:58:41 +0000 (10:58 +0100)]
Docs: Add API examples for creating services and check commands
fixes #11350
Gunnar Beutner [Tue, 8 Mar 2016 14:00:26 +0000 (15:00 +0100)]
Update build requirements for SLES 11 SP4
fixes #11331
Michael Friedrich [Mon, 7 Mar 2016 08:22:07 +0000 (09:22 +0100)]
Fix: MkDirP supports '/' and '\' on Windows
fixes #10231
Michael Friedrich [Thu, 3 Mar 2016 14:54:35 +0000 (15:54 +0100)]
Fix MkDirP() on Windows
fixes #10231
Michael Friedrich [Wed, 24 Feb 2016 21:13:03 +0000 (22:13 +0100)]
Docs: http check's URI is really just Path
fixes #10795
Michael Friedrich [Wed, 24 Feb 2016 22:38:52 +0000 (23:38 +0100)]
Update AUTHORS
refs #10358
Brian De Wolf [Mon, 16 Nov 2015 19:34:18 +0000 (11:34 -0800)]
ITL: add check_http args for SSL version forcing
The -S argument of check_http can take a number, which forces the connection to
use a specific SSL version. This is implemented as multiple options because
check_http does not accept the number following -S if they are separated.
fixes #10358
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Wed, 24 Feb 2016 20:31:10 +0000 (21:31 +0100)]
Docs: Add an example for API joins with comments and host/services
fixes #10976
Michael Friedrich [Tue, 23 Feb 2016 15:55:45 +0000 (16:55 +0100)]
Fix wrong log message in 'node setup' cli command
fixes #11209
Michael Friedrich [Tue, 23 Feb 2016 21:19:03 +0000 (22:19 +0100)]
Update AUTHORS
refs #11205
Andres Ivanov [Tue, 23 Feb 2016 07:44:30 +0000 (09:44 +0200)]
ITL: Add query option to check_postgres
There were "query", "valtype" and "reverse" options missing
for "custom_query" action type in check_postgres plugin.
fixes #11205
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Sebastian Chrostek [Mon, 22 Feb 2016 18:43:44 +0000 (19:43 +0100)]
Fix problem notifications while flapping is active
fixes #9969
fixes #9642
Michael Friedrich [Wed, 24 Feb 2016 13:26:37 +0000 (14:26 +0100)]
Release version v2.4.3
Michael Friedrich [Wed, 24 Feb 2016 12:55:25 +0000 (13:55 +0100)]
Ensure that config files are readable by the daemon
refs #11212
refs #11211
Michael Friedrich [Wed, 24 Feb 2016 10:00:44 +0000 (11:00 +0100)]
Fix permissions for temporary files
fixes #11212
fixes #11211
Gunnar Beutner [Tue, 23 Feb 2016 11:57:09 +0000 (12:57 +0100)]
Release version 2.4.2
Michael Friedrich [Mon, 22 Feb 2016 15:47:41 +0000 (16:47 +0100)]
Fix unique creation of temp files
fixes #10948
Gunnar Beutner [Tue, 23 Feb 2016 10:41:04 +0000 (11:41 +0100)]
Update documentation
refs #10959
Gunnar Beutner [Tue, 23 Feb 2016 09:56:33 +0000 (10:56 +0100)]
Update copyright header for test/remote-base64.cpp
Gunnar Beutner [Tue, 23 Feb 2016 09:56:12 +0000 (10:56 +0100)]
Build fix
Jean Flach [Mon, 18 Jan 2016 08:41:52 +0000 (09:41 +0100)]
Fix another compiler warning
fixes #10956
Gunnar Beutner [Wed, 13 Jan 2016 07:33:27 +0000 (08:33 +0100)]
Fix compiler warning
fixes #10956
Jean Flach [Mon, 8 Feb 2016 15:40:34 +0000 (16:40 +0100)]
Remove unused variable
Gunnar Beutner [Mon, 8 Feb 2016 08:46:01 +0000 (09:46 +0100)]
Increase grace period for agent-based checks
refs #11020
Gunnar Beutner [Tue, 26 Jan 2016 07:35:29 +0000 (08:35 +0100)]
Add missing comment
refs #10988
Michael Friedrich [Mon, 25 Jan 2016 13:53:26 +0000 (14:53 +0100)]
Only set SSL_OP_NO_COMPRESSION if supported
OpenSSL 0.9.8 does not support this flag.
fixes #10988
Tobias von der Krone [Tue, 19 Jan 2016 20:04:59 +0000 (21:04 +0100)]
Support TLSv1.1 and TLSv1.2 for the cluster transport encryption
From https://wiki.openssl.org/index.php/SSL/TLS_Client:
SSLv23_method specifies the protocols used and behavior of the handshake.
The method essentially means SSLv2 or above, and includes the TLS protocols.
The protocols are further tuned through SSL/TLS options. By using
SSLv23_method (and removing the SSL protocols with SSL_OP_NO_SSLv2 and
SSL_OP_NO_SSLv3), then you will use TLS v1.0 and above, including TLS v1.2.
You will also use a TLS handshake in the TLS Record.
If you use TLSv1_method, then you will only use TLS v1.0.
fixes #10988
Gunnar Beutner [Thu, 4 Feb 2016 15:01:19 +0000 (16:01 +0100)]
Implement support for epoll
refs #11014
Jean Flach [Tue, 9 Feb 2016 14:55:39 +0000 (15:55 +0100)]
Use ConfigWriter class in repositoryutility.cpp
refs #10989
Jean Flach [Tue, 9 Feb 2016 08:38:12 +0000 (09:38 +0100)]
Refactor String-Escape in repositoryutility
fixes #10989
Michael Friedrich [Thu, 21 Jan 2016 17:14:53 +0000 (18:14 +0100)]
Fix: Escaped sequences not properly generated with 'node update-config'
fixes #10989
Jean Flach [Tue, 9 Feb 2016 14:53:40 +0000 (15:53 +0100)]
Rephrase some log messages
refs #11122
Jean Flach [Tue, 9 Feb 2016 14:55:12 +0000 (15:55 +0100)]
Fix client not closing connections
fixes #11122
Michael Friedrich [Mon, 7 Dec 2015 15:29:19 +0000 (16:29 +0100)]
Update RELEASE.md
Gunnar Beutner [Tue, 16 Feb 2016 12:08:21 +0000 (13:08 +0100)]
Add -pthread to build flags
refs #10963
Michael Friedrich [Fri, 12 Feb 2016 13:14:48 +0000 (14:14 +0100)]
Increase query queue size for testing
refs #10963
Gunnar Beutner [Thu, 21 Jan 2016 15:37:52 +0000 (16:37 +0100)]
Ensure that checks are not scheduled for command_endpoint fake hosts
refs #10963
Gunnar Beutner [Thu, 21 Jan 2016 12:02:53 +0000 (13:02 +0100)]
Remove redundant log messages
refs #10963
Gunnar Beutner [Thu, 21 Jan 2016 09:32:38 +0000 (10:32 +0100)]
Make sure we're not running command_endpoint-based checks more than once
refs #10963
Gunnar Beutner [Wed, 20 Jan 2016 13:07:07 +0000 (14:07 +0100)]
Add missing SetSyncing() call
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 16:25:28 +0000 (17:25 +0100)]
Skip log replay for endpoints with log_duration = 0
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 15:43:46 +0000 (16:43 +0100)]
Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 15:24:12 +0000 (16:24 +0100)]
Check the certificate name when reconnecting to an instance
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 14:25:44 +0000 (15:25 +0100)]
Decrease memory usage for the Object class
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 14:24:17 +0000 (15:24 +0100)]
Improve debug support for analyzing memory leaks
refs #10963
Jean Flach [Fri, 15 Jan 2016 09:11:52 +0000 (10:11 +0100)]
Plug two memory leaks
refs #10963
Jean Flach [Fri, 18 Dec 2015 15:03:57 +0000 (16:03 +0100)]
Replace boost-base64 with an openssl implementation
Also add unit tests
fixes #10714