Icinga/icingaweb2-module-businessprocess

Wrong summary Badges in main Menu

slalomsk8er opened this issue · 4 comments

Describe the bug

I manage to have one Business Process with One unhandled root node critical where there is all green or gray
and one Business Process where one root node is WARNING but the state in the menu is critical.

The problem with the WARNING being critical is clear from the code:

tp('One unhandled root node critical', '%d unhandled root nodes critical', $count),

But I don't know why I have One unhandled root node critical without problems in the tile or detail view.

To Reproduce

Expected behavior

correct badges in the main menu

Screenshots

image

Your Environment

Include as many relevant details about the environment you experienced the problem in

image

Your screenshot looks odd. Why are there so many grey tiles? Grey is used to indicate empty tiles or is used on missing children, but not on processes.

A process with only missing children is considered a problem. I guess that's the case with one of yours, it's just not shown as such. Maybe check this with the default theme.

There is a lot, that I need to model so most is gray at the moment.

A process with only missing children is considered a problem.

Changing the theme did nothing for the discoverability of the cause for the badge.
I don't understand but if I delete the green one then the badge goes away. So In my case a green process with some missing/empty children is counted as "critical".

If it's really this process, then please share its config and what children it has plus their states. (If a child is a process, then the config again)

Can you provide a non public upload for the config?