Commit Graph

6773 Commits

Author SHA1 Message Date
Gunnar Beutner 14a5be30e0 Fix error handling for FeatureUtility::GetFeatures
fixes #11349
2016-03-15 13:15:01 +01:00
Gunnar Beutner 8b941a8db5 Attempt to fix race condition problem with epoll_ctl()
refs #11289
2016-03-15 13:14:35 +01:00
Michael Friedrich f386920e60 Refactor patch for host recovery notifications
refs #10225
2016-03-15 13:11:01 +01:00
Jean Flach 4cf33b74f2 Fix delete object handler returning incorrect status codes
Now a 200 OK only gets returned if all objects could be deleted

fixes #10770
2016-03-11 15:59:52 +01:00
Jean Flach 397c0ada95 Fix CMake not finding mysql libs on Windows
fixes #11208
2016-03-11 15:59:23 +01:00
Markus Frosch 2d4ccb40d3 Correct API URL example for acknowledge-problem
refs #11328
2016-03-11 15:58:51 +01:00
Michael Friedrich ee7af887c8 Fix host recovery notifications for warning states
fixes  #10225
2016-03-11 15:58:13 +01:00
Gunnar Beutner cc562e257c Update AUTHORS
refs #11240
2016-03-11 15:57:43 +01:00
Julian Brost ca869719d0 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
2016-03-11 15:57:35 +01:00
Michael Friedrich 5516427446 Fix: Common name in node wizard isn't case sensitive
fixes #11159
2016-03-11 15:57:10 +01:00
Michael Friedrich 7ad7e28d7a Fix: Volatile transitions from HARD NOT-OK->NOT-OK do not trigger notifications
fixes #11320
2016-03-11 15:56:43 +01:00
Michael Friedrich f99feab08c Revert "Fix check scheduling w/ retry_interval"
This reverts commit a51e647cc7.

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
2016-03-11 15:55:14 +01:00
Michael Friedrich 8344f749cd Revert "Properly set the next check time for active and passive checks"
This reverts commit 2a11b27972.

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
2016-03-11 15:55:03 +01:00
Michael Friedrich a63db2805e Docs: Add API examples for creating services and check commands
fixes #11350
2016-03-11 15:54:29 +01:00
Gunnar Beutner 9e498383a1 Update build requirements for SLES 11 SP4
fixes #11331
2016-03-11 15:54:03 +01:00
Michael Friedrich baecdc3210 Fix: MkDirP supports '/' and '\' on Windows
fixes #10231
2016-03-11 15:51:08 +01:00
Michael Friedrich 9e833d7563 Fix MkDirP() on Windows
fixes #10231
2016-03-11 15:50:57 +01:00
Michael Friedrich aadbe98c56 Docs: http check's URI is really just Path
fixes #10795
2016-03-11 15:50:29 +01:00
Michael Friedrich 7f7f46b6cb Update AUTHORS
refs #10358
2016-03-11 15:50:02 +01:00
Brian De Wolf 5c52e3e428 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>
2016-03-11 15:49:53 +01:00
Michael Friedrich cd5f11b1ea Docs: Add an example for API joins with comments and host/services
fixes #10976
2016-03-11 15:49:22 +01:00
Michael Friedrich 3979ec9b15 Fix wrong log message in 'node setup' cli command
fixes #11209
2016-03-11 15:48:18 +01:00
Michael Friedrich e415d15d4d Update AUTHORS
refs #11205
2016-03-11 15:25:08 +01:00
Andres Ivanov 3df7336fb3 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>
2016-03-11 15:24:57 +01:00
Sebastian Chrostek f5f0f7bd6e Fix problem notifications while flapping is active
fixes #9969
fixes #9642
2016-03-11 15:24:02 +01:00
Michael Friedrich 071c43c4da Release version v2.4.3 2016-02-24 14:26:37 +01:00
Michael Friedrich e4b99ca87e Ensure that config files are readable by the daemon
refs #11212
refs #11211
2016-02-24 14:25:09 +01:00
Michael Friedrich a79ea88fff Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:27:22 +01:00
Gunnar Beutner 05e5d73e92 Release version 2.4.2 2016-02-23 12:58:36 +01:00
Michael Friedrich a837198bbc Fix unique creation of temp files
fixes #10948
2016-02-23 12:34:38 +01:00
Gunnar Beutner 0fc42e747a Update documentation
refs #10959
2016-02-23 11:41:04 +01:00
Gunnar Beutner 72e44dba31 Update copyright header for test/remote-base64.cpp 2016-02-23 10:57:08 +01:00
Gunnar Beutner a39fc993e6 Build fix 2016-02-23 10:56:12 +01:00
Jean Flach debdaceb44 Fix another compiler warning
fixes #10956
2016-02-23 10:54:34 +01:00
Gunnar Beutner 8798c34283 Fix compiler warning
fixes #10956
2016-02-23 10:54:34 +01:00
Jean Flach 9376a37806 Remove unused variable 2016-02-23 10:51:54 +01:00
Gunnar Beutner b8195beada Increase grace period for agent-based checks
refs #11020
2016-02-23 10:51:12 +01:00
Gunnar Beutner 6e11836791 Add missing comment
refs #10988
2016-02-23 10:50:42 +01:00
Michael Friedrich d1cc56bbaa Only set SSL_OP_NO_COMPRESSION if supported
OpenSSL 0.9.8 does not support this flag.

fixes #10988
2016-02-23 10:50:29 +01:00
Tobias von der Krone ae50334995 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
2016-02-23 10:50:23 +01:00
Gunnar Beutner 87817bfc8a Implement support for epoll
refs #11014
2016-02-23 10:49:24 +01:00
Jean Flach 3b70bab4d7 Use ConfigWriter class in repositoryutility.cpp
refs #10989
2016-02-23 10:46:20 +01:00
Jean Flach 2052edff9f Refactor String-Escape in repositoryutility
fixes #10989
2016-02-23 10:46:20 +01:00
Michael Friedrich abce99daff Fix: Escaped sequences not properly generated with 'node update-config'
fixes #10989
2016-02-23 10:46:20 +01:00
Jean Flach fd85379f5c Rephrase some log messages
refs #11122
2016-02-23 10:46:19 +01:00
Jean Flach 09b7f39e86 Fix client not closing connections
fixes #11122
2016-02-23 10:46:19 +01:00
Michael Friedrich bb86cc3eab Update RELEASE.md 2016-02-23 10:46:19 +01:00
Gunnar Beutner c998665da2 Add -pthread to build flags
refs #10963
2016-02-23 10:46:19 +01:00
Michael Friedrich f6378c9417 Increase query queue size for testing
refs #10963
2016-02-23 10:46:19 +01:00
Gunnar Beutner fc90265332 Ensure that checks are not scheduled for command_endpoint fake hosts
refs #10963
2016-02-23 10:46:18 +01:00