Module: check_mk
Branch: master
Commit: 66265edb502b2b239b426439627942ce9e4c1395
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66265edb502b2b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri May 11 12:14:51 2012 +0200
Remove obsolete URL main.py
---
web/htdocs/main.py | 33 +--------------------------------
web/plugins/pages/shipped.py | 1 -
2 files changed, 1 insertions(+), 33 deletions(-)
diff --git a/web/htdocs/main.py b/web/htdocs/main.py
index 4e0be86..4b25d9e 100644
--- a/web/htdocs/main.py
+++ b/web/htdocs/main.py
@@ -30,7 +30,7 @@ def page_index():
start_url = html.var("start_url", config.start_url)
html.req.headers_out.add("Cache-Control", "max-age=7200,
public");
if "%s" in config.page_heading:
- heading = config.page_heading % (defaults.omd_site or "Multisite")
+ heading = config.page_heading % (defaults.omd_site or _("Multisite"))
else:
heading = config.page_heading
@@ -48,37 +48,6 @@ def page_index():
</html>
""" % (heading, start_url))
-def page_main():
- html.header("Check_MK Multisite")
- html.write("""
-<p>Welcome to Check_MK Multisite - a new GUI for viewing status information
-and controlling your monitoring system. Multisite is not just another GUI
-for Nagios - it uses a completely new architecture and design scheme. It's
-key benefits are:</p>
-<ul>
-<li>It is fast.</li>
-<li>it is flexible.</li>
-<li>It supports distributed monitoring.</li>
-</ul>
-
-<p>Multisite is completely based on
-<a href="http://mathias-kettner.de/checkmk_livestatus.html">MK
-Livestatus</a>, which is what makes it fast in the first place - especially
-in huge installations with a large number of hosts and services. </p>
-
-<p>User customizable <b>views</b> is what makes Multisite flexible.
Customize
-the builtin views or create completely own views in order to need your
-demands.</p>
-
-<p>Multisite supports distributed monitoring by allowing you to combine an
-arbitrary number of Monitoring servers under a common visualisation layer,
-without the need of a centralized data storage. No SQL database is needed.
-No network traffic is generated due to the monitoring.</p>
-
-<p>Please learn more about Multisite at its <a
href="http://mathias-kettner.de/checkmk_multisite.html">Documentation home
page</a>.</p>
-""")
- html.footer()
-
# This function does nothing. The sites have already
# been reconfigured according to the variable _site_switch,
# because that variable is processed by connect_to_livestatus()
diff --git a/web/plugins/pages/shipped.py b/web/plugins/pages/shipped.py
index bb4d558..f8ea32f 100644
--- a/web/plugins/pages/shipped.py
+++ b/web/plugins/pages/shipped.py
@@ -40,7 +40,6 @@ import help
pagehandlers.update({
"index" : main.page_index,
- "main" : main.page_main,
"login" : login.page_login,
"logout" : login.page_logout,
"ajax_switch_help" : help.ajax_switch_help,