Commit Graph

1497 Commits

Author SHA1 Message Date
Gunnar Beutner 657b3c6a1a Fix deadlock in db_ido.
Fixes #6230
2014-05-19 10:56:50 +02:00
Gerd von Egidy 541de0de78 Add Process::GetPID and make it work on Unix and Windows.
Refs #6118
2014-05-18 18:44:57 +02:00
Gerd von Egidy e0d4b9fb80 Unlink the pidfile when we really shutdown (not reload).
Refs #6118
2014-05-18 18:44:54 +02:00
Gerd von Egidy e93a22b440 Proof of concept how a real reload-handling with systemd could work.
Refs #6118
2014-05-18 18:39:35 +02:00
Gunnar Beutner 7310a254e8 Parallellize restoring objects from the state file.
Fixes #6226
2014-05-18 09:20:23 +02:00
Gunnar Beutner f26b37e763 Execute apply/object rules in parallel.
Fixes #6223
2014-05-17 20:50:07 +02:00
Gunnar Beutner d5f5d7b0a2 Set parent_host_name in Dependency objects to the host's name for apply rules.
Fixes #6197
2014-05-17 12:58:35 +02:00
Gunnar Beutner b2246f3af9 Build fix for Windows.
Refs# 6191
2014-05-17 08:38:28 +02:00
Gunnar Beutner 14cb049b6a Implement timestamps for zone configs.
Fixes #6191
2014-05-15 15:08:45 +02:00
Gunnar Beutner dcbe7e1dfd Implement "accept_config" attribute.
Refs #6191
2014-05-15 10:13:32 +02:00
Gunnar Beutner d587c962ce Implement the config::Update message.
Refs #6191
2014-05-13 15:57:02 +02:00
Gunnar Beutner 3a1ce23aeb Implicitly set zone attribute for files includes from zones.d.
Refs #6191
2014-05-13 14:40:12 +02:00
Gunnar Beutner 0d36cc8d5f Implement support for the zones.d config directory.
Refs #6191
2014-05-13 13:19:43 +02:00
Michael Friedrich aa97c3c670 Add command namespace {check_,event_,notification_} to legacy interfaces.
Fixes #5927
2014-05-12 16:18:03 +02:00
Gunnar Beutner a5d3523b85 Rename the function, return and for keywords and remove the lambda keyword.
Fixes #6194
2014-05-12 12:59:12 +02:00
Gunnar Beutner c58aa9e86f Improve error message when execvpe() fails.
Fixes #6160
2014-05-12 10:58:17 +02:00
Gunnar Beutner 9b7702195a Don't use colors for the whole log message.
Refs #6070
2014-05-12 10:27:01 +02:00
Gunnar Beutner 9c3e399188 Remove unnecessary includes.
Fixes #6189
2014-05-11 18:11:32 +02:00
Michael Friedrich ad77709c07 Rename host.total_* runtime macros to host.num_*.
Fixes #6188
2014-05-11 15:08:32 +02:00
Gunnar Beutner 6a8db4035d Fix another couple of compiler warnings.
Refs #5823
2014-05-11 08:36:51 +02:00
Gunnar Beutner 12c8814bd8 Fix some more compiler warnings.
Refs #5823
2014-05-11 06:43:01 +02:00
Gunnar Beutner c7b5e4c31e Fix some compiler warnings.
Refs #5823
2014-05-11 06:04:43 +02:00
Michael Friedrich f5e568d3fb DB IDO: Add 'is_reachable' column to {host,service}status tables.
Refs #6094
2014-05-10 21:03:47 +02:00
Michael Friedrich d06d4f2540 Include monitoring plugin commands seperately.
Fixes #6130
2014-05-10 19:02:51 +02:00
Michael Friedrich 7730cc9b52 ModifiedAttributes for Enable* must call signals.
Refs #6151
Refs #5219
2014-05-10 17:24:39 +02:00
Michael Friedrich 76658e7ddd DB IDO: Add Enable* db events.
Refs #6151
2014-05-10 16:52:48 +02:00
Michael Friedrich 07bd8943ce Add OnEnablePerfdataChanged signal.
Refs #6151
2014-05-10 16:24:58 +02:00
Gunnar Beutner 7df7ec94d2 Fix scoping rules for dictionaries.
Refs #6183
2014-05-10 12:43:16 +02:00
Gunnar Beutner 6d7e028f92 Use a separate scope for "for" loops.
Refs #6183
2014-05-10 12:03:54 +02:00
Gunnar Beutner 0e34968e8f Implement for loops.
Fixes #6183
2014-05-10 11:26:56 +02:00
Gunnar Beutner ab8624d2f5 Implement support for arrays for the indexer operator.
Fixes #6182
2014-05-10 10:46:49 +02:00
Gunnar Beutner 0c31bae792 Config validator: Make sure that objects are not abstract.
Fixes #6148
2014-05-09 19:40:56 +02:00
Gunnar Beutner 042e4270bf Fix an issue where expired Timer pointers caused other timers to be delayed.
Fixes #6179
2014-05-09 19:26:31 +02:00
Gunnar Beutner bd8ccec258 Fix deadlock when calling functions recursively.
Fixes #6178
2014-05-09 14:45:59 +02:00
Gunnar Beutner b367187c0b Implement HA for IDO connections.
Refs #6107
2014-05-09 13:02:30 +02:00
Gunnar Beutner 4c022199f4 Reimplement load-balancing for checks.
Refs #6107
2014-05-09 11:45:21 +02:00
Gunnar Beutner 020ca0b2e9 Apply: Inherit zone from parent object.
Refs #6107
2014-05-09 10:36:26 +02:00
Gunnar Beutner dade476533 Remove the ZlibStream class and the stream_bio functionality.
Fixes #6119
2014-05-09 10:23:54 +02:00
Gunnar Beutner 01941a9807 Don't log repository messages.
Refs #6107
2014-05-08 15:46:47 +02:00
Gunnar Beutner b36b03cac1 Remove zone check in ApiEvents::UpdateRepositoryAPIHandler.
Refs #6107
2014-05-08 15:27:16 +02:00
Gunnar Beutner 87bcb168d7 Implement timeout for anonymous ApiClient objects.
Refs #6107
2014-05-08 15:12:56 +02:00
Gunnar Beutner bd610a74b1 Clean up reconnect handler.
Refs #6107
2014-05-08 15:00:09 +02:00
Gunnar Beutner b52cc9822d Fix missing variable assignment in Zone::CanAccessObject().
Refs #6107
2014-05-08 13:29:53 +02:00
Gunnar Beutner 5678fe750c Fix incorrect function name.
Refs #6107
2014-05-08 13:15:08 +02:00
Gunnar Beutner e322cc5086 Implement aliasing support for "localhost".
Refs #6107
2014-05-08 13:08:34 +02:00
Gunnar Beutner 3464f29ca2 Fix permissions for master zones.
Refs #6107
2014-05-08 12:36:48 +02:00
Gunnar Beutner 656d6ff13a Update scripts and example config.
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner 16e8dca01e Build fix for RHEL.
Refs #6107
2014-05-08 09:19:38 +02:00
Gunnar Beutner 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00
Gunnar Beutner 0571d8a464 Run INITIALIZE_ONCE() after static initializers.
Refs #6107
2014-05-08 09:13:04 +02:00