sisiya-devel Mailing List for SisIYA
Brought to you by:
emutlu
You can subscribe to this list here.
2007 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Felix N. <no...@36...> - 2007-02-22 11:09:51
|
Hi, It would be very useful to provide a simple service that lists the key information in an XML. This would be useful for any programmatic client access - tools like taskbar integration, special client notifications, etc.=20 Parsing the HTML is possible, but the HTML is rather fragile (if fonts or layout change). Also it's quite hard to interpret the content like "Warning" if it is not the english page. I'd expect that each client is polling this service URL about once per minute.=20 I've added a suggestion for such a XML below. I expect the format will be destroyed by the mail program, but copy, paste and beautify XML should work. Services for other features are useful, too, but the information below is the most important I believe. Cheers,=20 Felix. ---- snip ------------------------------------------------------------ <sisiya> <!--=20 This XML is generated returned by a special URL relative to=20 the sisiya main page. It has to return the overall status, then a=20 list of locations (data centers) and for eache location a list of=20 servers. =20 It needs to be English to be able to parse the status. Anyway if this page is called with ?par_language=3Dde, then all=20 relative URL should be generated with the language "de". (Even though=20 I think it's fine to have everything in English) =20 This information contains all data that is provided on the System=20 Overview page. Either explicit or in tooltips. --> <status>Error</status> <!-- overall system status --> <location> <name>Data Center</name> <!-- a system in the data center --> <system> <!-- name of the system --> <name>ProdServer1</name> <!-- what is this system for? --> <description>Production Application Server</description> <!-- status (this system only --> <status>Warning</status> <!-- detailed information --> <details>SWAP(Warning) Filesystem(Warning)</details> <!-- a relative (to http://sisiya.../) url to details of this system --> =20 <url>/index.php?par_formID=3D2&par_language=3Den&par_systemID=3D1= 4& ; ....</url> <!-- an inactive system does not affect the global status --> <active>true</active> <!-- is updatetime, statuschangetime, statuschangedsince needed as well??? --> </system> <!-- another system in the data center --> <system> <name>ProdWeb1</name> <description>Production Web Server</description> <status>Ok</status> <details></details> =20 <url>/index.php?par_formID=3D2&par_language=3Den&par_systemID=3D1= 5& ; ....</url> <active>true</active> </system> </location> <location> <name>Office</name> <!-- all systems for the Office network are listed here --> </location> <!-- no limit of locations --> </sisiya> ---- snip ------------------------------------------------------------ |