'; echo '
Tips:(Click me to display tips)
'; echo '$tip
"; echo "\n"; } echo "This interface is still under development -use accordingly.
| Condition | Response | Node | State | Action | 
|---|---|---|---|---|
| $record[3] | $record[5] | $record[7]TOS6; //TODO: insert the button here echo " | Button"; echo " | |
| $cond"; // echo " | $resp"; // echo " | $node"; // echo " | $state"; // echo " | "; // if($state == "Active") { // insertButtons(array('label'=>'DeActivate', 'id'=>'deactivate', 'onclick'=>"control_RMCAssoc(\"$cond\", \"$node\", \"$resp\", \"stop\")")); // }else if($state == "Not active"){ // insertButtons(array('label'=>'Activate', 'id'=>'activate', 'onclick'=>"control_RMCAssoc(\"$cond\", \"$node\", \"$resp\", \"start\")")); // } // echo ""; // echo " | 
| Conditions | $tmp[1]TOS99; } // $ooe = 0; // $line = 0; // foreach($conditions as $elem) { // $ooe = $ooe%2; // echo " | 
|---|---|
| "; // echo " | $elem"; // echo " | 
| Response | |
| $record[1]TOS7; echo " | |
| "; // echo " | $elem"; // echo " | 
| Class Name | |
| "; echo " | $class"; echo " | 
Select the RMC Resource, you will see all its available attributes here.
"; } function RMCEventLogToTable() { $xml = docmd("webrun", "", array("lsevent")); //var_dump($xml); foreach($xml->children() as $response) foreach($response->children() as $records) { //$data should be one array to store all the RMC event log. echo "| Time"; echo " | $attr"; echo " | 
| $time"; echo " | $val"; echo " | 
Available Configurations for $name
"; echo '| Node/Application Status Monitoring Setting"; echo " | "; insertButtons(array('label'=>'Configure', 'id'=>'rmc_nodestatmon', 'onclick'=>'loadMainPage("monitor/stat_mon.php?name=rmcmon")')); echo ""; echo " | 
| RMC Events Monitoring Setting"; echo " | "; insertButtons(array('label'=>'Configure', 'id'=>'rmc_event', 'onclick'=>'loadMainPage("monitor/rmc_event_define.php")')); echo ""; echo " | 
| RMC Resource Monitoring Setting"; echo " | "; insertButtons(array('label'=>'Configure', 'id'=>'rmc_resource', 'onclick'=>'loadMainPage("monitor/rmc_resource_define.php")')); echo ""; echo " | 
| Node/Application Status Monitoring Setting"; echo " | "; insertButtons(array('label'=>'Configure', 'id'=>$name."_nodestatmon", 'onclick'=>"loadMainPage(\"monitor/stat_mon.php?name=$name\")")); echo ""; echo " | 
View Options for $name
"; //there should be many choices for the user to view the clusters' status echo <<There's no view functions for $name.
"; } echo "", implode(' ', $errors), "
"; exit; } foreach($xml->children() as $response) foreach ($response->children() as $data) { list($name, $stat, $nodemon) = preg_split("/\s+/", $data); //create .pluginstat class for each plugin echo "