Commit Graph

721 Commits

Author SHA1 Message Date
Michael Friedrich 601e10cb46 Use CustomVarObject instead of DynamicObject for all libicinga objects.
Fixes #6187
2014-05-19 17:57:58 +02:00
Gunnar Beutner b814d89ce0 Fix command timeout.
Fixes #6232
2014-05-19 13:09:49 +02:00
Gunnar Beutner 657b3c6a1a Fix deadlock in db_ido.
Fixes #6230
2014-05-19 10:56:50 +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 d587c962ce Implement the config::Update message.
Refs #6191
2014-05-13 15:57:02 +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 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 7730cc9b52 ModifiedAttributes for Enable* must call signals.
Refs #6151
Refs #5219
2014-05-10 17:24:39 +02:00
Michael Friedrich 07bd8943ce Add OnEnablePerfdataChanged signal.
Refs #6151
2014-05-10 16:24:58 +02:00
Gunnar Beutner 0e34968e8f Implement for loops.
Fixes #6183
2014-05-10 11:26: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 020ca0b2e9 Apply: Inherit zone from parent object.
Refs #6107
2014-05-09 10:36:26 +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 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 656d6ff13a Update scripts and example config.
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00
Michael Friedrich cf2bdecfeb Don't allow "managed" downtimes to be deleted by users.
Fixes #5980
2014-05-04 16:57:11 +02:00
Michael Friedrich 4f44ef13f1 Fix string conversion in CompatUtility::GetCheckableCommandArgs().
Refs #5926
2014-05-04 16:49:24 +02:00
Michael Friedrich ddfccf3188 Add debug log entries for dependencies.
Refs #5872
2014-05-03 21:04:56 +02:00
Michael Friedrich 0691d73af9 Rename Dependency 'state_filter' to 'states'.
Fixes #6113
2014-05-03 19:53:16 +02:00
Michael Friedrich 5aa578c4e4 Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
Fixes #5926
2014-05-03 03:18:37 +02:00
Michael Friedrich 74be8cd2d0 Implement summary macros e.g. $icinga.num_services_critical$.
Additional $icinga.uptime$ macro.

Fixes #2742
2014-05-03 02:08:36 +02:00
Michael Friedrich dbe6a20fd2 Fix exception for Notification objects without checkable object.
Fixes #6111
2014-05-02 19:43:49 +02:00
Michael Friedrich 07c0c9e234 Fix state_filter attribute validation for Depdency objects.
Fixes #6110
2014-05-02 19:37:55 +02:00
Michael Friedrich 7e164291a0 Make AddGroup() unique.
Refs #6105
2014-05-02 00:38:46 +02:00
Michael Friedrich b268e7d32d Group assign requires object.groups update too (for apply rules).
Refs #6105
2014-05-01 23:53:38 +02:00
Michael Friedrich 01a0496988 Add AddGroup() for host, service, user objects.
Refs #6105
2014-05-01 23:53:08 +02:00
Michael Friedrich 309c8d7299 Fix dependency logging for hosts and services.
Fixes #6104
2014-05-01 22:07:35 +02:00
Gunnar Beutner 1c9e985f1d Rename "optional" attribute to "required" and change the default value.
Fixes #6069
2014-04-29 10:41:32 +02:00
Gunnar Beutner 17d277ff16 Implement the "order" attribute for command arguments.
Refs #5933
2014-04-29 10:33:09 +02:00
Gunnar Beutner d500097e4b Fix support for StatsOr and StatsAnd.
Fixes #6062
2014-04-27 15:16:57 +02:00
Gunnar Beutner 9b9ee5c425 Add ssh_port parameter for the ssh check command.
Refs #5933
2014-04-26 18:31:49 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Michael Friedrich 2b70b282ad Add {Host,Service}Group attributes: notes, notes_url, action_url.
Fixes #6057
2014-04-24 14:48:57 +02:00
Michael Friedrich d0af8a226b Fix headers. 2014-04-23 15:57:58 +02:00
Michael Friedrich 7a147d268e Add group assign/ignore rules.
Fixes #5910
2014-04-23 15:50:00 +02:00
Michael Friedrich c239f84fd7 Revert "Add group apply (creates object only once and sets membership)."
This reverts commit 559a4fef67.

Refs #5910
2014-04-23 14:59:48 +02:00
Michael Friedrich c8b3fde2ef Drop unused statusmap_image & coords attributes entirely.
Fixes #6044
2014-04-22 13:48:06 +02:00
Michael Friedrich fe1a83ff34 Revert "Add statusmap_image and coords host attributes."
This reverts commit 252980a6bd.

Refs #6044
2014-04-22 12:09:24 +02:00
Michael Friedrich 0da670d11c Resolve runtime macros recursively in *_url, notes similar to vars.
Fixes #6014
2014-04-17 17:38:02 +02:00
Michael Friedrich 252980a6bd Add statusmap_image and coords host attributes.
They are as important as action_url, etc.

coords is made a dictionary consisting of x_2d and y_2d as keys.

Fixes #6044
2014-04-17 16:48:59 +02:00
Michael Friedrich 5b359ea518 Add CompatUtility::GetModifiedAttributesList() for Livestatus.
Fixes #6042
2014-04-17 16:01:44 +02:00