From 66c3bc24f069a2854bdf1eeebb6dcb51f6ef0afb Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 28 Oct 2009 14:30:28 -0400 Subject: [PATCH] Implemented: FS#757 - Add "custom" option to transports --- interface/web/monitor/lib/module.conf.php | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/interface/web/monitor/lib/module.conf.php b/interface/web/monitor/lib/module.conf.php index f89b70c..58d849b 100644 --- a/interface/web/monitor/lib/module.conf.php +++ b/interface/web/monitor/lib/module.conf.php @@ -14,6 +14,14 @@ 'target' => 'content', 'link' => 'monitor/show_sys_state.php?state=system'); +$items[] = array( 'title' => "Show System-Log", + 'target' => 'content', + 'link' => 'monitor/log_list.php'); + +$items[] = array( 'title' => 'Show Jobqueue', + 'target' => 'content', + 'link' => 'monitor/datalog_list.php'); + $module["nav"][] = array( 'title' => 'System State (All Servers)', 'open' => 1, 'items' => $items); @@ -23,6 +31,7 @@ We need all the available servers on the left navigation. So fetch them from the database and add then to the navigation as dropdown-list */ + $servers = $app->db->queryAllRecords("SELECT server_id, server_name FROM server order by server_name"); $dropDown = "<select id='server_id' onchange=\"loadContent('monitor/show_sys_state.php?state=server&server=' + document.getElementById('server_id').value);\">"; @@ -125,6 +134,10 @@ 'target' => 'content', 'link' => 'monitor/show_log.php?log=log_messages'); +$items[] = array( 'title' => "Show ISPC Cron-Log", + 'target' => 'content', + 'link' => 'monitor/show_log.php?log=log_ispc_cron'); + $items[] = array( 'title' => "Show Freshclam-Log", 'target' => 'content', 'link' => 'monitor/show_log.php?log=log_freshclam'); @@ -133,13 +146,13 @@ 'target' => 'content', 'link' => 'monitor/show_log.php?log=log_clamav'); -$items[] = array( 'title' => "Show ISPConfig-Log", +$items[] = array( 'title' => "Show RKHunter-Log", 'target' => 'content', - 'link' => 'monitor/show_log.php?log=log_ispconfig'); + 'link' => 'monitor/show_data.php?type=rkhunter'); -//$items[] = array( 'title' => "Show RKHunter-Log", -// 'target' => 'content', -// 'link' => 'monitor/show_data.php?type=rkhunter'); +$items[] = array( 'title' => "Show fail2ban-Log", + 'target' => 'content', + 'link' => 'monitor/show_data.php?type=fail2ban'); $module["nav"][] = array( 'title' => 'Logfiles', 'open' => 1, -- Gitblit v1.9.1