Module: check_mk
Branch: master
Commit: 3fa097917d404fd9a60a741f1150619144b5555f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3fa097917d404f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Feb 19 14:31:32 2013 +0100
Availability: fix exception for new users
---
web/plugins/views/availability.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/web/plugins/views/availability.py b/web/plugins/views/availability.py
index 9e9ba3f..17c90a0 100644
--- a/web/plugins/views/availability.py
+++ b/web/plugins/views/availability.py
@@ -248,9 +248,12 @@ avoption_entries = [
def render_availability_options():
avoptions = config.load_user_file("avoptions", {
"range" : (time.time() - 86400, time.time()),
+ "downtimes" : {
+ "include" : "honor",
+ "exclude_ok" : False,
+ },
"consider" : {
"flapping" : True,
- "downtime" : True,
"host_down" : True,
"notification_period" : True,
"unmonitored" : True,
@@ -263,6 +266,7 @@ def render_availability_options():
"host_down" : "host_down",
},
"short_intervals" : 0,
+ "dont_merge" : False,
})
is_open = False