7403 Commits

Author SHA1 Message Date
Michael Friedrich
8344f749cd 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
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
4746b214d6 Fix: Common name in node wizard isn't case sensitive
fixes #11159
2016-03-11 14:22:24 +01:00
Michael Friedrich
3e050bd0cd Fix: Volatile transitions from HARD NOT-OK->NOT-OK do not trigger notifications
fixes #11320
2016-03-11 13:19:03 +01:00
Michael Friedrich
7fb8bcd933 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
2016-03-11 12:00:30 +01:00
Michael Friedrich
5b6a6f86b1 Fix host recovery notifications for warning states
fixes  #10225
2016-03-11 09:29:07 +01:00
Michael Friedrich
68449c2891 Docs: Add API examples for creating services and check commands
fixes #11350
2016-03-10 10:59:25 +01:00
Gunnar Beutner
dbe0dd20d8 Update build requirements for SLES 11 SP4
fixes #11331
2016-03-08 15:01:21 +01:00
Markus Frosch
19cb781172 Correct API URL example for acknowledge-problem
refs #11328
2016-03-08 09:35:39 +01:00
Michael Friedrich
65cbf04454 Fix: MkDirP supports '/' and '\' on Windows
fixes #10231
2016-03-07 09:22:07 +01:00
Gunnar Beutner
554531a6b0 Update AUTHORS
refs #11240
2016-03-07 09:09:01 +01:00
Julian Brost
7439633965 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-05 18:43:02 +01:00
Michael Friedrich
ef532f20eb 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
2016-03-05 18:16:49 +01:00
Michael Friedrich
b8e3d61820 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
2016-03-05 18:15:03 +01:00
Tobias von der Krone
ce3062904f Use the server's preferred cipher for the API connection
When using SSL_OP_CIPHER_SERVER_PREFERENCE the server's preferred cipher
is used instead of the client preference, see
https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_options.html

fixes #11290
2016-03-04 14:57:06 +01:00
Michael Friedrich
d14477c242 Fix MkDirP() on Windows
fixes #10231
2016-03-03 15:54:35 +01:00
Gunnar Beutner
47521904c1 Attempt to fix race condition problem with epoll_ctl()
refs #11289
2016-03-03 13:38:13 +01:00
Jean Flach
9cdea730a3 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-01 16:53:52 +01:00
Michael Friedrich
566dc96507 Update .gitignore 2016-02-26 11:44:17 +01:00
Michael Friedrich
e0974d815b Update AUTHORS
refs #10358
2016-02-24 23:38:52 +01:00
Brian De Wolf
2e1a2146f1 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-02-24 23:38:22 +01:00
Michael Friedrich
8e0cc701eb Update AUTHORS
refs #10426
2016-02-24 23:25:59 +01:00
Vytenis Darulis
6729679f38 Try to queue all PROCESS_FILE commands instead of exploding the stack
fixes #10426

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-24 23:25:22 +01:00
Michael Friedrich
dcc9772fd0 Docs: http check's URI is really just Path
fixes #10795
2016-02-24 22:13:03 +01:00
Michael Friedrich
3228586a62 Docs: Add an example for API joins with comments and host/services
fixes #10976
2016-02-24 21:31:10 +01:00
Michael Friedrich
afb579efad Merge branch 'support/2.4' 2016-02-24 14:28:42 +01:00
Michael Friedrich
8a81dac9f5 Release version v2.4.3 2016-02-24 14:26:59 +01:00
Michael Friedrich
071c43c4da Release version v2.4.3 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
894aaaecb1 Ensure that config files are readable by the daemon
refs #11212
refs #11211
2016-02-24 14:24:08 +01:00
Michael Friedrich
a79ea88fff Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:27:22 +01:00
Michael Friedrich
47c5425137 Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:00:44 +01:00
Michael Friedrich
4c59ffa555 Update AUTHORS
refs #11205
2016-02-23 22:19:03 +01:00
Andres Ivanov
7e4a08749f 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-02-23 22:16:00 +01:00
Michael Friedrich
272d9541be Fix wrong log message in 'node setup' cli command
fixes #11209
2016-02-23 16:55:45 +01:00
Michael Friedrich
c256ea12f3 Update AUTHORS
refs #9858
2016-02-23 16:28:04 +01:00
Sebastian Chrostek
83845e609e Fix problem notifications while flapping is active
fixes #9969
fixes #9642
2016-02-23 16:27:22 +01:00
Jean Flach
0c837e30e8 Fix CMake not finding mysql libs on Windows
fixes #11208
2016-02-23 16:08:58 +01:00
Gunnar Beutner
64c5bd5560 Merge branch 'support/2.4' 2016-02-23 14:00:03 +01:00