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, user-ce4a2c883f75@xymon.invalid wrote:
On Thu, 03 Nov 2011 04:03:58 -0400, Darrik Mazey
<user-634f30452b72@xymon.invalid> 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.
XXXX Marigold Avenue
Akron, Ohio 44301-2627
tele: XXX.XXX.XXXX
user-9bfdc5e6ebcb@xymon.invalid
http://www.darmasoft.com/
To obtain my public key, send an email to user-c82d852a3dca@xymon.invalid.