Page 1 of 1

Re: [Nagios-devel] Refactor logic for next valid time

Posted: Tue May 07, 2013 5:04 am
by Guest
--047d7bd6a8ce5475d804dc1a97aa
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, May 6, 2013 at 6:04 PM, Robin Sonefors wrot=
e:

> Hi list,
>
> A couple of excellent tests by Jean Gab=E8s - marked as todo - pointed ou=
t
> problems with how nagios calculates the next valid time in a timeperiod
> that
> has complicated combinations of exceptions and exclusions.
>
> This patchset refactors the relevant code to fix all failing tests, as
> well as adds a
> new one.
>
>
>
> Hi,

Congrats, these timeperiod computation are really a nigthmare :D
Especially with corner case like "I need the last monday but we are the
last tuesday". If you need more tests for theses special cases, I can
provide you some more, with really crazy time computation :p


Jean

--047d7bd6a8ce5475d804dc1a97aa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, May 6, 2013 at 6:04 PM, Robin Sonefors &l=
t;robin.sonefor=
s@op5.com> wrote:
Hi list,

A couple of excellent tests by Jean Gab=E8s - marked as todo - pointed out
problems with how nagios calculates the next valid time in a timeperiod tha=
t
has complicated combinations of exceptions and exclusions.

This patchset refactors the relevant code to fix all failing tests, as well=
as adds a
new one.

Hi,Congrats, these timeperiod =
computation are really a nigthmare :DEspecially with corner case like &=
quot;I need the last monday but we are the last tuesday". If you need =
more tests for theses special cases, I can provide you some more, with real=
ly crazy time computation :p
Jean

--047d7bd6a8ce5475d804dc1a97aa--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: naparuba@gmail.com