]> granicus.if.org Git - icinga2/log
icinga2
8 years agoFix host recovery notifications for warning states
Michael Friedrich [Thu, 10 Mar 2016 13:32:57 +0000 (14:32 +0100)]
Fix host recovery notifications for warning states

fixes  #10225

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 7 Mar 2016 08:09:01 +0000 (09:09 +0100)]
Update AUTHORS

refs #11240

8 years agoFix max number of args for DEL_DOWNTIME_BY_HOST_NAME
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

8 years agoFix: Common name in node wizard isn't case sensitive
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

8 years agoFix: Volatile transitions from HARD NOT-OK->NOT-OK do not trigger notifications
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

8 years agoRevert "Fix check scheduling w/ retry_interval"
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

8 years agoRevert "Properly set the next check time for active and passive checks"
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

8 years agoDocs: Add API examples for creating services and check commands
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

8 years agoUpdate build requirements for SLES 11 SP4
Gunnar Beutner [Tue, 8 Mar 2016 14:00:26 +0000 (15:00 +0100)]
Update build requirements for SLES 11 SP4

fixes #11331

8 years agoFix: MkDirP supports '/' and '\' on Windows
Michael Friedrich [Mon, 7 Mar 2016 08:22:07 +0000 (09:22 +0100)]
Fix: MkDirP supports '/' and '\' on Windows

fixes #10231

8 years agoFix MkDirP() on Windows
Michael Friedrich [Thu, 3 Mar 2016 14:54:35 +0000 (15:54 +0100)]
Fix MkDirP() on Windows

fixes #10231

8 years agoDocs: http check's URI is really just Path
Michael Friedrich [Wed, 24 Feb 2016 21:13:03 +0000 (22:13 +0100)]
Docs: http check's URI is really just Path

fixes #10795

8 years agoUpdate AUTHORS
Michael Friedrich [Wed, 24 Feb 2016 22:38:52 +0000 (23:38 +0100)]
Update AUTHORS

refs #10358

8 years agoITL: add check_http args for SSL version forcing
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>
8 years agoDocs: Add an example for API joins with comments and host/services
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

8 years agoFix wrong log message in 'node setup' cli command
Michael Friedrich [Tue, 23 Feb 2016 15:55:45 +0000 (16:55 +0100)]
Fix wrong log message in 'node setup' cli command

fixes #11209

8 years agoUpdate AUTHORS
Michael Friedrich [Tue, 23 Feb 2016 21:19:03 +0000 (22:19 +0100)]
Update AUTHORS

refs #11205

8 years agoITL: Add query option to check_postgres
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>
8 years agoFix problem notifications while flapping is active
Sebastian Chrostek [Mon, 22 Feb 2016 18:43:44 +0000 (19:43 +0100)]
Fix problem notifications while flapping is active

fixes #9969
fixes #9642

8 years agoRelease version v2.4.3 v2.4.3
Michael Friedrich [Wed, 24 Feb 2016 13:26:37 +0000 (14:26 +0100)]
Release version v2.4.3

8 years agoEnsure that config files are readable by the daemon
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

8 years agoFix permissions for temporary files
Michael Friedrich [Wed, 24 Feb 2016 10:00:44 +0000 (11:00 +0100)]
Fix permissions for temporary files

fixes #11212
fixes #11211

8 years agoRelease version 2.4.2 v2.4.2
Gunnar Beutner [Tue, 23 Feb 2016 11:57:09 +0000 (12:57 +0100)]
Release version 2.4.2

8 years agoFix unique creation of temp files
Michael Friedrich [Mon, 22 Feb 2016 15:47:41 +0000 (16:47 +0100)]
Fix unique creation of temp files

fixes #10948

8 years agoUpdate documentation
Gunnar Beutner [Tue, 23 Feb 2016 10:41:04 +0000 (11:41 +0100)]
Update documentation

refs #10959

8 years agoUpdate copyright header for test/remote-base64.cpp
Gunnar Beutner [Tue, 23 Feb 2016 09:56:33 +0000 (10:56 +0100)]
Update copyright header for test/remote-base64.cpp

8 years agoBuild fix
Gunnar Beutner [Tue, 23 Feb 2016 09:56:12 +0000 (10:56 +0100)]
Build fix

8 years agoFix another compiler warning
Jean Flach [Mon, 18 Jan 2016 08:41:52 +0000 (09:41 +0100)]
Fix another compiler warning

fixes #10956

8 years agoFix compiler warning
Gunnar Beutner [Wed, 13 Jan 2016 07:33:27 +0000 (08:33 +0100)]
Fix compiler warning

fixes #10956

8 years agoRemove unused variable
Jean Flach [Mon, 8 Feb 2016 15:40:34 +0000 (16:40 +0100)]
Remove unused variable

8 years agoIncrease grace period for agent-based checks
Gunnar Beutner [Mon, 8 Feb 2016 08:46:01 +0000 (09:46 +0100)]
Increase grace period for agent-based checks

refs #11020

8 years agoAdd missing comment
Gunnar Beutner [Tue, 26 Jan 2016 07:35:29 +0000 (08:35 +0100)]
Add missing comment

refs #10988

8 years agoOnly set SSL_OP_NO_COMPRESSION if supported
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

8 years agoSupport TLSv1.1 and TLSv1.2 for the cluster transport encryption
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

8 years agoImplement support for epoll
Gunnar Beutner [Thu, 4 Feb 2016 15:01:19 +0000 (16:01 +0100)]
Implement support for epoll

refs #11014

8 years agoUse ConfigWriter class in repositoryutility.cpp
Jean Flach [Tue, 9 Feb 2016 14:55:39 +0000 (15:55 +0100)]
Use ConfigWriter class in repositoryutility.cpp

refs #10989

8 years agoRefactor String-Escape in repositoryutility
Jean Flach [Tue, 9 Feb 2016 08:38:12 +0000 (09:38 +0100)]
Refactor String-Escape in repositoryutility

fixes #10989

8 years agoFix: Escaped sequences not properly generated with 'node update-config'
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

8 years agoRephrase some log messages
Jean Flach [Tue, 9 Feb 2016 14:53:40 +0000 (15:53 +0100)]
Rephrase some log messages

refs #11122

8 years agoFix client not closing connections
Jean Flach [Tue, 9 Feb 2016 14:55:12 +0000 (15:55 +0100)]
Fix client not closing connections

fixes #11122

8 years agoUpdate RELEASE.md
Michael Friedrich [Mon, 7 Dec 2015 15:29:19 +0000 (16:29 +0100)]
Update RELEASE.md

8 years agoAdd -pthread to build flags
Gunnar Beutner [Tue, 16 Feb 2016 12:08:21 +0000 (13:08 +0100)]
Add -pthread to build flags

refs #10963

8 years agoIncrease query queue size for testing
Michael Friedrich [Fri, 12 Feb 2016 13:14:48 +0000 (14:14 +0100)]
Increase query queue size for testing

refs #10963

8 years agoEnsure that checks are not scheduled for command_endpoint fake hosts
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

8 years agoRemove redundant log messages
Gunnar Beutner [Thu, 21 Jan 2016 12:02:53 +0000 (13:02 +0100)]
Remove redundant log messages

refs #10963

8 years agoMake sure we're not running command_endpoint-based checks more than once
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

8 years agoAdd missing SetSyncing() call
Gunnar Beutner [Wed, 20 Jan 2016 13:07:07 +0000 (14:07 +0100)]
Add missing SetSyncing() call

refs #10963

8 years agoSkip log replay for endpoints with log_duration = 0
Gunnar Beutner [Tue, 19 Jan 2016 16:25:28 +0000 (17:25 +0100)]
Skip log replay for endpoints with log_duration = 0

refs #10963

8 years agoOnly build leak detection code when I2_LEAK_DEBUG is set
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

8 years agoCheck the certificate name when reconnecting to an instance
Gunnar Beutner [Tue, 19 Jan 2016 15:24:12 +0000 (16:24 +0100)]
Check the certificate name when reconnecting to an instance

refs #10963

8 years agoDecrease memory usage for the Object class
Gunnar Beutner [Tue, 19 Jan 2016 14:25:44 +0000 (15:25 +0100)]
Decrease memory usage for the Object class

refs #10963

8 years agoImprove debug support for analyzing memory leaks
Gunnar Beutner [Tue, 19 Jan 2016 14:24:17 +0000 (15:24 +0100)]
Improve debug support for analyzing memory leaks

refs #10963

8 years agoPlug two memory leaks
Jean Flach [Fri, 15 Jan 2016 09:11:52 +0000 (10:11 +0100)]
Plug two memory leaks

refs #10963

8 years agoReplace boost-base64 with an openssl implementation
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

8 years agoFix: "node setup" tries to chown() files before they're created
Gunnar Beutner [Tue, 23 Feb 2016 07:41:48 +0000 (08:41 +0100)]
Fix: "node setup" tries to chown() files before they're created

fixes #11204

8 years agoUpdate AUTHORS
Gunnar Beutner [Tue, 23 Feb 2016 07:42:46 +0000 (08:42 +0100)]
Update AUTHORS

refs #11178

8 years agoDocumentation: Fix escaping the pipe character in tables
Stefan Triep [Wed, 17 Feb 2016 19:42:14 +0000 (20:42 +0100)]
Documentation: Fix escaping the pipe character in tables

fixes #11178

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
8 years agoBuild fix for CentOS 5
Gunnar Beutner [Mon, 22 Feb 2016 07:12:35 +0000 (08:12 +0100)]
Build fix for CentOS 5

fixes #11179

8 years agoRename the IOTHREADS macro
Gunnar Beutner [Tue, 16 Feb 2016 12:30:55 +0000 (13:30 +0100)]
Rename the IOTHREADS macro

refs #11014

8 years agoAdd check_iostat to ITL
Thomas Widhalm [Sat, 5 Dec 2015 19:37:23 +0000 (20:37 +0100)]
Add check_iostat to ITL

fixes #10777

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
8 years agoFixed precision for percentage calculations with large units
Per von Zweigbergk [Sat, 31 Oct 2015 13:47:36 +0000 (14:47 +0100)]
Fixed precision for percentage calculations with large units

The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.

fixes #10497

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
8 years agoDocument disk_ignore_reserved
Jean Flach [Fri, 12 Feb 2016 12:15:23 +0000 (13:15 +0100)]
Document disk_ignore_reserved

fixes #11138

8 years agoAdd -f option to check_disk CheckCommand
Jean Flach [Fri, 12 Feb 2016 09:22:15 +0000 (10:22 +0100)]
Add -f option to check_disk CheckCommand

fixes #11138

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 22 Feb 2016 07:05:23 +0000 (08:05 +0100)]
Update AUTHORS

refs #10777
refs #11132

8 years agoFix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec
Adam James [Tue, 9 Feb 2016 18:04:37 +0000 (18:04 +0000)]
Fix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec

fixes #11132

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
8 years agoDB IDO: PArtially revert change for *group_members
Michael Friedrich [Mon, 22 Feb 2016 19:23:18 +0000 (20:23 +0100)]
DB IDO: PArtially revert change for *group_members

Otherwise the index breaks.

refs #11103

8 years agoDB IDO: Fix problem with hostgroup_members cleanup
Michael Friedrich [Mon, 8 Feb 2016 10:05:27 +0000 (11:05 +0100)]
DB IDO: Fix problem with hostgroup_members cleanup

fixes #11103

8 years agoFix: Cluster WQ thread dies after fork()
Gunnar Beutner [Tue, 9 Feb 2016 11:46:11 +0000 (12:46 +0100)]
Fix: Cluster WQ thread dies after fork()

fixes #11118

8 years agoApiListener: Bail out if object could not be created during config sync
Michael Friedrich [Fri, 12 Feb 2016 13:11:50 +0000 (14:11 +0100)]
ApiListener: Bail out if object could not be created during config sync

refs #11006

8 years agoFix crash in ApiListener::ConfigUpdateObjectAPIHandler
Gunnar Beutner [Tue, 9 Feb 2016 08:13:43 +0000 (09:13 +0100)]
Fix crash in ApiListener::ConfigUpdateObjectAPIHandler

fixes #11006

8 years agoRemove unused variables
Jean Flach [Mon, 8 Feb 2016 16:10:12 +0000 (17:10 +0100)]
Remove unused variables

fixes #11111

8 years agoMake schedule-downtime default fixed
Jean Flach [Mon, 8 Feb 2016 15:04:41 +0000 (16:04 +0100)]
Make schedule-downtime default fixed

fixes #10923

8 years agoFix: Deleting an object via API does not disable it in DB IDO
Michael Friedrich [Fri, 5 Feb 2016 11:37:00 +0000 (12:37 +0100)]
Fix: Deleting an object via API does not disable it in DB IDO

fixes #11065

8 years agoBuild fix
Gunnar Beutner [Tue, 9 Feb 2016 12:56:17 +0000 (13:56 +0100)]
Build fix

fixes #11096

8 years agoWindows build fix
Michael Friedrich [Thu, 4 Feb 2016 22:15:48 +0000 (23:15 +0100)]
Windows build fix

fixes #11096

8 years agoFix missing escaping in doc/7-icinga-template-library.md
Tobias Birnbaum [Wed, 3 Feb 2016 02:33:08 +0000 (18:33 -0800)]
Fix missing escaping in doc/7-icinga-template-library.md

There are several not properly escaped sequences in
doc/7-icinga-template-library.md
Namely these are missing backslashes in front of \n, \r, \t in various
occurrences. The make for example markup->latex conversion using pandoc
impossible.

fixes #11074

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoUpdate AUTHORS
Michael Friedrich [Thu, 4 Feb 2016 21:46:44 +0000 (22:46 +0100)]
Update AUTHORS

refs #11074
refs #11075

8 years agoDocs: Fix outdated link to icingaweb2-module-nagvis
Tobias Birnbaum [Wed, 3 Feb 2016 02:41:34 +0000 (18:41 -0800)]
Docs: Fix outdated link to icingaweb2-module-nagvis

The link to icingaweb2-module-nagvis is pointing to an outdated
repository. This is fixed now by using the official Icinga-git
repository.

fixes #11075

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix: API queries on non-existant objects cause exception
Michael Friedrich [Thu, 4 Feb 2016 21:40:01 +0000 (22:40 +0100)]
Fix: API queries on non-existant objects cause exception

fixes #11088

8 years agoFix memory leak in Stream::Close
Gunnar Beutner [Wed, 3 Feb 2016 11:56:54 +0000 (12:56 +0100)]
Fix memory leak in Stream::Close

refs #10655

8 years agoFix memory/thread leak in the HttpServerConnection class
Gunnar Beutner [Wed, 3 Feb 2016 08:54:31 +0000 (09:54 +0100)]
Fix memory/thread leak in the HttpServerConnection class

fixes #10655

8 years agoEnsure that HttpServerConnections are properly closed
Gunnar Beutner [Wed, 13 Jan 2016 09:30:38 +0000 (10:30 +0100)]
Ensure that HttpServerConnections are properly closed

fixes #10655

8 years agoFix crash in ConfigItem::RunWithActivationContext
Gunnar Beutner [Thu, 4 Feb 2016 12:17:37 +0000 (13:17 +0100)]
Fix crash in ConfigItem::RunWithActivationContext

fixes #11085

8 years agoMake sure the "syncing" attribute is set to false
Gunnar Beutner [Mon, 8 Feb 2016 12:15:24 +0000 (13:15 +0100)]
Make sure the "syncing" attribute is set to false

refs #11083

8 years agoEnsure that config sync updates are always sent on reconnect
Michael Friedrich [Thu, 4 Feb 2016 10:30:27 +0000 (11:30 +0100)]
Ensure that config sync updates are always sent on reconnect

fixes #11083

8 years agoImplement String#trim
Michael Friedrich [Tue, 26 Jan 2016 14:59:29 +0000 (15:59 +0100)]
Implement String#trim

fixes #11037

8 years agoFix incorrect --version information
Michael Friedrich [Tue, 26 Jan 2016 14:16:59 +0000 (15:16 +0100)]
Fix incorrect --version information

fixes #10784

8 years agoImprove performance for TlsStream::OnEvent
Gunnar Beutner [Tue, 2 Feb 2016 12:51:17 +0000 (13:51 +0100)]
Improve performance for TlsStream::OnEvent

refs #11014

8 years agoFix crash in IdoCheckTask::ScriptFunc
Gunnar Beutner [Tue, 2 Feb 2016 11:03:12 +0000 (12:03 +0100)]
Fix crash in IdoCheckTask::ScriptFunc

refs #11014

8 years agoUse multiple threads for socket IO
Gunnar Beutner [Tue, 2 Feb 2016 10:17:33 +0000 (11:17 +0100)]
Use multiple threads for socket IO

refs #11014

8 years agoRemove debug log message
Gunnar Beutner [Tue, 2 Feb 2016 08:54:31 +0000 (09:54 +0100)]
Remove debug log message

refs #11014

8 years agoAvoid unnecessary pollfd updates
Gunnar Beutner [Tue, 2 Feb 2016 08:52:23 +0000 (09:52 +0100)]
Avoid unnecessary pollfd updates

refs #11014

8 years agoIncrease the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
Gunnar Beutner [Tue, 2 Feb 2016 07:28:54 +0000 (08:28 +0100)]
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls

refs #11014

8 years agoFix deadlock in HttpClientConnection::DataAvailableHandler
Gunnar Beutner [Mon, 1 Feb 2016 13:50:18 +0000 (14:50 +0100)]
Fix deadlock in HttpClientConnection::DataAvailableHandler

refs #11014

8 years agoFix incorrect memcpy() with overlapping buffers
Gunnar Beutner [Mon, 1 Feb 2016 11:58:42 +0000 (12:58 +0100)]
Fix incorrect memcpy() with overlapping buffers

refs #11014

8 years agoFix incorrect method call in JsonRpcConnection::MessageHandler
Gunnar Beutner [Mon, 1 Feb 2016 10:25:34 +0000 (11:25 +0100)]
Fix incorrect method call in JsonRpcConnection::MessageHandler

refs #11014

8 years agoAvoid unnecessary new/deletes
Gunnar Beutner [Mon, 1 Feb 2016 08:33:33 +0000 (09:33 +0100)]
Avoid unnecessary new/deletes

refs #11014

8 years agoFix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler
Gunnar Beutner [Mon, 1 Feb 2016 07:35:55 +0000 (08:35 +0100)]
Fix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler

refs #11014

8 years agoRemove debug output, part 2
Michael Friedrich [Fri, 29 Jan 2016 13:09:50 +0000 (14:09 +0100)]
Remove debug output, part 2

refs #11014

8 years agoRemove debug output
Michael Friedrich [Fri, 29 Jan 2016 13:03:58 +0000 (14:03 +0100)]
Remove debug output

refs #11014