69 Commits

Author SHA1 Message Date
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
d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +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 252980a6bdb9a47c1828b2a34a3738e5fa82fe51.

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
c7659337b7 Use legacy attribute getters in interfaces.
Fixes #6041
2014-04-17 13:50:26 +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
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
23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich
ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich
1279d27720 Fix enable_perfdata attribute in compat features.
Fixes #5693
2014-03-12 15:21:56 +01:00
Michael Friedrich
555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich
66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich
83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +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
e4b5fe74ff Fix LivestatusListener config object.
Fixes #5053
2013-11-11 11:57:25 +01:00
Gunnar Beutner
e2292ce5f7 Refactor the Service::Is{Comment,Downtime}* methods.
Refs #5039
2013-11-09 22:20:49 +01:00
Gunnar Beutner
ec1a7bbfcb Implement class for service downtimes.
Refs #5039
2013-11-09 22:08:26 +01:00
Gunnar Beutner
cb526ddccc Implement class for service comments.
Refs #5039
2013-11-09 21:19:52 +01:00
Gunnar Beutner
112f26dc19 Replace check result dictionaries with a class.
Refs #5039
2013-11-09 15:26:01 +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
Michael Friedrich
75b69411b9 Livestatus: Add log table.
refs #4433
2013-10-31 13:39:16 +01:00
Gunnar Beutner
db4b3b78d6 Implement class compiler.
Refs #4963
2013-10-28 14:27:36 +01:00
Gunnar Beutner
aed9b578f1 livestatus: Implement support for modified_attributes. 2013-10-16 14:30:13 +02:00
Michael Friedrich
f55d48cfb3 Fix compiler warnings (wip)
refs #4756
2013-10-03 18:58:48 +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
21999fe51e Refactor the livestatus library. 2013-09-25 09:33:59 +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
Gunnar Beutner
93b3461f7c livestatus: Fix macro priority. 2013-09-10 10:37:30 +02:00
Gunnar Beutner
e9e55cd8c0 Remove the replication feature and clean up the code. 2013-08-26 14:56:38 +02:00
Michael Friedrich
0634847055 build fix on debian squeeze 2013-07-30 22:38:33 +02:00
Gunnar Beutner
ba92ab9460 Yet another build fix. 2013-07-22 14:55:35 +02:00
Michael Friedrich
a939cbfef8 livestatus: fix HostsTable::ContactGroupsAccessor()
refs #4372
2013-07-19 16:24:09 +02:00
Michael Friedrich
4bc4defc97 livestatus: add childs attribute to hosts table
refs #4372
2013-07-19 16:11:35 +02:00
Michael Friedrich
a991fbe1b6 livestatus: add host/service staleness indicator
refs #4372
2013-07-19 14:19:09 +02:00
Michael Friedrich
734b08d858 livestatus: more attributes
refs #4372
2013-07-19 13:59:39 +02:00