From 2332b2279d8a8599b4f041370315edc9544b1560 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 02 Aug 2013 10:48:38 -0400 Subject: [PATCH] Added support for mongodb. Many thanks to MaddinXx for the patch. http://www.howtoforge.com/forums/showthread.php?t=62691 --- interface/web/monitor/show_data.php | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/interface/web/monitor/show_data.php b/interface/web/monitor/show_data.php index 1cd4baf..92c66a4 100644 --- a/interface/web/monitor/show_data.php +++ b/interface/web/monitor/show_data.php @@ -124,6 +124,13 @@ $title = $app->lng("monitor_title_fail2ban_txt") . ' (' . $monTransSrv . ' : ' . $_SESSION['monitor']['server_name'] . ')'; $description = ''; break; + case 'mongodb': + $template = 'templates/show_data.htm'; + $output .= $app->tools_monitor->showMongoDB(); + $time = $app->tools_monitor->getDataTime('log_mongodb'); + $title = $app->lng("monitor_title_mongodb_txt") . ' (' . $monTransSrv . ' : ' . $_SESSION['monitor']['server_name'] . ')'; + $description = ''; + break; case 'iptables': $template = 'templates/show_data.htm'; $output .= $app->tools_monitor->showIPTables(); -- Gitblit v1.9.1