"; echo "

Available Configurations for $name

"; echo ''; echo ""; //set up the options for the plugin with the name "$name" if($name == "rmcmon") { //node status monitor, RMC events, RMC resources echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } else { //there's only "node status monitoring" is enabled echo ""; echo ""; echo ""; echo ""; } echo "
Node/Application Status Monitoring Setting"; insertButtons(array('label'=>'Configure', 'id'=>'rmc_nodestatmon', 'onclick'=>'loadMainPage("monitor/stat_mon.php?name=rmcmon")')); echo "
RMC Events Monitoring Setting"; insertButtons(array('label'=>'Configure', 'id'=>'rmc_event', 'onclick'=>'loadMainPage("monitor/rmc_event_define.php")')); echo "
RMC Resource Monitoring Setting"; insertButtons(array('label'=>'Configure', 'id'=>'rmc_resource', 'onclick'=>'loadMainPage("monitor/rmc_resource_define.php")')); echo "
Node/Application Status Monitoring Setting"; insertButtons(array('label'=>'Configure', 'id'=>$name."_nodestatmon", 'onclick'=>"loadMainPage(\"monitor/stat_mon.php?name=$name\")")); echo "
"; echo ""; echo "
"; echo "

View Options for $name

"; //there should be many choices for the user to view the clusters' status echo << Monitor Items Display Formats TOS1; if($name == "rmcmon") { #display two rows, one for RMC event, another for RMC Resource Performance monitoring. echo ""; echo "RMC Event Logs"; echo ""; insertButtons(array('label'=>'View in Text', 'id'=>'rmc_event_text', 'onclick'=>'loadMainPage("monitor/rmc_lsevent.php")')); echo ""; echo ""; echo ""; echo "RMC Resource Logs"; echo ""; insertButtons(array('label'=>'View in Text', 'id'=>'rmc_resrc_text', 'onclick'=>'loadMainPage("monitor/rmc_monshow.php")')); insertButtons(array('label'=>'View in Graphics', 'id'=>'rmc_resrc_graph', 'onclick'=>'')); echo ""; echo ""; } else { echo "

There's no view functions for $name.

"; } echo "
"; ?>