Gunnar Beutner
f4dce0fe72
Fix crash in JsonRpcConnection::MessageHandlerWrapper
...
fixes #12506
2016-08-22 17:42:59 +02:00
Michael Friedrich
b8d3bcad6a
Cluster: Fix notified users for NotificationSentToAllUsers event
...
refs #12449
refs #12444
2016-08-22 10:47:09 +02:00
Gunnar Beutner
b42bfc822b
Fix crash in HttpServerConnection::ProcessMessageAsync
...
fixes #12493
2016-08-19 20:36:27 +02:00
Gunnar Beutner
aeaca5e803
Revert "Fix incorrect detection of the 'Concurrency' variable"
...
This reverts commit 585f0537d2
.
refs #12456
2016-08-19 11:58:52 +02:00
Gunnar Beutner
b5637a2d16
Fix memory leak for the 'use' keyword
...
fixes #12487
2016-08-19 09:17:40 +02:00
Gunnar Beutner
8e5961f217
Fix missing permissions and update the documentation
...
fixes #12483
2016-08-18 19:00:14 +02:00
Gunnar Beutner
27e6db6af6
Remove some unused #includes
...
fixes #12481
2016-08-18 15:46:01 +02:00
Gunnar Beutner
487d2a9907
Make "clr-check-command" template usable on *nix
...
fixes #12474
2016-08-18 10:27:41 +02:00
Gunnar Beutner
730364b600
Fix incorrect certificate validation error message
...
fixes #12475
2016-08-18 10:23:13 +02:00
Gunnar Beutner
62a6d5667d
Fix: IDO marks objects as inactive on shutdown
...
fixes #12418
2016-08-17 19:24:22 +02:00
Michael Friedrich
e5566a6bd8
API: Fix missing attributes for DowntimeTriggered event
...
fixes #12464
2016-08-17 16:57:22 +02:00
Rune Darrud
d1dc1188e1
Remove obsolete reference to serial.txt
...
fixes #12467
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-17 16:19:24 +02:00
Gunnar Beutner
4c54cddec8
Fix problem with duplicate INSERTs for the same key columns
...
fixes #12461
fixes #12458
2016-08-17 13:35:10 +02:00
Gunnar Beutner
b26b3a4f65
Add missing lock
...
refs #12450
2016-08-17 09:20:05 +02:00
Gunnar Beutner
7fcf8ece72
Remove unnecessary dictionary lookups in the DebugHint class
...
refs #12457
2016-08-17 09:20:05 +02:00
Gunnar Beutner
bb7fe3334a
Fix incorrect customvariablestatus query
...
fixes #12459
2016-08-17 09:20:05 +02:00
Gunnar Beutner
585f0537d2
Fix incorrect detection of the 'Concurrency' variable
...
fixes #12456
2016-08-17 09:20:05 +02:00
Michael Friedrich
87bc291a55
Fix that HA enabled objects are started before config validation has finished
...
fixes #12460
2016-08-17 09:19:58 +02:00
Rune Darrud
5c0b3c58bd
Do not escape backslashes and separators twice
...
fixes #12227
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-17 06:10:41 +02:00
Gunnar Beutner
162e31b083
Remove unnecessary Dictionary::Contains calls
...
fixes #12457
2016-08-16 22:03:42 +02:00
Michael Friedrich
520be9513b
API: Fix that schedule-downtime action requires duration for fixed=true
...
fixes #12454
2016-08-16 17:09:25 +02:00
Gunnar Beutner
ec87b9e795
Use hash-based serial numbers for new certificates
...
fixes #12453
2016-08-16 15:03:01 +02:00
Gunnar Beutner
81974adf65
Improve performance for Endpoint config validation
...
fixes #12450
2016-08-16 13:55:37 +02:00
Michael Friedrich
832b5bed2a
Remove debug output in NotificationComponent
...
refs #12402
2016-08-16 13:48:09 +02:00
Gunnar Beutner
2d551db9d8
Remove the ConfigTypeIterator class
...
refs #12448
2016-08-16 13:26:24 +02:00
Gunnar Beutner
b7a1b58069
Improve performance for type lookups
...
fixes #12448
2016-08-16 11:02:33 +02:00
Michael Friedrich
a34e01d0bb
Fix NotificationSentToAllUsers cluster event
...
refs #12444
2016-08-16 09:30:10 +02:00
Michael Friedrich
d909c0945c
Add an explicit flag for disabling reminder notifications
...
refs #12402
2016-08-15 18:32:51 +02:00
Michael Friedrich
17544d7b54
Fix: ClusterEvents::NotificationSentAllUsersAPIHandler() does not set notified_users
...
fixes #12444
2016-08-15 17:26:01 +02:00
Michael Friedrich
1ec7d366a7
Fix ITL methods templates for timeperiods
...
fixes #12338
2016-08-15 16:16:23 +02:00
Michael Friedrich
d341783a51
API: Implement 'generate-ticket' action and update distributed monitoring docs
...
fixes #12433
2016-08-15 15:19:28 +02:00
Gunnar Beutner
2e8d3d3934
Implement support for incremental IDO updates
...
fixes #12435
2016-08-15 14:43:11 +02:00
Gunnar Beutner
ebaf239d3b
Replace GetType()->GetName() calls with GetReflectionType()->GetName()
...
fixes #12438
2016-08-15 14:42:03 +02:00
Gunnar Beutner
8ced75b7d2
Fix the load order for Host/Service vs. Endpoint/Zone
...
refs #12432
2016-08-14 23:04:55 +02:00
Gunnar Beutner
980ba42825
Remove unused code in the IDO classes
...
fixes #12434
2016-08-14 22:22:18 +02:00
Gunnar Beutner
39ded04e1a
Improve validation for the command_endpoint attribute
...
fixes #12432
2016-08-14 22:11:29 +02:00
Gunnar Beutner
005e0f532f
Improve HA support for the IDO check task
...
fixes #12430
2016-08-14 20:17:14 +02:00
Gunnar Beutner
c6e5f3dcb8
Fix $ido_name$ macro when using the IDO check type with command_endpoint
...
fixes #12428
2016-08-14 19:30:20 +02:00
Gunnar Beutner
6af9e61e9b
Implement comparison operators for the Array class
...
fixes #12426
2016-08-14 17:21:47 +02:00
Gunnar Beutner
fda032c0c4
Fix incorrect return values for some of the CompatUtility methods
...
fixes #12425
2016-08-14 17:06:50 +02:00
Rune Darrud
16d1f1893e
Fix typo in mysql schema
...
fixes #12423
2016-08-14 13:03:49 +02:00
Michael Friedrich
186fcb3724
Fix log message for WriteCert()
...
refs #12422
2016-08-14 09:28:55 +02:00
Michael Friedrich
a83d81a71d
Fix that pki sign-csr is not logging the certificate file location
...
fixes #12422
2016-08-14 09:22:18 +02:00
Gunnar Beutner
ed53366490
Avoid duplicate IDO config updates at startup
...
fixes #12417
2016-08-13 23:31:22 +02:00
Gunnar Beutner
9f8cb8dd36
Clean up the code a bit
...
refs #11423
2016-08-13 21:43:59 +02:00
Michael Friedrich
8f03adf76f
Remove Downtime objects w/o reference to ScheduledDowntime objects
...
fixes #11423
2016-08-13 15:18:50 +02:00
Gunnar Beutner
afc1b9bdc5
Move type variables into the 'Types' namespace
...
refs #12408
2016-08-12 17:05:19 +02:00
Gunnar Beutner
99f944ac28
Remove extraneous space in a log message
...
refs #12304
2016-08-12 16:38:05 +02:00
Gunnar Beutner
91577713fd
Fix incorrect function name for deprecated functions
...
refs #12408
2016-08-12 15:41:03 +02:00
Gunnar Beutner
b74014fa5e
Fix auto-completion suggestions for "icinga2 console"
...
refs #12408
2016-08-12 15:36:47 +02:00
Gunnar Beutner
12ea2a6445
Implement the System#sleep function
...
fixes #12411
2016-08-12 15:22:10 +02:00
Gunnar Beutner
491acb62ea
Fix crash in ScriptFrame::AddImport
...
refs #12408
2016-08-12 15:22:10 +02:00
Michael Friedrich
e28f30a727
Enhance log messages for {,reminder} notifications
...
refs #12402
2016-08-12 14:49:29 +02:00
Gunnar Beutner
c6a753b67e
Make sure base classes are registered in the right order
...
refs #12408
2016-08-12 14:18:59 +02:00
Gunnar Beutner
31f816562f
Add namespace qualifier for some assert() calls
...
refs #12408
2016-08-12 13:44:51 +02:00
Gunnar Beutner
24431b3dab
Register deprecated methods in the 'Deprecated' namespace
...
refs #12408
2016-08-12 13:42:22 +02:00
Gunnar Beutner
419500e55e
Fix 'use' keyword for templates
...
fixes #12409
2016-08-12 13:32:13 +02:00
Gunnar Beutner
2a40a71ffa
Change scoping mechanism for the __using keyword
...
refs #12408
2016-08-12 13:14:10 +02:00
Gunnar Beutner
3980cf04a0
Fix exception with __using
...
refs #12408
2016-08-12 12:05:02 +02:00
Gunnar Beutner
9f67b185b8
Make sure all constructors properly initialize the ScriptFrame object
...
refs #12408
2016-08-12 11:42:59 +02:00
Gunnar Beutner
c5a170a972
Implement support for namespaces
...
fixes #12408
2016-08-12 11:32:16 +02:00
Gunnar Beutner
76ed38fbfe
Implement support for inspecting variables with LLDB/GDB
...
fixes #12407
2016-08-12 11:00:19 +02:00
Michael Friedrich
d84872f075
DB IDO: Really do not clear downtimes on checkable upsert
...
refs #12258
refs #12288
2016-08-11 17:43:39 +02:00
Michael Friedrich
f5d5eaf344
Add log message if notifications are forced (i.e. filters are not checked)
...
fixes #12404
2016-08-11 16:23:58 +02:00
Michael Friedrich
41094489b6
DB IDO: Fixed downtime start does not update actual_start_time
...
fixes #12401
2016-08-11 12:10:27 +02:00
Gunnar Beutner
132ee6c558
Use InterlockedIncrement instead of a mutex in CreatePipeOverlapped
...
refs #10075
2016-08-11 09:48:01 +02:00
Gunnar Beutner
f0beeba354
Fix missing names for user-defined functions
...
refs #12393
2016-08-11 09:08:33 +02:00
Michael Friedrich
8389d01998
Fix flexible downtimes expiry time and removal
...
fixes #12395
2016-08-10 17:15:27 +02:00
Gunnar Beutner
e09fb88cae
Make sure functions are registered with the correct prefix
...
refs #12393
2016-08-10 16:33:17 +02:00
Michael Friedrich
42818ab758
Fix downtime notification events and missing author/comment
...
fixes #12333
fixes #11851
2016-08-10 16:04:37 +02:00
Gunnar Beutner
54bbaf9f7d
Implement support for marking functions as deprecated
...
fixes #12393
2016-08-10 15:48:05 +02:00
Timo Buhrmester
148b4da285
Don't violate POSIX by ensuring that the argument to usleep(3) is less than 1000000
...
fixes #12391
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-10 12:29:52 +02:00
Gunnar Beutner
37bd5ad800
Fix race condition in CreatePipeOverlapped
...
fixes #10075
2016-08-10 12:12:56 +02:00
Gunnar Beutner
39bde8078c
Disallow casting "" to an Object
...
fixes #12390
2016-08-10 11:14:33 +02:00
Gunnar Beutner
e8ae1dc4a6
Include compiler name/version and build host name in --version
...
fixes #12389
2016-08-10 08:09:44 +02:00
Gunnar Beutner
dc06209e4a
Move internal script functions into the 'Internal' namespace
...
fixes #12338
2016-08-10 06:55:44 +02:00
Gunnar Beutner
43c2ec31ef
Windows build fix
...
fixes #12339
2016-08-09 15:41:27 +02:00
Gunnar Beutner
f3bb628d6e
Improve logging for the WorkQueue class
...
fixes #12336
2016-08-09 12:39:07 +02:00
Gunnar Beutner
4c7e2994a7
Handle I/O errors while writing the Icinga state file more gracefully
...
fixes #12334
2016-08-09 10:59:08 +02:00
Gunnar Beutner
ff293661fc
Rename/Remove experimental script functions
...
fixes #12332
2016-08-09 10:43:55 +02:00
Marius Sturm
451cd73749
GelfWriter: Use raw CheckResult output for full_message attribute
...
fixes #10903
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-09 09:51:17 +02:00
Gunnar Beutner
9f425cdcaf
Fix building Icinga with -fvisibility=hidden
...
fixes #12331
2016-08-09 09:00:19 +02:00
Gunnar Beutner
26d048d6c3
Add version info in /v1
...
fixes #12327
2016-08-09 08:48:18 +02:00
Gunnar Beutner
231fd8d38b
Build fix for CentOS 5
...
refs #11292
2016-08-08 15:27:16 +02:00
Gunnar Beutner
1beef64dc4
Fix crash in Checkable::ProcessCheckResult when cr is NULL
...
refs #12329
2016-08-08 14:17:44 +02:00
Gunnar Beutner
c7602a0f34
Implement process_check_result script method for the Checkable class
...
fixes #12329
2016-08-08 14:14:45 +02:00
Gunnar Beutner
8deeb73bb8
Register a new script frame in Function::Invoke
...
fixes #9848
2016-08-08 14:12:08 +02:00
Gunnar Beutner
1cd8a25ab2
Add the "exception" check command
...
refs #10075
2016-08-08 12:51:20 +02:00
Gunnar Beutner
597dc0dea2
Fix incorrect behavior for max_check_attempts
...
fixes #11898
2016-08-08 11:02:08 +02:00
Gunnar Beutner
26821d1a79
Don't add empty lines to libedit's history
...
refs #12234
2016-08-08 08:01:52 +02:00
Gunnar Beutner
46f8c7eb59
Remove temporary icinga2.debug file in case the config validation fails
...
fixes #12318
2016-08-05 09:15:17 +02:00
Gunnar Beutner
d0658c465b
Fix incorrect parameter name for NotificationSentAllUsersHandler
...
fixes #12310
2016-08-05 06:57:50 +02:00
Michael Friedrich
43a177fb16
Fix that notifications with empty times.{begin,end} are not sent
...
fixes #10363
2016-08-04 17:27:35 +02:00
Michael Friedrich
3f89a6dd09
Disable immediate hard state for first check result
...
fixes #7354
2016-08-04 16:16:58 +02:00
Gunnar Beutner
905380b436
Fix duplicate notifications on HA failover
...
fixes #12267
2016-08-04 10:12:55 +02:00
Gunnar Beutner
bd3660fe5a
Build fix for Windows
...
refs #11292
2016-08-04 06:34:47 +02:00
Michael Friedrich
34655d77d3
Ensure to send recovery notifications if the was a problem notification before a downtime
...
fixes #12293
2016-08-03 18:28:09 +02:00
Michael Friedrich
83f07c7ee2
Add the notification type into the log message
...
fixes #12304
2016-08-03 17:32:55 +02:00
Michael Friedrich
00f05a8e7e
DB IDO: Do not try to delete downtimes when using the session_token
...
Missed it after modifying the comments.
refs #12258
refs #12288
2016-08-03 16:15:22 +02:00
Uwe Ebel
b2ac05ad7d
Make the minimum TLS protocol version configurable
...
The ApiListener accepts all TLS versions that the underlying
OpenSSL library supports. This patch give the ability to restrict
the connection to a minimum TLS version.
fixes #11292
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-03 07:46:50 +02:00