Module: check_mk
Branch: master
Commit: 0d83049d5f6d8c1909ca52a264b744f2157e258d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0d83049d5f6d8c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Feb 23 11:48:15 2012 +0100
Livestatus: Add missing column check_freshness to services table
---
ChangeLog | 2 ++
livestatus/src/TableServices.cc | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3045b8d..361c05f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -78,6 +78,8 @@
error messages when the core is being restarted
* Events view now shows icon and text for "flapping" events
+ Livestatus:
+ * Add missing column check_freshness to services table
BI:
* New column (painter) for simplistic box display of tree.
diff --git a/livestatus/src/TableServices.cc b/livestatus/src/TableServices.cc
index fe017cf..bd0d4c4 100644
--- a/livestatus/src/TableServices.cc
+++ b/livestatus/src/TableServices.cc
@@ -295,6 +295,8 @@ void TableServices::addColumns(Table *table, string prefix, int
indirect_offset,
"The current check option, forced, normal, freshness... (0/1)",
(char *)(&svc.check_options) - ref, indirect_offset));
table->addColumn(new OffsetIntColumn(prefix + "flap_detection_enabled",
"Whether flap detection is enabled for the service (0/1)",
(char *)(&svc.flap_detection_enabled) - ref, indirect_offset));
+ table->addColumn(new OffsetIntColumn(prefix + "check_freshness",
+ "Whether freshness checks are activated (0/1)", (char
*)(&svc.check_freshness) - ref, indirect_offset));
table->addColumn(new OffsetIntColumn(prefix + "obsess_over_service",
"Whether 'obsess_over_service' is enabled for the service
(0/1)", (char *)(&svc.obsess_over_service) - ref, indirect_offset));
table->addColumn(new AttributelistColumn(prefix +
"modified_attributes",