icingaweb2-module-businessprocess icon indicating copy to clipboard operation
icingaweb2-module-businessprocess copied to clipboard

Customizable Min-Operator

Open sjulez opened this issue 6 years ago • 9 comments

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

My Business Process containes Subprocesses with > 10 Nodes. Our Definition is that alarming should start when at least 2 Nodes (Hosts) are down. Currently I have to brake down all Processes into groups not bigger than 10 Servers to be able to do proper alarming based on the module.

Describe the solution you'd like

When I chose the MIN-Operator, I want to be able to define a Value.

Describe alternatives you've considered

Additional context

sjulez avatar Aug 12 '19 11:08 sjulez

This sounds like a great feature request! I'd also be interested in it :)

willfurnell avatar Dec 10 '19 11:12 willfurnell

+1 !!! I just started to use BP and need definitely a possibility to check more than 9 nodes. Why not just create a variable field X for min, wer one can define it free instead of choosing from dropdown? @nilmerg as a real dirty workaround, would it work to change a 9 to e.g. 15 in the config ini?

MarcusCaepio avatar May 06 '20 11:05 MarcusCaepio

Probably, though don't expect to be able to edit this process in any way in the UI from there on.

nilmerg avatar May 06 '20 11:05 nilmerg

I think we should introduce a new operator for that.

lippserd avatar May 11 '20 13:05 lippserd

Would #278 help here?

lippserd avatar May 11 '20 13:05 lippserd

We could also introduce something like worst n of: a + b +c which selects the worst of the worst n child node states.

lippserd avatar May 11 '20 13:05 lippserd

@lippserd would be possible to have a percentage? Like MIN 50% of nodes must be OK.

robinwolny avatar Sep 23 '21 13:09 robinwolny

@lippserd would be possible to have a percentage? Like MIN 50% of nodes must be OK.

How about something more flexible like giving nodes adjustable weights and weight thresholds?

Sum of child node weights results in:

0 to X = Critical X to Y = Warning Y to = OK

As the operators are limited in the config syntax, it would need to happen as comments I guess or it would break some backwards compatibility.

slalomsk8er avatar Jul 13 '23 09:07 slalomsk8er

  • 1

The actual number of MIN is quite limiting, so I am also strongly interested in it.

wp-perc avatar Jul 28 '23 08:07 wp-perc