2009-07-16 09:54:58 +00:00
|
|
|
<?php
|
2009-09-01 20:25:18 +00:00
|
|
|
if(!isset($TOPDIR)) { $TOPDIR="..";}
|
2009-07-16 09:54:58 +00:00
|
|
|
require_once "$TOPDIR/lib/security.php";
|
|
|
|
require_once "$TOPDIR/lib/functions.php";
|
|
|
|
require_once "$TOPDIR/lib/display.php";
|
2009-07-29 06:07:58 +00:00
|
|
|
require_once "$TOPDIR/lib/monitor_display.php";
|
2009-08-19 09:12:58 +00:00
|
|
|
|
2009-09-01 20:25:18 +00:00
|
|
|
displayMapper(array('home'=>'main.php', 'monitor' =>''));
|
2009-07-29 06:07:58 +00:00
|
|
|
|
|
|
|
displayTips(array("Click the name of each plugin, you can get the plugin's description.",
|
2009-08-18 03:11:36 +00:00
|
|
|
"Select one plugin, choose the options for set up monitoring ",
|
|
|
|
"Click the button <b>\"Start\", \"Stop\" or \"Restart\"</b> to setup monitoring plugin"));
|
2009-07-16 09:54:58 +00:00
|
|
|
|
2009-09-25 08:50:49 +00:00
|
|
|
|
|
|
|
//TODO: change the view style;
|
|
|
|
//Change all the "Actions/Description/Configurations/Views" to Tabs
|
|
|
|
//And, list all the monitoring plugins under the tree? Not sure now.
|
2009-07-29 06:07:58 +00:00
|
|
|
displayMonTable();
|
|
|
|
|
2009-08-18 03:11:36 +00:00
|
|
|
insertDiv("options");
|
2009-08-19 09:12:58 +00:00
|
|
|
|
2009-08-18 03:11:36 +00:00
|
|
|
?>
|