Werk #7443: SW/HW inventory filters only query for information when configured

Component Core & setup
Title SW/HW inventory filters only query for information when configured
Date Jun 19, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Currently all Checkmk filters are enabled by default although when unconfigured they remain passive. Most filters process data directly from the livestatus query but inventory filters perform a new query to obtain the SW/HW inventory of the host. Now inventory filters only query for data to filter for when they are actively configured, instead of gathering data at first and then deciding how to filter.

This fix increases the performance of the views, as fewer queries are done it thus speeds up the time to show a view.

To the list of all Werks