Skip to content

Evaluate a better algorithm for the check scheduler logic #7622

@Al2Klimov

Description

@Al2Klimov

Is your feature request related to a problem? Please describe.

How our checks scheduler works:

7AE49A6E-F98D-4DAA-935D-5826B2DF78FB

Describe the solution you'd like

How our checks scheduler shall work:

0622D15B-57F4-48C6-965B-98163CD431E6

Describe alternatives you've considered

None.

Additional context

A lot of checks run every 5m, but they don't have to run exactly every 5m.

Tasks

  • Complete your current tasks not related to this issue
  • Design an algorithm (yes, structure charts on paper! 😜) how Icinga shall transform the situation shown in the first picture into the one shown in the second picture (keep in mind that there are different check intervals – 1s-24h, different retry intervals and hosts/services may be added/removed at run time)
  • Present that algo @lippserd and me and get green light from us
  • Implement that check scheduler "on the green meadow" (not in Icinga 2) in Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions