Commit Graph

59 Commits

Author SHA1 Message Date
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
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 1c115297f9 Rename the service state constants.
Fixes #5964
2014-04-08 09:11:54 +02:00
Michael Friedrich 34092f0a52 Fix legacy attributes by object type. 2014-04-05 17:13:05 +02:00
Michael Friedrich 17b87c9b2a Add CompatUtility::IsLegacyAttribute().
Refs #5855
2014-04-04 16:35:45 +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
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich fcec5c61a0 CompatUtility: Fix broken custom variable dump.
Fixes #5547
2014-01-21 16:13:27 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Johannes Meyer 1bec9692c6 Fix address and address6 being empty in objects.cache
fixes #5352
2013-12-17 09:50:19 +01:00
Gunnar Beutner dac4ac02a9 Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
Refs #5349
2013-12-17 07:52:35 +01:00
Michael Friedrich 2ae988f457 Windows build fix. 2013-12-13 17:09:47 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner 6e84800538 Fix indentation in CompatUtility::GetServiceNotification*
Fixes #5242
2013-11-29 12:28:17 +01:00
Gunnar Beutner 91338a7e49 Remove redundant checks.
Fixes #5071
2013-11-21 12:23:55 +01:00
Michael Friedrich d1419a3067 Fix CompatUtility::{ConvertTimestamp,GetCheckResultOutput} should return std::pair.
Fixes #5045
2013-11-11 15:06:23 +01:00
Gunnar Beutner 112f26dc19 Replace check result dictionaries with a class.
Refs #5039
2013-11-09 15:26:01 +01:00
Gunnar Beutner 59739d9ae4 Fix crash in CompatUtility::GetCheckResultPerfdata.
Refs #5026
2013-11-08 14:00:38 +01:00
Gunnar Beutner 5aba175e18 Use PluginUtility::{Parse,Format}Perfdata for check results.
Refs #2710
2013-11-07 16:07:52 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Michael Friedrich d21d79a36c CompatUtility: Use functionality in compat/ido/livestatus.
refs #4735
2013-10-31 16:08:55 +01:00
Gunnar Beutner db4b3b78d6 Implement class compiler.
Refs #4963
2013-10-28 14:27:36 +01:00
Michael Friedrich bc3411fe8d GraphiteWriter: Refactor perfdata parsing. 2013-10-18 16:27:57 +02:00
Gunnar Beutner 177e1a9000 Implement modified attributes for enable_active_checks and enable_passive_checks. 2013-10-16 11:46:54 +02:00
Michael Friedrich bfa8cf789b compat: Add more host attributes, refactor contacts getter. 2013-10-02 21:09:13 +02:00
Michael Friedrich 09cc7632e7 compatutility: Use User(Group) Ptr, not name.
refs #4735
2013-10-01 16:44:33 +02:00
Michael Friedrich b2f13c37e4 compatutility: Add contact(group) getters.
refs #4735
2013-10-01 15:39:00 +02:00
Gunnar Beutner 400fe5e13c Remove the uncheckable state. 2013-10-01 13:12:04 +02:00
Michael Friedrich c07857dea8 Fix compiler warning. 2013-10-01 10:24:29 +02:00
Michael Friedrich 1ab5639c9a compatutility: Add MapExternalCommandType() used in db_ido.
refs #4768
2013-09-30 20:25:53 +02:00
Michael Friedrich 86ef8aae8c compatutility: Fix check_type. 2013-09-30 16:52:57 +02:00
Gunnar Beutner 93cd1b811e Make check_source a check result attribute. 2013-09-27 07:34:08 +02:00
Michael Friedrich e07183d481 Add check authority to service.
fixes #4762
2013-09-26 21:53:43 +02:00
Michael Friedrich 0b4c554711 Fix unused parameter, missing initialization. 2013-09-25 11:31:35 +02:00
Gunnar Beutner e766b4534f config: Rename Host::hostcheck to Host::check. 2013-09-25 09:12:15 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Michael Friedrich 83a06b4378 compatutility: Refactor checkresult output, add notification type mapping. 2013-09-24 18:48:24 +02:00
Gunnar Beutner f39f69d390 Refactor ASSERT macro. 2013-08-28 08:18:58 +02:00
Gunnar Beutner 82b3b81b91 Windows build fix. 2013-08-20 08:29:38 +02:00
Michael Friedrich a6cc26c2d7 compat: Fix wrong const placement. 2013-08-09 14:29:56 +02:00
Michael Friedrich 1a798232ba compat: fix customvar exclude 2013-08-09 14:07:44 +02:00
Michael Friedrich e7214174b1 compat: Add CompatUtility::GetCustomVariableConfig(). 2013-08-09 13:55:44 +02:00
Michael Friedrich d562e98779 ido: Add missing check_type for host/service status tables.
refs #4380
2013-08-09 12:35:42 +02:00