Gunnar Beutner
089002fa21
Fix error message for the EventEngine variable
...
refs #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
feb4b97df7
Make the socket event engine configurable
...
fixes #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
e1373386fa
Only hide navigational attributes which are not config/state
...
fixes #11567
2016-04-20 10:09:35 +02:00
Gunnar Beutner
159681c390
Fix crash in Downtime::DowntimesExpireTimerHandler
...
fixes #11534
fixes #11559
2016-04-20 10:09:34 +02:00
Michael Friedrich
1a21293809
Implement support for overriding check command timeout
...
fixes #9283
2016-04-20 10:09:34 +02:00
Michael Friedrich
5910f2e310
API: Ensure that empty passwords w/ client_cn are properly checked
...
fixes #11482
2016-04-20 10:09:33 +02:00
Gunnar Beutner
53cb18543c
Implement support for upgrading NSIS-based installations
...
refs #11449
2016-04-20 10:07:51 +02:00
Gunnar Beutner
389cb54f93
Implement support for running custom install/uninstall actions
...
refs #11449
2016-04-20 10:07:47 +02:00
Michael Friedrich
309ea899ed
Fix: Overwriting global type variables causes crash in ConfigItem::Commit()
...
fixes #11484
2016-04-20 10:07:25 +02:00
Michael Friedrich
0cbedf495a
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
2016-04-20 10:07:24 +02:00
Michael Friedrich
98eef33399
Fix socket exceptions while querying the API
...
fixes #11224
2016-04-20 10:07:24 +02:00
Michael Friedrich
d0b5898c46
Fix: Downtimes/Comments not being synced to child zones
...
fixes #11227
2016-04-20 10:07:24 +02:00
Gunnar Beutner
0d2ae5ce92
Fix Utility::MkDirP on Windows
...
fixes #11455
2016-04-20 10:07:24 +02:00
Gunnar Beutner
94deb03e9c
Another build fix for Win64
...
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner
3c788f3899
Build fix for Win64
...
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner
13c4bb06b8
Improve validation for arrays
...
fixes #11434
2016-04-20 10:07:23 +02:00
Michael Friedrich
521580f76e
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 050c520b2a
It may cause trouble with DB IDO DELETE and UPDATE statements
depending on the old value.
refs #11382
2016-04-20 10:07:22 +02:00
Michael Friedrich
1b69a7ff70
DB IDO: Fix that downtime is not in effect after restart
...
fixes #10843
2016-04-20 10:07:22 +02:00
Gunnar Beutner
b7ee26fa78
Don't use semi-colons in auto-generated config files
...
fixes #11438
2016-04-20 10:07:22 +02:00
Gunnar Beutner
ba3eeafb5a
Implement recursion limit for AST expressions which don't use a separate stack frame
...
fixes #11106
2016-04-20 10:07:22 +02:00
Gunnar Beutner
97f324ad3e
Follow symlinks in Utility::GlobRecursive
...
fixes #11347
2016-04-20 10:07:22 +02:00
Michael Friedrich
e076e91706
Only call UpdateNextCheck() for soft states
...
refs #11336
2016-04-20 10:00:09 +02:00
Michael Friedrich
8668eb65b5
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
2016-04-20 10:00:08 +02:00
Michael Friedrich
122256bb91
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-04-20 10:00:07 +02:00
Michael Friedrich
307498e71f
DB IDO: Fix user notification type filters
...
fixes #10766
2016-03-15 14:53:25 +01:00
Gunnar Beutner
4c7b5f710f
Fix crash in ScheduledDowntime::TimerProc
...
fixes #11352
2016-03-15 13:15:57 +01:00
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
Michael Friedrich
ee7af887c8
Fix host recovery notifications for warning states
...
fixes #10225
2016-03-11 15:58:13 +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
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
3979ec9b15
Fix wrong log message in 'node setup' cli command
...
fixes #11209
2016-03-11 15:48:18 +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
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
Michael Friedrich
a837198bbc
Fix unique creation of temp files
...
fixes #10948
2016-02-23 12:34:38 +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