diff --git a/xCAT-UI/monitor/monlist.php b/xCAT-UI/monitor/monlist.php index 9c948c5d3..cf7695ad4 100644 --- a/xCAT-UI/monitor/monlist.php +++ b/xCAT-UI/monitor/monlist.php @@ -19,7 +19,7 @@ if(!isset($TOPDIR)) { $TOPDIR="/opt/xcat/ui";} list($name, $stat) = preg_split("/\s+/", $data); echo << - $name + $name $stat diff --git a/xCAT-UI/monitor/plugin_desc.php b/xCAT-UI/monitor/plugin_desc.php new file mode 100644 index 000000000..f0c013724 --- /dev/null +++ b/xCAT-UI/monitor/plugin_desc.php @@ -0,0 +1,30 @@ + +monls failed: ", implode(' ',$errors), "

\n"; + exit; +} + +$information = ""; + +foreach ($xml->children() as $response) foreach ($response->children() as $data) { + $information .= $data; + $information .= "\n"; + //print_r($data); +} +echo $information; +?> +