Module: check_mk
Branch: master
Commit: c268e5235c91a79925c968fe3e082b9637d71886
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c268e5235c91a7…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Nov 29 10:08:38 2016 +0100
Add last_state_change column only once.
---
livestatus/src/TableServices.cc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/livestatus/src/TableServices.cc b/livestatus/src/TableServices.cc
index f838608..0112ac8 100644
--- a/livestatus/src/TableServices.cc
+++ b/livestatus/src/TableServices.cc
@@ -219,11 +219,6 @@ void TableServices::addColumns(Table *table, const string
&prefix,
reinterpret_cast<char *>(&svc.no_more_notifications) - ref,
indirect_offset));
table->addColumn(new OffsetTimeColumn(
- prefix + "last_state_change",
- "The time of the last state change (Unix timestamp)",
- reinterpret_cast<char *>(&svc.last_state_change) - ref,
indirect_offset,
- -1));
- table->addColumn(new OffsetTimeColumn(
prefix + "last_time_ok",
"The last time the service was OK (Unix timestamp)",
reinterpret_cast<char *>(&svc.last_time_ok) - ref, indirect_offset,