//
All the options for configuration are here.
//choose the options to update them
// // //TOS11; echo "RMC Event configuration is independent from the monstart/monstop command
To make your change effect, you don't need to restart RMC plugin
click the REDIRECT button to go to the configure web page
"; echo ""; echo "For your convenience, all the available RMC Resources and their attributes will list here
TOS15; } echo ""; } /* showRMCAssocTab() * is used to display all the current associations of RMC conditions&responses */ function showRMCAssocTab() { echo "monls failed: ", implode(' ',$errors), "
\n"; exit; } $information = ""; foreach ($xml->children() as $response) foreach ($response->children() as $data) { $information .="$data
"; } echo $information; } /* * changePluginStat($name) * which is used to enable/disable the selected plugin, * and which return whether they're sucessful or not */ function showPluginStat($name, $opt) { //display the nrtree here //let the user choose node/noderange to enable/disable monitor plugin echo "The $name Plugin is in Disabled status
"; echo "You can Press the Following button to change its status
"; echo "Select the noderange from the right tree
"; echo "OR: you can type the noderange in the following area
"; echo "When you are trying to enable the plugin
would you like to support node status monitoring?
"; insertRadioBtn(); insertButtonSet("Enable","Disable", 0); }else if($opt == 'disable') { //monstop //mondecfg echo "The $name Plugin is in Enabled status
"; echo "You can Press the Following button to change its status
"; echo "Select the noderange from the right tree
"; echo "OR: you can type the noderange in the following area
"; echo "When you are trying to enable the plugin
would you like to support node status monitoring?
"; insertRadioBtn(); insertButtonSet("Enable","Disable", 1); } echo ""; } function insertRadioBtn() { //to provide the choose to support "-n"(node status monitoring) echo <<