moglia
2010-05-13 0110094b2d206e88dceb0cfe2bc4c85f2e826dda
interface/web/monitor/lib/module.conf.php
@@ -4,7 +4,7 @@
 Config of the Module
 */
$module["name"]       = "monitor";
$module["title"]       = "Monitor";
$module["title"]       = "top_menu_monitor";
$module["template"]    = "module.tpl.htm";
$module["tab_width"]    = '';
$module["startpage"]    = "monitor/show_sys_state.php?state=system";
@@ -13,6 +13,14 @@
$items[] = array( 'title'    => "Show Overview",
                  '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,
@@ -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);\">";
@@ -95,6 +104,9 @@
                  'target'    => 'content',
                  'link'   => 'monitor/show_data.php?type=services');
$items[] = array( 'title'    => "Show OpenVz VE BeanCounter",
                  'target'    => 'content',
                  'link'   => 'monitor/show_data.php?type=openvz_beancounter');
$module["nav"][] = array(   'title'   => 'Server State',
                            'open'    => 1,
@@ -121,9 +133,13 @@
                  'target'    => 'content',
                  'link'   => 'monitor/show_log.php?log=log_mail_err');
$items[] = array( 'title'    => "Show Messages-Log",
$items[] = array( 'title'    => "Show System-Log",
                  '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',
@@ -133,13 +149,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,