Icinga/icingaweb2-module-businessprocess

Customized min-operator in a bp-file is not reflected in the gui

Closed this issue · 2 comments

Describe the bug

A modified min-operator in a bp-file is not visualized in the gui.

To Reproduce

Have a business process with lots of children and try to set the min at 16.

  1. my bp has 32 children and I need a min of 16, but cant select it.
    image

  2. I have to modify the file:
    image

  3. the config is valid, but ...
    image

  4. when I try to modify the process via gui at a later point, the selection falls back to the first item of the given dropdown menu, leading to possible mistakes and irritation.
    image

Expected behavior

The gui should always be able to show the actual parametrisation of a business process. Also the integer values should be customizable.

  • Icinga Web 2 version and modules (System - About):

businessprocess 2.4.0
grafana 1.4.2
monitoring 2.12.1
networkdashboards 1.9.4
pdfexport 0.10.2

  • Web browser used: edge
  • Icinga 2 version used (icinga2 --version): 2.13.9
  • PHP version used (php --version): 7.2.24
  • Server operating system and version: Red Hat Enterprise Linux 8.8 (Ootpa) Kernel 4.18.0-477.15.1.el8_8.x86_64

Your config isn't valid as there is no min16 operator. The config format is weird as in min1 to min9 are all separate operators and not an operator with an argument.

Duplicate of #241