Commit Graph

965 Commits

Author SHA1 Message Date
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
Gunnar Beutner c7b5e4c31e Fix some compiler warnings.
Refs #5823
2014-05-11 06:04:43 +02:00
Michael Friedrich 7a4fa25a49 Livestatus: Add 'check_source' to hosts table.
Fixes #6185
2014-05-10 21:57:01 +02:00
Michael Friedrich d98d0e9c53 DB IDO: Bump schema version to 1.11.3.
Refs #6094
2014-05-10 21:27:56 +02:00
Michael Friedrich 1e26d04bd6 StatusDataWriter: Add 'is_reachable' {host,service}status attribute.
Refs #6094
2014-05-10 21:21:29 +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 97d51c4269 Livestatus: Add 'is_reachable' to hosts/services table.
Refs #6094
2014-05-10 20:37:09 +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 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00
Michael Friedrich cfa382f0dd StatusDataWriter: Fix dependency relations.
Fixes #6131
2014-05-06 16:10:33 +02:00
Michael Friedrich ddfccf3188 Add debug log entries for dependencies.
Refs #5872
2014-05-03 21:04:56 +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 e295d76483 Checker: Fix exception on disabled host checks.
Fixes #6103
2014-05-01 21:57:58 +02:00
Michael Friedrich adc684289a StatusDataWriter: Fix missing host dependencies.
Fixes #6102
2014-05-01 20:54:09 +02:00
Gunnar Beutner b119c3285b Change log level for some messages.
Fixes #6072
2014-04-29 11:01:28 +02:00
Gunnar Beutner d500097e4b Fix support for StatsOr and StatsAnd.
Fixes #6062
2014-04-27 15:16:57 +02:00
Gunnar Beutner ba20797e76 Turn off column headers for Stats queries.
Fixes #6061
2014-04-27 12:07:19 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Gunnar Beutner e6fb8caace Implement loop detection for cluster links.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 83fd836c7b Fix incorrect type for notification timestamps.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 737441f201 Fix deadlock in TlsStream::{Read,Write}.
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner 24bfc6d084 Clean up ClusterListener::Supports{Checks,Notifications}.
Refs #5467
2014-04-25 15:07:13 +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
Gunnar Beutner 951c61ed16 Use fewer threads by default.
Refs #6053
2014-04-22 20:53:46 +02:00
Gunnar Beutner 63f22b055b Properly deal with exceptions in CheckerComponent::ExecuteCheckHelper.
Refs #4865
2014-04-22 19:03:01 +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 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
Michael Friedrich 72f7537fa6 Add modified attributes for user and command vars.
Fixes #6043
2014-04-17 15:20:28 +02:00
Michael Friedrich c7659337b7 Use legacy attribute getters in interfaces.
Fixes #6041
2014-04-17 13:50:26 +02:00
Michael Friedrich 0dedd7cf19 Add global Enable{Host,Service}Checks. Update interfaces and external commands.
Fixes #6037
Fixes #5975
2014-04-17 11:29:47 +02:00
Gunnar Beutner ed057de512 Add missing ::Stop calls.
Refs #4865
2014-04-16 15:01:31 +02:00
Gunnar Beutner 76fa54ea70 Fix failed agent checks after restarts.
Refs #4865
2014-04-15 15:56:53 +02:00
Michael Friedrich e32de02dea Fix copyright. 2014-04-15 15:04:33 +02:00
Gunnar Beutner 060a802d15 Implement support for hosts in the agent component.
Refs #4865
2014-04-15 13:38:01 +02:00
Michael Friedrich 3b2f931dcb Compat: Only dump host address{,6}, alias if set.
Fixes #6013
2014-04-14 21:50:52 +02:00
Gunnar Beutner c4893ad1a0 Fix db_ido queries.
Fixes #6007
2014-04-13 20:22:25 +02:00
Gunnar Beutner e92ef19340 Fix auto-discovery info files.
Refs #6002
2014-04-13 12:41:34 +02:00
Gunnar Beutner ca4fe71d69 Implement support for auto-discovering services for passive agents.
Fixes #6002
2014-04-13 09:22:27 +02:00
Gunnar Beutner 71e6eae23f Fix race condition in AgentListener::NewClientHandler.
Refs #4865
2014-04-12 13:09:25 +02:00
Gunnar Beutner 899b9da5b4 Update ITL commands.
Refs #4865
2014-04-12 08:18:51 +02:00
Gunnar Beutner 06fdaeb2b2 Fix file descriptors not getting closed properly
Refs #4865
2014-04-12 08:16:57 +02:00
Gunnar Beutner 2961364e97 Implement support for agent-based checks.
Refs #4865
2014-04-12 04:21:09 +02:00
Gunnar Beutner eba60b625f Fix the cluster component.
Fixes #5950
2014-04-10 10:58:08 +02:00
Gunnar Beutner 103d95d0df Fix notification timer for notifications with interval <= 0.
Fixes #5785
2014-04-09 15:51:10 +02:00
Gunnar Beutner a16ef350e2 Avoid unnecessary copies for DynamicType::GetObjects.
Fixes #5987
2014-04-09 12:22:23 +02:00
Gunnar Beutner 606834e190 Rename the notification attributes.
Fixes #5906
2014-04-09 10:25:23 +02:00