Module: check_mk
Branch: master
Commit: 08b546eedae09cfe72a2bb7095b223a272f36e45
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=08b546eedae09c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Mar 28 12:53:03 2019 +0100
Moved custom variables access to MonitoringCore abstraction, part 1.
The typing is horrible, and the implementation is less efficient than it
could be, but at least it is a first step towards reducing the heavy
copy-n-paste in this area... :-/
Change-Id: Ie752878fdeddb66d016eb6c0c431de48aa1be61b
---
livestatus/src/CustomTimeperiodColumn.cc | 14 ++++++-----
livestatus/src/CustomTimeperiodColumn.h | 5 +++-
livestatus/src/CustomVarsDictColumn.cc | 18 +++-----------
livestatus/src/CustomVarsDictColumn.h | 19 ++++++++++----
livestatus/src/CustomVarsDictFilter.h | 6 ++++-
livestatus/src/CustomVarsExplicitColumn.cc | 14 ++++++-----
livestatus/src/CustomVarsExplicitColumn.h | 5 +++-
livestatus/src/CustomVarsNamesColumn.cc | 23 ++++++-----------
livestatus/src/CustomVarsNamesColumn.h | 10 ++++++--
livestatus/src/CustomVarsValuesColumn.cc | 23 ++++++-----------
livestatus/src/CustomVarsValuesColumn.h | 10 ++++++--
livestatus/src/MonitoringCore.h | 9 +++++++
livestatus/src/OffsetStringHostMacroColumn.h | 7 ++++--
livestatus/src/OffsetStringMacroColumn.cc | 2 ++
livestatus/src/OffsetStringMacroColumn.h | 5 +++-
livestatus/src/OffsetStringServiceMacroColumn.h | 7 ++++--
livestatus/src/ServiceListColumn.cc | 16 ++++++------
livestatus/src/TableContacts.cc | 10 ++++----
livestatus/src/TableHosts.cc | 29 +++++++++++++---------
livestatus/src/TableServices.cc | 33 ++++++++++++++-----------
livestatus/src/TableStateHistory.cc | 22 ++++++++---------
livestatus/src/module.cc | 10 ++++++++
22 files changed, 172 insertions(+), 125 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=08b546eeda…