Module: check_mk
Branch: master
Commit: ccc693e571a7d57ca4371f5a160e95cc0f98c3b4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ccc693e571a7d5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jul 9 12:40:40 2013 +0200
Reporting: begin outage statistics
---
web/plugins/views/availability.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/web/plugins/views/availability.py b/web/plugins/views/availability.py
index 227e906..f564561 100644
--- a/web/plugins/views/availability.py
+++ b/web/plugins/views/availability.py
@@ -203,6 +203,19 @@ avoption_entries = [
),
),
+ # Show colummns for min, max, avg duration and count
+ # ( "show_aggregations",
+ # "double",
+ # ListChoice(
+ # title = _("Outage statistics"),
+ # choices = [
+ # ( "foo", "FOO" ),
+ # ( "bar", "FABR" ),
+ # ]
+ # ),
+ # ),
+
+
# How to deal with times out of the notification period
( "notification_period",
"single",
@@ -291,6 +304,7 @@ def render_availability_options():
"unknown" : "unknown",
"host_down" : "host_down",
},
+ "outage_statistics" : [],
"short_intervals" : 0,
"dont_merge" : False,
"summary" : "sum",