From 71accc61eb6474935434e2973e360a63dec8112e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 05 Sep 2013 09:51:06 -0400
Subject: [PATCH] - Added DB size report in monitor. Thanks to Florian for the patch!

---
 interface/web/monitor/lib/module.conf.php |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/interface/web/monitor/lib/module.conf.php b/interface/web/monitor/lib/module.conf.php
index 08b9bc9..ca68ade 100644
--- a/interface/web/monitor/lib/module.conf.php
+++ b/interface/web/monitor/lib/module.conf.php
@@ -106,6 +106,11 @@
                   'link'	=> 'monitor/show_data.php?type=disk_usage',
                   'html_id' => 'disk_usage');
 
+$items[] = array( 'title'       => "Show MySQL Database size",
+                  'target'      => 'content',
+                  'link'        => 'monitor/show_data.php?type=database_size',
+                  'html_id' => 'database_usage');
+
 $items[] = array( 'title' 	=> "Show Memory usage",
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_data.php?type=mem_usage',
@@ -115,11 +120,21 @@
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_data.php?type=services',
                   'html_id' => 'services');
+				  
+$items[] = array( 'title' 	=> "Show Monit",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/show_monit.php',
+                  'html_id' => 'monit');
 
 $items[] = array( 'title' 	=> "Show OpenVz VE BeanCounter",
                   'target' 	=> 'content',
                   'link'	=> 'monitor/show_data.php?type=openvz_beancounter',
                   'html_id' => 'openvz_beancounter');
+				  
+$items[] = array( 'title' 	=> "Show Munin",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/show_munin.php',
+                  'html_id' => 'monit');
 
 $module["nav"][] = array(	'title'	=> 'Server State',
                             'open' 	=> 1,
@@ -180,7 +195,17 @@
                   'link'	=> 'monitor/show_data.php?type=fail2ban',
                   'html_id' => 'fai2ban');
 
+$items[] = array( 'title' 	=> "Show MongoDB-Log",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/show_data.php?type=mongodb',
+                  'html_id' => 'mongodb');
+
+$items[] = array( 'title' 	=> "Show IPTables",
+                  'target' 	=> 'content',
+                  'link'	=> 'monitor/show_data.php?type=iptables',
+                  'html_id' => 'iptables');
+
 $module["nav"][] = array(	'title'	=> 'Logfiles',
                             'open' 	=> 1,
                             'items'	=> $items);
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1