Module: check_mk
Branch: master
Commit: 1704417ce6b3dfb60384eba808c23af4baf05789
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1704417ce6b3df…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 2 15:35:25 2013 +0200
re-enabled topology view as nagvis version in omd has been updated now
---
web/plugins/dashboard/builtin.py | 32 +++++++++++++++-----------------
1 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/web/plugins/dashboard/builtin.py b/web/plugins/dashboard/builtin.py
index fabfaf2..dc942ff 100644
--- a/web/plugins/dashboard/builtin.py
+++ b/web/plugins/dashboard/builtin.py
@@ -69,20 +69,18 @@ builtin_dashboards["main"] = {
]
}
-# New topology dashboard: Will be activated as soon as we have a NagVis
-# version that supports this...
-# builtin_dashboards["topology"] = {
-# "title" : _("Network Topology"),
-# "dashlets" : [
-# {
-# "title" : "Topology of Site " +
defaults.omd_site,
-# "iframe" : defaults.url_prefix +
'nagvis/frontend/nagvis-js/index.php?' + \
-#
'mod=Map&header_template=default&header_menu=0&label_show=1' + \
-#
'&sources=automap&act=view&backend_id=' + defaults.omd_site + \
-#
'&render_mode=undirected&url_target=main',
-# "reload_on_resize" : True,
-# "position" : (1, 0),
-# "size" : (GROW, GROW),
-# },
-# ]
-# }
+builtin_dashboards["topology"] = {
+ "title" : _("Network Topology"),
+ "dashlets" : [
+ {
+ "title" : "Topology of Site " +
defaults.omd_site,
+ "iframe" : defaults.url_prefix +
'nagvis/frontend/nagvis-js/index.php?' + \
+
'mod=Map&header_template=default&header_menu=0&label_show=1' + \
+
'&sources=automap&act=view&backend_id=' + defaults.omd_site + \
+
'&render_mode=undirected&url_target=main',
+ "reload_on_resize" : True,
+ "position" : (1, 0),
+ "size" : (GROW, GROW),
+ },
+ ]
+}