Module: check_mk
Branch: master
Commit: e495e1102276ec4bfebdffef6f2423def77d95a8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e495e1102276ec…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 7 08:41:24 2014 +0200
Fixed exception when trying to edit builtin dashboards
---
web/plugins/dashboard/builtin.py | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/web/plugins/dashboard/builtin.py b/web/plugins/dashboard/builtin.py
index 5cefa64..5d6dd0a 100644
--- a/web/plugins/dashboard/builtin.py
+++ b/web/plugins/dashboard/builtin.py
@@ -34,12 +34,13 @@ builtin_dashboards["main"] = {
"monitored devices."),
"dashlets" : [
{
- "title" : _("Host Statistics"),
- "type" : 'hoststats',
- "position" : (1, 1),
- "refresh" : 60,
- "show_title" : True,
- "context" : {},
+ "title" : _("Host Statistics"),
+ "type" : 'hoststats',
+ "position" : (1, 1),
+ "refresh" : 60,
+ "show_title" : True,
+ "context" : {},
+ 'single_infos' : [],
},
{
"title" : _("Service Statistics"),
@@ -48,6 +49,7 @@ builtin_dashboards["main"] = {
"refresh" : 60,
"show_title" : True,
"context" : {},
+ 'single_infos' : [],
},
{
"type" : "view",
@@ -205,6 +207,7 @@ if defaults.omd_site:
"position" : (1, 1),
"size" : (GROW, GROW),
"context" : {},
+ "single_infos" : [],
},
]
}