From dfd6267aa549f001be53dfef09251ec26192908a Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 16 Jul 2009 09:54:58 +0000 Subject: [PATCH] 1) the new directory "monitor" is added to support monitoring features; 2) the file "monlist.php" is used to list all the avaiable plug-ins; git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/monitor/monlist.php | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 xCAT-UI/monitor/monlist.php diff --git a/xCAT-UI/monitor/monlist.php b/xCAT-UI/monitor/monlist.php new file mode 100644 index 000000000..9c948c5d3 --- /dev/null +++ b/xCAT-UI/monitor/monlist.php @@ -0,0 +1,69 @@ +",implode(' ', $errors), "

"; + exit; + } + #then, parse the xml data + foreach($xml->children() as $response) foreach($response->children() as $data) { + list($name, $stat) = preg_split("/\s+/", $data); + echo << + $name + $stat + + +TAB1; + //echo "$name$stat$name"; + } + return 0; + } +?> + +
+ + home / + Plug-ins' List + +
+
+

Tips:

+

Please select the available plug-ins, and click the "next" button for next steps;

+
+
+ + + + + + + + + + + +
Plug-in NameStatusNode Status Monitoring
+
+
+ +'NEXT', 'id'=>'next', 'onclick'=>'loadMainPage("main.php")')); ?> + +