Xymon Mailing List Archive search

Common time periods on the ACK page

list Jason Altrincham Jones
Thu, 19 Apr 2007 15:40:53 +0100
Message-Id: <user-802f673f6e67@xymon.invalid>

Don't know how to alter this but assuming you have the allinone.patch
applied you can just put m (minutes) h(hours) d(days) w(weeks) and
combine them as you see fit so 5d4h3m = 5 days 4 hours 3 minutes (though
I would be impressed if you had an ack that specific).

 
Thanks,

Jason.

 
From: Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid] 
Sent: 19 April 2007 15:31
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Common time periods on the ACK page

 
In our install of BB, we modified the ACK page to give a list of some
common ack intervals in minutes at the bottom of the page.  For
instance, 
4 hr = 240 | 6 hr = 360 | 8 hr = 480 | 12 hr = 720 | 1 day = 1440 | 3
days = 4320 | 1 week = 10080 

I can't seem to find a way to do this with Hobbit, since the ACK page is
generated by a compiled cgi script.  Is there any other way to do this?
I looked at the bb-ack.c source file, but couldn't easily find what I
was looking for.