Commit Graph

231 Commits

Author SHA1 Message Date
Gunnar Beutner 65bec9e904 Clean up some parts of the code 2014-08-17 17:57:41 +02:00
Gunnar Beutner a49a598eef Make location of the /run directory configurable
fixes #6627
2014-07-22 13:26:37 +02:00
Gunnar Beutner 23986c9cf4 Clean up constructors in the livestatus module 2014-07-21 13:33:51 +02:00
Gunnar Beutner 5518826a29 Build fix for Debian unstable
refs #5312
2014-06-25 12:24:02 +02:00
Gunnar Beutner 876c482ab8 Fix support for the Check_MK frontend
fixes #5312
2014-06-25 12:10:42 +02:00
Gunnar Beutner 6bf47fd221 Fix Livestatus queries where the second operand is omitted
fixes #6494
2014-06-24 12:51:56 +02:00
Michael Friedrich 627f96d85d Livestatus: Add 'host_name' and 'service_description' columns for NagVis
These columns are used for filtering and seem to be not documented nor
supported. Only added for compatibility reasons.

fixes #6474
2014-06-12 11:59:21 +02:00
Michael Friedrich 8d344ebb3a Livestatus: Fix 'OutputFormat:json' w/o space is valid (NagVis bug)
Fixes #6470
2014-06-11 22:53:56 +02:00
Michael Friedrich efa8fdcb8e Error messages: Properly handle livestatus/cmd pipe errors.
Refs #6070
2014-06-05 17:43:34 +02:00
Michael Friedrich 0c021d94cb Error Messages: Catch and log all Socket class exceptions.
Refs #6070
2014-06-05 16:17:53 +02:00
Michael Friedrich 6a080edf80 Error Messages: Catch boost::regex exceptions.
Refs #6070
2014-06-05 16:13:28 +02:00
Michael Friedrich f1e77a0579 Error Messages: Deal with socket exceptions.
Refs #6070
2014-06-05 14:36:50 +02:00
Gunnar Beutner 24035ab390 Use AF_UNSPEC for Bind() calls.
Fixes #6375
2014-06-01 08:51:06 +02:00
Michael Friedrich 4c8d7eea14 Rename livestatus classes.
Refs #6346
2014-05-28 14:42:00 +02:00
Michael Friedrich 0f9d76d40b Change log message identifier for components/*.
Refs #6346
2014-05-28 14:42:00 +02:00
Michael Friedrich e070db65c8 Fix check statistics are mixing host/service checks.
Fixes #6313
2014-05-26 20:56:59 +02:00
Gunnar Beutner 632026cd9f Rename C++ header files.
Fixes #6291
2014-05-25 16:27:14 +02:00
Michael Friedrich 4296ec3987 Change the most chatting log messages to 'notice' severity.
Refs #6070
2014-05-22 16:07:57 +02:00
Gunnar Beutner fceeeba05e Fix compiler warnings.
Fixes #5823
2014-05-22 10:28:21 +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 7a4fa25a49 Livestatus: Add 'check_source' to hosts table.
Fixes #6185
2014-05-10 21:57:01 +02:00
Michael Friedrich 97d51c4269 Livestatus: Add 'is_reachable' to hosts/services table.
Refs #6094
2014-05-10 20:37:09 +02:00
Michael Friedrich 5aa578c4e4 Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
Fixes #5926
2014-05-03 03:18:37 +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
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 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 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
Gunnar Beutner 80778bad1d Update components to use the new address fields.
Refs #5856
2014-04-08 13:34:48 +02:00
Gunnar Beutner 0fdb9ea21b Implement attributes for some well-known macros and allow macro recursion.
Refs #5856
Fixes #5959
2014-04-08 13:23:24 +02:00
Gunnar Beutner 1c115297f9 Rename the service state constants.
Fixes #5964
2014-04-08 09:11:54 +02:00
Gunnar Beutner e560e1e00c Remove the HostUnreachable state.
Fixes #5944
2014-04-08 08:54:49 +02:00
Michael Friedrich 31d54b2760 Livestatus: Add application variables to status table.
Refs #5855
2014-04-04 17:45:59 +02:00
Michael Friedrich 5030bab4f3 Livestatus: Add command custom variables.
Refs #5855
2014-04-04 17:32:23 +02:00
Gunnar Beutner 23e9630682 Implement host checks.
Refs #5919
2014-04-04 15:57:54 +02:00
Michael Friedrich 5c58eb368c Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
2014-04-03 11:35:25 +02:00
Michael Friedrich a05c31cda2 CompatUtility: Fix host 2d_coords.
Fixes #5917
2014-04-02 14:43:40 +02:00
Gunnar Beutner 54063f0b9f Rename __name and __type properties.
Refs #5870
2014-03-28 14:17:55 +01:00
Michael Friedrich 23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich 662e6dd547 Livestatus: Add check_source to services table.
Refs #5636
Refs #5812
2014-03-20 19:15:19 +01:00
Michael Friedrich 098dbe7506 Livestatus: Add endpoints table.
Refs #5636
Refs #5811
2014-03-20 18:53:08 +01:00