This may sound like a really stupid and obvious question but how do I
apply this patch? :$ the person who used to handle hobbit left about a
month ago and I never was never told how to
Jason.
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 29 September 2006 11:32
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] longer ack alerts
On Fri, Sep 29, 2006 at 10:02:00AM +0100, Jones, Jason (Altrincham)
wrote:
I know I've asked this before and I'm sorry to repeat but could
someone
tell me the steps to add a hour and days input field to the ack alert
form? (this is the first time I've altered anything on the hobbit
webpage side of things),
It's not quite what you want, but the attached patch lets you enter the
time as "6h" (6 hours) or "2d8h" (2 days + 8 hours).
also would it be possible to not allow acks longer than 1 week?
That would need some more code in the bb-ack CGI to reject the too-long
acks. Some sort of configuration mechanism would also be needed to set
the maximum time - either globally, or per-host.
Regards,
Henrik