On 11/03/2011 02:43 AM, Henrik Størner wrote:
I still think it would be a good idea to have Xymon and your app talk together using a simpler, more standard interface than parsing the HTML output from the webpage. That would also make it much easier to support different types of pages, like the critical systems page, or just a single sub-page somewhere inside the Xymon page-tree - they would all provide data in the same format, so your app would auto-magically work with any page, allowing the user to pick any page they want to check.
I agree. The parsing is spotty and vulnerable to the slightest changes across versions. I checked out the xymon code from svn and will look it over a bit. I wouldn't mind helping to implement some other data formats, if that's what you want.
Cheers, Darrik
-- Darrik Mazey DarmaSoft, LLC. 1627 Marigold Avenue Akron, Ohio 44301-2627 tele: 330.238.1333 darrik at darmasoft.com http://www.darmasoft.com/
To obtain my public key, send an email to darrik at publickey.darmasoft.com.