Module: check_mk
Branch: master
Commit: 1cb5630c8e3b94baa086b5dd49dfc02c3da4ea3c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cb5630c8e3b94…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Mar 17 08:31:17 2017 +0100
Extended our core abstraction layer to handle downtimes and comments.
This simplifies things *quite* a bit, removes tons of #ifdefs and makes it
possible to merge column implementations (in an upcoming change).
Change-Id: Ia595391952fb01d9204a65dbdc6406a3a5671299
---
livestatus/src/AttributeListAsIntColumn.h | 7 +-
livestatus/src/AttributeListColumn.h | 7 +-
livestatus/src/BlobColumn.h | 7 +-
livestatus/src/Column.h | 7 +-
livestatus/src/ContactGroupsColumn.cc | 1 +
livestatus/src/ContactGroupsColumn.h | 2 +-
livestatus/src/ContactGroupsMemberColumn.cc | 1 +
livestatus/src/ContactGroupsMemberColumn.h | 4 +-
livestatus/src/ContactsColumn.h | 7 +-
livestatus/src/CustomTimeperiodColumn.h | 1 +
livestatus/src/CustomVarsDictColumn.h | 7 +-
livestatus/src/CustomVarsDictFilter.h | 7 +-
livestatus/src/CustomVarsListFilter.h | 7 +-
livestatus/src/CustomVarsNamesColumn.h | 7 +-
livestatus/src/CustomVarsValuesColumn.h | 7 +-
livestatus/src/DoubleAggregator.cc | 1 +
livestatus/src/DoubleColumn.h | 7 +-
livestatus/src/DoubleFilter.h | 7 +-
livestatus/src/DownCommColumn.cc | 140 ++++++++++++++++------------
livestatus/src/DownCommColumn.h | 26 +++---
livestatus/src/DowntimesOrComments.cc | 6 --
livestatus/src/DowntimesOrComments.h | 1 -
livestatus/src/HostContactsColumn.cc | 1 +
livestatus/src/HostContactsColumn.h | 2 +-
livestatus/src/HostGroupsColumn.h | 1 +
livestatus/src/HostListColumn.h | 2 +-
livestatus/src/HostListFilter.cc | 1 +
livestatus/src/HostListFilter.h | 7 +-
livestatus/src/HostListStateColumn.h | 2 +-
livestatus/src/HostSpecialIntColumn.cc | 1 +
livestatus/src/HostSpecialIntColumn.h | 2 +-
livestatus/src/IntAggregator.cc | 1 +
livestatus/src/IntColumn.h | 7 +-
livestatus/src/IntFilter.h | 7 +-
livestatus/src/ListFilter.h | 7 +-
livestatus/src/LogwatchListColumn.cc | 2 +
livestatus/src/LogwatchListColumn.h | 7 +-
livestatus/src/MetricsColumn.h | 4 +-
livestatus/src/MonitoringCore.h | 21 +++++
livestatus/src/NullColumn.h | 7 +-
livestatus/src/OffsetBoolColumn.h | 7 +-
livestatus/src/OffsetIntColumn.h | 7 +-
livestatus/src/OffsetStringMacroColumn.h | 1 +
livestatus/src/OffsetTimeColumn.h | 7 +-
livestatus/src/PerfdataAggregator.cc | 1 +
livestatus/src/ServiceContactsColumn.cc | 1 +
livestatus/src/ServiceContactsColumn.h | 2 +-
livestatus/src/ServiceGroupsColumn.h | 1 +
livestatus/src/ServiceListColumn.h | 2 +-
livestatus/src/ServiceListFilter.cc | 1 +
livestatus/src/ServiceListFilter.h | 7 +-
livestatus/src/ServiceListStateColumn.h | 2 +-
livestatus/src/ServiceSpecialIntColumn.cc | 1 +
livestatus/src/ServiceSpecialIntColumn.h | 2 +-
livestatus/src/StatusSpecialIntColumn.h | 7 +-
livestatus/src/Store.cc | 22 ++---
livestatus/src/Store.h | 13 ++-
livestatus/src/StringColumn.h | 7 +-
livestatus/src/StringFilter.h | 7 +-
livestatus/src/Table.cc | 1 +
livestatus/src/TableComments.cc | 19 ++--
livestatus/src/TableComments.h | 30 +-----
livestatus/src/TableContacts.cc | 1 +
livestatus/src/TableDowntimes.cc | 18 ++--
livestatus/src/TableDowntimes.h | 30 +-----
livestatus/src/TableEventConsole.h | 7 +-
livestatus/src/TableEventConsoleEvents.cc | 35 +------
livestatus/src/TableEventConsoleEvents.h | 34 +------
livestatus/src/TableEventConsoleHistory.cc | 19 +---
livestatus/src/TableEventConsoleHistory.h | 23 +----
livestatus/src/TableHostGroups.cc | 1 +
livestatus/src/TableHosts.cc | 31 +++---
livestatus/src/TableHosts.h | 31 +-----
livestatus/src/TableHostsByGroup.cc | 9 +-
livestatus/src/TableHostsByGroup.h | 21 +----
livestatus/src/TableLog.cc | 37 ++------
livestatus/src/TableLog.h | 20 +---
livestatus/src/TableServiceGroups.cc | 1 +
livestatus/src/TableServices.cc | 31 +++---
livestatus/src/TableServices.h | 31 +-----
livestatus/src/TableServicesByGroup.cc | 9 +-
livestatus/src/TableServicesByGroup.h | 21 +----
livestatus/src/TableServicesByHostGroup.cc | 9 +-
livestatus/src/TableServicesByHostGroup.h | 20 +---
livestatus/src/TableStateHistory.cc | 32 ++-----
livestatus/src/TableStateHistory.h | 22 +----
livestatus/src/TimeColumn.h | 7 +-
livestatus/src/TimePointerColumn.h | 6 --
livestatus/src/TimeperiodColumn.cc | 1 +
livestatus/src/TimeperiodColumn.h | 7 +-
livestatus/src/contact_fwd.h | 35 +++++++
livestatus/src/module.cc | 50 +++++++++-
92 files changed, 376 insertions(+), 720 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=1cb5630c8e…