2009-08-13 06:45:39 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* define the performance monitoring using RMC
|
|
|
|
*/
|
|
|
|
|
2009-09-01 20:25:18 +00:00
|
|
|
if(!isset($TOPDIR)) { $TOPDIR="..";}
|
2009-08-13 06:45:39 +00:00
|
|
|
|
|
|
|
require_once "$TOPDIR/lib/security.php";
|
|
|
|
require_once "$TOPDIR/lib/functions.php";
|
|
|
|
require_once "$TOPDIR/lib/display.php";
|
|
|
|
require_once "$TOPDIR/lib/monitor_display.php";
|
|
|
|
|
2009-09-01 20:25:18 +00:00
|
|
|
displayMapper(array('home'=>'main.php', 'monitor' =>''));
|
2009-08-13 06:45:39 +00:00
|
|
|
|
|
|
|
displayTips(array("All the available RMC resources are listed here;",
|
|
|
|
"Edit this table to define the RMC performance monitoring;",
|
|
|
|
"Select the RMC resource, you can get all the available attributes."));
|
|
|
|
|
|
|
|
displayMonsetting();
|
|
|
|
|
|
|
|
|
2009-08-18 03:11:36 +00:00
|
|
|
echo '<div id="monsetting_tips">';
|
|
|
|
echo '<div id="rmcSrcList">';
|
|
|
|
displayRMCRsrc();
|
|
|
|
echo '</div>';
|
|
|
|
echo '<div id="rmcScrAttr">';
|
|
|
|
displayRMCAttr();
|
|
|
|
echo '</div>';
|
|
|
|
echo '</div>';
|
2009-08-13 06:45:39 +00:00
|
|
|
|
|
|
|
|
2009-08-18 03:11:36 +00:00
|
|
|
displayStatus();
|
|
|
|
|
|
|
|
?>
|