I'm going to implement support for this now, with an option to select critical or non-green views.
The app will first test for these new api targets, and fall back on html parsing as a last-ditch effort.
Should have that done this weekend, with any luck.
Cheers, Darrik
On 11/04/2011 07:56 AM, henrik at hswn.dk wrote:
On Thu, 03 Nov 2011 04:03:58 -0400, Darrik Mazey <darrik.lists at darmasoft.com> wrote:
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 I agree. The parsing is spotty and vulnerable to the slightest changes across versions.
OK - how about this ? This one gives you the same information as the "non-green" page, except I've added the acknowledgment cookie and (if available) the text and time of an existing ack: http://www.xymon.com/xymon-cgi/appfeed.sh
And this one shows the "critical systems" view: http://www.xymon.com/xymon-cgi/appfeed-critical.sh
Regards, Henrik
-- 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.