Closed mocdaniel closed 7 months ago
ref/NC/801888
Fiddled around with that a bit. So far it looks like the problem emerges, if there are multiples cubes in which hosts are DOWN
.
For now I think it is related with the sorted by reachability. https://github.com/Icinga/icingaweb2-module-cube/blob/10192ca03302937ab9513e8188829538a74dc744/library/Cube/CubeRenderer/HostStatusCubeRenderer.php#L134
Describe the bug
When sorting cube views for severity, the view sometimes crashes with the following error message:
Undefined property: stdClass::$hosts_unhandled_unreachable
The stacktrace is as follows:
We tried different filters, but could not recognize a pattern of filter settings crashing vs. filter settings succeeding.
To Reproduce
No clear way of reproducing this. We hope, the stacktrace hints at some bug. Kindly get back to us if you need more information
Expected behavior
All possible filters should succeed when being sorted by severity.
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): v2.14.0php --version
): 7.4.33