",implode(' ', $errors), "
";
exit;
}
#then, parse the xml data
$ooe = 0;
$line = 0;
foreach($xml->children() as $response) foreach($response->children() as $data) {
list($name, $stat, $nodemonstatus) = preg_split("/\s+/", $data);
$ooe = $ooe%2;
echo "";
echo " | ";
echo "$name | ";
echo "$stat | ";
if(isset($nodemonstatus)) { echo "Yes | ";}else {echo "No | ";}
echo "
";
$ooe++;
$line++;
//echo "$name | $stat | $name |
";
}
return 0;
}
?>
Tips:
- Click the name of each plugin, you can get the plugin's description.
- You can also select one plugin, then you can set node/application status monitoring for the selected plugin
'Next', 'id'=> 'next', 'onclick' => 'loadMainPage("monitor/stat_mon.php")'))?>