Those look like they should do nicely!
Is the "cookie" field what is used in the ack form as Number_X, in order to post acks?
Also, any chance we can get AckedBy as a separate field?
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.