Icinga / icinga-web

Icinga Web 1.x, the old new web interface (EOL 31.12.2018)
22 stars 11 forks source link

[dev.icinga.com #11551] customvar-based cronks load really slow #1376

Closed icinga-migration closed 6 years ago

icinga-migration commented 8 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11551

Created by Konne on 2016-04-08 14:03:12 +00:00

Assignee: (none) Status: New Target Version: (none) Last Update: 2016-04-13 12:52:55 +00:00 (in Redmine)

Icinga Version: 1.13.0
Icinga Web Version: 1.13.0
IDO Version: 1.13.0
OS Version: SLES11
DB Type: MySQL
DB Version: 5.5
Browser Version: FF Dev Edition 47, IE11

Hello,

there seems to be a problem with cronks, wich are based on grid templates with customvars.

I use the customvar-feature, which was introduced with icinga-web 1.13.0 in default configuration. The default-cronk "HostStratus CV" is used to create cronks with customvars. When i try to load these cronks again, they load really slow. During the loadingtime the GUI is not responding and shows only the loading-icon. The extended grid view it self (the cronk "HostStatus CV") does not seem to be affected, because it is loading as fast as the default view ("hosts in total").

In QS Stage I created a few test-cronks. One group [#1], based on the default view and another one [#2], based on the extended view from the cronk "HostStatus CV". The compared cronks are configured in the same way.

Group #1 is loading in 1-2 Sec. Group #2 needs for the same task 6-8 Sec and sometimes more.

In our productive environment we sometimes had to wait more than 1 minute. Modifying or recreating cronks did not help. This problem seems to scale with the numer of hosts.

With ~12.000 hosts it results in unusable cronks and is a real show stopper.

icinga-migration commented 8 years ago

Updated by Konne on 2016-04-13 12:52:55 +00:00

Example with two identical configured cronks "hostgroup contains xyz".

#1 based on the vanilla view. 
#2 based on customvar view.