//
All the options for configuration are here.
//choose the options to update them
// // //TOS11; echo "Press the following buttons to enable/disable the settings
In order to make it effect, turn to the "Enable/Disable" tab for the plugin
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 <<