Markus Frosch
84f9824109
ido/mysql: Fix IDO upgrade compliance against MySQL 5.7
...
refs #4950
2017-01-24 17:13:49 +01:00
Michael Friedrich
763fb64fff
Update issue tracker to GitHub
...
fixes #4923
2017-01-17 16:50:22 +01:00
Gunnar Beutner
060e20f5a3
Clean up the patch for the crash issue in the Process class
...
fixes #13655
2017-01-16 14:15:42 +01:00
Lucas Fairchild-Madar
9fa3f3b122
Fix crash when sending/receiving messages longer than 4 kB to/from the child process for the Process class
...
refs #13655
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-01-16 14:15:39 +01:00
Gunnar Beutner
751ca67e0a
Ignore SIGPIPE earlier in the start-up process
...
fixes #13567
2017-01-12 10:50:43 +01:00
Markus Frosch
399827c62e
Fix IDO MySQL schema for MySQL >= 5.7
...
NOTE: A schema update doesn't seem to be needed, MySQL is updating
internally.
The problem comes up on fresh schema imports on MySQL 5.7.
fixes #13633
2017-01-11 17:37:17 +01:00
Michael Friedrich
e9db716b26
Ensure that PostgreSQL timestamps are UTC
...
fixes #13617
2017-01-11 17:34:09 +01:00
Michael Friedrich
b51a2c1c25
MacroProcessor: Add the argument name for set_if error messages
...
fixes #13345
2017-01-11 12:26:09 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
fb8f4105ad
Block SIGPIPE signal for check processes
...
refs #13567
2016-12-15 11:47:07 +01:00
Michael Friedrich
b10a6b75a8
API: Change log level for console endpoint
...
fixes #11329
2016-12-08 00:59:24 +01:00
Michael Friedrich
c036bfaa94
Fix wrong help string in node setup CLI command
...
fixes #13419
2016-12-06 11:22:24 +01:00
Gunnar Beutner
fe12a10c89
Remove redundant check
...
refs #13409
2016-12-06 08:57:27 +01:00
Michael Friedrich
338f5c0be8
Fix crash in CreateObjectHandler::HandleRequest()
...
fixes #13409
refs #11684
2016-12-05 16:37:31 +01:00
Michael Friedrich
d076617caa
Revert "DB IDO: Make sure that all result sets are processed before sending another query"
...
This reverts commit b028ff2c33
.
refs #12597
refs #13321
2016-11-25 15:53:07 +01:00
Michael Friedrich
dc2992443f
Deprecate the client 'bottom up' mode w/ node update-config
...
This includes deprecation warnings and migration documentation.
fixes #13255
2016-11-23 15:33:28 +01:00
Michael Friedrich
b028ff2c33
DB IDO: Make sure that all result sets are processed before sending another query
...
fixes #12597
2016-11-22 15:56:05 +01:00
Gunnar Beutner
56e9a23a65
Don't try to delete Downtime objects that were statically configured
...
fixes #13275
2016-11-22 15:13:43 +01:00
Gunnar Beutner
78fa197b9f
Properly unmask signals for child processes
...
fixes #13269
2016-11-22 13:53:58 +01:00
Michael Friedrich
ca7f195165
Remove debug log message
...
refs #11541
2016-11-18 14:00:41 +01:00
Michael Friedrich
1679488e8e
DB IDO: Bump schema version to 1.14.2
...
fixes #10502
fixes #13221
2016-11-18 11:39:14 +01:00
Eric Lippmann
e4a95647bb
ido-pgsql: Upgrade timestamp columns to timestamp without time zone
...
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann
27f7aa3d9d
ido-pgsql: Bump schema version to 1.14.2
...
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann
69d3016bef
ido-pgsql: Use timestamp without time zone in from_unixtime and to_timestamp functions
...
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann
aadfedc3d4
ido-pgsql: Change timestamp columns to timestamp without time zone
...
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann
0b0107ad04
ido-pgsql: Add yet empty v2.6.0 schema upgrade script
...
refs #10502
2016-11-18 11:11:50 +01:00
Eric Lippmann
69cb383b34
ido-mysql: Upgrade timestamp columns to default to NULL
...
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann
bdb3f88b25
ido-mysql: Bump schema version to 1.14.2
...
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann
0b9046a030
ido-mysql: Don't set the SQL mode to NO_AUTO_VALUE_ON_ZERO
...
This mode is obsolete because timestamp columns now default to NULL instead of '0000-00...'.
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann
1bb363091c
ido-mysql: Change timestamp columns to default to NULL in the schema
...
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann
8a21b4af2f
ido-mysql: Add yet empty v2.6.0 schema upgrade script
...
refs #10502
2016-11-18 11:09:50 +01:00
Michael Friedrich
a13e6b3e87
Fix that custom notifications do not reset force_next_notification
...
This attribute is stored in the state file forever as well.
Will cause forced notifications ignoring state/type filters.
fixes #12670
2016-11-17 11:53:35 +01:00
Gunnar Beutner
23e30ccb67
Revert "Implement the 'evaluate-macros' API action"
...
This reverts commit 851135d3a1
.
fixes #13091
2016-11-17 10:39:27 +01:00
Michael Friedrich
35ce166bd2
Fix that recovery notifications are sent if notified for !Problem type before
...
fixes #13205
2016-11-17 10:35:16 +01:00
Gunnar Beutner
f58d3a1838
Fix crash in HttpRequest::Parse
...
fixes #12667
2016-11-17 09:08:22 +01:00
Michael Friedrich
40d68fcce2
Fix object sync for objects in a global zone
...
fixes #11541
2016-11-14 14:42:47 +01:00
Michael Friedrich
1bfb91f065
Ensure that DowntimeStart notifications are not immediately sent
...
fixes #12549
2016-11-11 19:36:19 +01:00
Michael Friedrich
e7a6124924
Fix crash in CheckResult cluster handlers
...
fixes #13151
2016-11-11 16:29:51 +01:00
Michael Friedrich
4b86f69c96
Ensure that runtime created objects are synced on (re)connect
...
refs #11684
2016-11-11 16:29:37 +01:00
Michael Friedrich
2e2de7c340
Enhance log messages for cluster config sync
...
refs #11684
2016-11-10 17:44:05 +01:00
Michael Friedrich
72bf538c29
API: Set zone attribute for local zone if not specified
...
This allows to sync the object to other nodes in the same
zone on reconnect.
refs #11684
2016-11-10 17:16:08 +01:00
Michael Friedrich
5dd4898eb3
Ensure that UpdateConfigObject sets the target zone
...
refs #11684
2016-11-10 17:15:06 +01:00
Michael Friedrich
7e0c48643b
Fix Flapping{Start,End} notifications in SOFT states or downtimes
...
fixes #12560
fixes #12892
2016-11-10 14:16:02 +01:00
Gunnar Beutner
06e4b4e9da
Fix crash in Checkable::OnAllConfigLoaded
...
fixes #13103
2016-11-10 13:42:50 +01:00
Simon Murray
2c37a00daf
InfluxDB: Always Write Out Metadata
...
Previously the logic would just bail out if no performance data was associated with a
check, the problem being that check metadata was skipped too. This rearranges the code
to dump out performance metrics if they exist, then dump out metadata if requested. This
also fixes an issue whereby metadata was being sent for every performance data in the
check result, rather than just once, so we save a bit of bandwidth as a result.
fixes #12276
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2016-11-09 16:10:21 +01:00
Gunnar Beutner
851135d3a1
Implement the 'evaluate-macros' API action
...
fixes #13091
2016-11-09 09:13:42 +01:00
Michael Friedrich
09658f6d0e
Add child_options for API action 'schedule-downtime'
...
fixes #10896
fixes #10897
2016-11-02 09:54:48 +01:00
Michael Friedrich
ea1f8727da
Implement GetAllChildren() for dependency resolution
...
refs #10896
refs #10897
2016-11-02 08:55:11 +01:00
Michael Friedrich
86f162af85
Add SCHEDULE_AND_PROPAGATE{,_TRIGGERED}_HOST_DOWNTIME external commands
...
refs #10896
refs #10897
2016-11-02 08:54:32 +01:00
Gunnar Beutner
f48e99c710
Fix integer truncation in Convert::ToString
...
fixes #12995
2016-11-02 08:42:24 +01:00
Gunnar Beutner
c0bc156696
Don't mask all signals in the subprocess handler
...
fixes #12940
2016-10-24 08:42:40 +02:00
Gunnar Beutner
d70d7797c8
Add missing call for the base class' Stop() method
...
refs #11684
2016-10-24 08:40:12 +02:00
Gunnar Beutner
5fdc874377
Don't generate 'UNKNOWN' results when the endpoint's log is still being resynced
...
fixes #12844
2016-10-24 08:38:58 +02:00
Gunnar Beutner
0145a32e58
Fix object resync issues
...
refs #11684
2016-10-11 10:55:13 +02:00
Jean Flach
d264a0dab8
Fix Url Query formatting
...
fixes #12883
2016-10-10 16:16:52 +02:00
Jean Flach
069de6c121
Don't use InitializeSpawnHelper on Windows
...
refs #8900
2016-10-05 15:10:43 +02:00
Gunnar Beutner
5cd2fadf2b
Fix crash when deleting config files fails
...
fixes #12860
2016-10-05 14:17:26 +02:00
Gunnar Beutner
a7b0cb5f7e
Ensure we don't leak file descriptors to child processes
...
fixes #8900
2016-10-04 14:08:48 +02:00
Konstantin Kelemen
a2a6ee82d7
Fix some spelling mistakes
...
fixes #12822
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-09-29 08:27:38 +02:00
Gunnar Beutner
0df4b4edfb
Fix incorrect #ifdef
...
fixes #12749
2016-09-28 08:30:47 +02:00
Michael Friedrich
3571965fef
Fix SOFT/HARD state counting logic for check attempts <= 2
...
fixes #12592
2016-09-27 11:30:57 +02:00
Gunnar Beutner
fa1fa23c55
Fix crash in NodeUtility::CollectNodes
...
fixes #12741
2016-09-19 06:34:37 +02:00
Gunnar Beutner
8fd454fbb1
Fix crash in ClusterEvents::SendNotificationsAPIHandler
...
fixes #12718
2016-09-13 22:14:11 +02:00
Gunnar Beutner
df9710cfcb
Fix compiler warning in demo.hpp
...
refs #12534
2016-09-05 06:58:09 +02:00
Gunnar Beutner
17029e3161
Suppress compiler warnings for auto-generated code
...
fixes #12635
2016-09-05 06:51:31 +02:00
Gunnar Beutner
efbdce803f
Fix incorrect attribute name on the validator for the Notification class
...
fixes #12633
2016-09-04 17:50:44 +02:00
Gunnar Beutner
a2e70955e1
Fix command line parser for "icinga2 --version"
...
fixes #12632
2016-09-04 17:01:46 +02:00
Gunnar Beutner
5960753015
Build fix for Windows
...
fixes #12614
2016-09-04 16:53:24 +02:00
Gunnar Beutner
288b354d11
Improve log message for ignored config updates
...
fixes #12623
2016-09-02 09:35:35 +02:00
Gunnar Beutner
58cdce8d7c
Improve error handling for event filters
...
fixes #12621
2016-09-02 08:51:51 +02:00
Gunnar Beutner
b92a139a4c
Fix incorrect assignment in String::operator=
...
refs #12619
2016-09-02 08:14:46 +02:00
Gunnar Beutner
02442ff36f
Remove unused Value::GetPtr method
...
refs #12619
2016-09-01 15:26:25 +02:00
Gunnar Beutner
b5d4d9aba3
Fix move assignment operator for the String class
...
fixes #12619
2016-09-01 15:25:14 +02:00
Gunnar Beutner
7879c09789
Avoid unnecessary dictionary lookups
...
refs #12555
2016-09-01 07:41:41 +02:00
Gunnar Beutner
5304b08c2d
Improve error handling for invalid CLI commands
...
fixes #12596
2016-09-01 07:41:23 +02:00
Michael Friedrich
ae75575874
Remove unused last_in_downtime field
...
fixes #12602
2016-08-31 15:21:26 +02:00
Gunnar Beutner
06cb3cf875
Another build fix for Windows
...
refs #9182
2016-08-31 13:43:50 +02:00
Gunnar Beutner
2729e98c69
Disable Value&& constructor for the String class on Windows
...
refs #12555
2016-08-31 13:38:55 +02:00
Gunnar Beutner
ba14c6e7ff
Build fix for Windows
...
refs #9182
2016-08-31 13:37:13 +02:00
Gunnar Beutner
54f0cb2c2c
Add another rvalue constructor to the String class
...
refs #12555
2016-08-31 13:27:59 +02:00
Gunnar Beutner
5127a193b4
Avoid unnecessary copies when using Dictionary::Pair in loops
...
refs #12509
2016-08-30 23:01:54 +02:00
Gunnar Beutner
8c50c6f91f
Add context traces to most exceptions
...
fixes #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
68dceaab06
Replace boost::exception_ptr with std::exception_ptr
...
refs #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
dca185a636
Implement support for libcxxabi
...
refs #9182
2016-08-30 20:46:23 +02:00
Gunnar Beutner
3d1490529f
Fix race condition for concurrent_checks
...
fixes #11932
2016-08-29 14:12:29 +02:00
Gunnar Beutner
96ee214c57
Add rvalue constructor for the Task class
...
refs #12555
2016-08-29 09:00:12 +02:00
Gunnar Beutner
489269e2fa
Fix incorrect debug hints for nested dictionary expressions
...
fixes #12571
2016-08-29 08:46:29 +02:00
Gunnar Beutner
32e6da1c60
Speed up item lookups for ConfigItem::GetDefaultTemplates
...
refs #12575
2016-08-29 08:40:46 +02:00
Gunnar Beutner
f12b52f465
Use lambdas in the ConfigItem class
...
refs #12509
2016-08-29 08:16:33 +02:00
Gunnar Beutner
11e1cc9939
Remove unnecessary ScriptFrame variable
...
refs #12509
2016-08-29 05:54:07 +02:00
Gunnar Beutner
903db81fe0
Make sure that libmethods is automatically loaded even when not using the ITL
...
fixes #12578
2016-08-28 17:03:08 +02:00
Gunnar Beutner
2ce8a4d4cc
Add missing initializers for the ConfigItemBuilder class
...
refs #12575
2016-08-28 14:12:07 +02:00
Gunnar Beutner
e5af5b5dd3
Use raw string literals in mkembedconfig
...
fixes #12576
2016-08-28 11:01:45 +02:00
Gunnar Beutner
69bb90403d
Add missing default import AST node for the application object
...
refs #12575
2016-08-28 11:00:27 +02:00
Gunnar Beutner
4876a78ab5
Remove unnecessary imports from unit test config
...
refs #12575
2016-08-28 10:41:46 +02:00
Gunnar Beutner
78cd56e277
Implement support for default templates
...
fixes #12575
2016-08-28 10:27:43 +02:00
Gunnar Beutner
ed72112d4b
Remove even more unnecessary copies
...
refs #12509
2016-08-27 20:37:25 +02:00
Gunnar Beutner
ef50c57ed0
Make VS 2013 happy
...
refs #12555
2016-08-27 20:07:48 +02:00
Gunnar Beutner
e8b0797ec4
Use 'auto' keyword for iterator declarations (part 2)
...
refs #12561
2016-08-27 19:56:12 +02:00
Gunnar Beutner
602643b93d
Provide location information for objects and templates in the API
...
fixes #12566
2016-08-27 19:25:38 +02:00
Gunnar Beutner
eafe4c578d
Avoid unnecessary copies for the DebugHint class
...
refs #12509
2016-08-27 18:43:14 +02:00
Gunnar Beutner
f1cac2f20a
Fix compatibility with boost <= 1.53
...
refs #12555
2016-08-27 12:43:56 +02:00
Gunnar Beutner
8f2477db46
Fix incorrect variable type in the FilterArrayToInt function
...
refs #12509
2016-08-27 12:23:09 +02:00
Gunnar Beutner
27a23fcff6
Avoid an unnecessary case in the Encode function
...
refs #12509
2016-08-27 12:20:54 +02:00
Gunnar Beutner
00eec13338
Avoid unnecessary string copies in the JSON encoder
...
refs #12509
2016-08-27 11:47:36 +02:00
Gunnar Beutner
170c3624e3
Use 'default' for move constructors
...
refs #12555
2016-08-27 11:39:08 +02:00
Gunnar Beutner
7c273d7748
Add another rvalue constructor for the String class
...
refs #12555
2016-08-27 11:00:04 +02:00
Gunnar Beutner
6e384f81a0
Remove unused #includes
...
refs #12481
2016-08-27 10:59:52 +02:00
Gunnar Beutner
4dbc07e2bc
Improve support for MySQL >=5.7
...
fixes #12558
2016-08-27 10:20:59 +02:00
Gunnar Beutner
b5b09216c6
Use lambda functions for INITIALIZE_ONCE
...
fixes #12562
2016-08-27 09:48:36 +02:00
Gunnar Beutner
5058c5d75b
Use 'auto' for iterator declarations
...
fixes #12561
2016-08-27 08:37:19 +02:00
Gunnar Beutner
56ba6089d0
Add rvalue support for the Array and Dictionary classes
...
refs #12555
2016-08-27 07:42:28 +02:00
Gunnar Beutner
7194b36d3e
Avoid unnecessary string copies for LiteralExpression objects
...
refs #12509
2016-08-26 18:11:56 +02:00
Gunnar Beutner
c1a58446af
Add another rvalue constructor for the Value class
...
refs #12555
2016-08-26 18:11:28 +02:00
Gunnar Beutner
dac0ff9343
Improve config validation for arrays of object names
...
fixes #12556
2016-08-26 10:36:53 +02:00
Gunnar Beutner
4f46e59af3
Implement an rvalue constructor for the String and Value classes
...
fixes #12555
2016-08-26 09:11:36 +02:00
Gunnar Beutner
49a130242c
Add missing #include in loader.cpp
...
refs #12552
2016-08-25 20:59:22 +02:00
Gunnar Beutner
1236495dd3
Implement the --file and --syntax-only options for "icinga2 console"
...
fixes #12554
fixes #10675
2016-08-25 19:14:54 +02:00
Gunnar Beutner
30762e5330
Set versions for all internal libraries
...
fixes #12552
2016-08-25 17:56:18 +02:00
Gunnar Beutner
092f2ee099
Add missing initializer for WorkQueue::m_NextTaskID
...
fixes #12545
2016-08-25 11:57:00 +02:00
Gunnar Beutner
ce7b6e4f87
Remove unused method: ApplyRule::DiscardRules
...
fixes #12544
2016-08-25 10:21:14 +02:00
Gunnar Beutner
225bb8029a
Fix incorrect hash size for User objects
...
fixes #12533
2016-08-25 07:37:41 +02:00
Gunnar Beutner
8ed21fcdad
Fix compiler warning in dbg_eval
...
refs #12534
2016-08-25 06:46:24 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner
78c249b96b
Fix compiler warnings in DB IDO
...
refs #12534
2016-08-25 05:00:46 +02:00
Gunnar Beutner
429d11daa8
Fix compiler warnings
...
fixes #12534
2016-08-24 20:33:34 +02:00
Gunnar Beutner
ae1ab5f865
Implement unit tests for state changes
...
fixes #12530
2016-08-24 19:45:52 +02:00
Gunnar Beutner
c981426cfb
Fix missing IDO updates for groups
...
fixes #12527
2016-08-24 12:22:09 +02:00
Gunnar Beutner
deb938d412
Fix incorrect notifications for soft recoveries
...
fixes #12529
2016-08-24 12:22:08 +02:00
Gunnar Beutner
82b6ef4301
Don't update TimePeriod ranges for inactive objects
...
fixes #12511
2016-08-23 15:01:40 +02:00
Gunnar Beutner
218e780a44
Avoid unnecessary string copies
...
fixes #12509
2016-08-23 15:01:40 +02:00
Gunnar Beutner
43a4acd5a2
Remove deprecated functions
...
fixes #12507
2016-08-23 15:01:40 +02:00
Michael Friedrich
cd1b2cdddd
Fix that recovery notifications are sent in SOFT NOT-OK states
...
fixes #12517
2016-08-23 14:58:24 +02:00
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
Michael Friedrich
5498dc5e4f
Fix that the first notification interval is incorrect
...
fixes #12257
2016-08-02 18:41:01 +02:00
Conrad Clement
3f0b6ec003
Optimize two ObjectLocks into one in Notification::BeginExecuteNotification method
...
object is locked twice to update values of
NotificationNumber, LastNotification and LastProblemNotification.
LastNotificaiton is updated inside each ObjectLock
merge two ObjectLocks into one and remove duplicate update
fixes #12188
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-02 18:36:29 +02:00
Michael Friedrich
1ff6939f90
Fix missing MySQL session_token changes
...
refs #12258
refs #12288
2016-08-02 15:05:21 +02:00
Michael Friedrich
cd5c9366cf
DB IDO: Use upsert and session token for comment/downtime updates
...
refs #12258
fixes #12288
2016-08-02 14:37:16 +02:00
Michael Friedrich
53930e321c
DB IDO: Ensure that queries are not executed if categories don't match
...
refs #12147
refs #12147
2016-08-02 14:27:20 +02:00
Michael Friedrich
b7da28b176
Enhance TLS handshake error messages with connection information
...
fixes #12287
2016-08-02 12:14:03 +02:00
Michael Friedrich
73417275f6
Fix incorrect index drop in pgsql.sql
...
refs #12210
2016-08-02 11:05:48 +02:00
Michael Friedrich
7d78c53dd8
Fix incorrect session_token index for PostgreSQL
...
refs #12210
2016-08-01 15:04:47 +02:00
Markus Frosch
d0183edc51
Fix build with OpenSSL 1.1
...
error: cannot convert ‘const boost::shared_ptr<x509_st>’ to ‘X509* {aka
x509_st*}’ for argument ‘1’ to ‘ASN1_TIME* X509_get_notBefore(X509*)’
refs #12044
2016-08-01 09:54:51 +02:00
Michael Friedrich
32b37f0db9
Fix missing session_token column
...
refs #12210
2016-08-01 09:37:10 +02:00
Gunnar Beutner
546bdbcf6a
'Sandboxed' property isn't properly propagated to child frames
...
refs #12247
2016-07-29 14:11:52 +02:00
Gunnar Beutner
aaa4878017
Don't write empty lines to the history file
...
refs #12234
2016-07-29 13:55:07 +02:00
Gunnar Beutner
a02d7d7502
Implement history support for 'icinga2 console'
...
fixes #12234
2016-07-29 13:45:16 +02:00
Gunnar Beutner
ee75094128
Change how Array#reduce works
...
refs #12247
2016-07-29 11:09:46 +02:00
Gunnar Beutner
a3815e4efd
Add map/reduce and filter functionality for the Array class
...
fixes #12247
2016-07-29 10:48:15 +02:00
Gunnar Beutner
0d02b01c02
Use application start-up time for the IDO session token
...
fixes #12250
2016-07-29 08:40:10 +02:00
Gunnar Beutner
92c28548d1
Remove obsolete debug log message
...
fixes #12254
2016-07-29 07:09:01 +02:00