[checkmk-commits] [tribe29/checkmk] f94234: 7443 FIX SW/HW inventory filters only query for in...

Lars noreply at github.com
Wed Jun 19 16:41:43 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/tribe29/checkmk
  Commit: f94234c26a4193a1d1fab05d4de8a5441df23928
      https://github.com/tribe29/checkmk/commit/f94234c26a4193a1d1fab05d4de8a5441df23928
  Author: Óscar Nájera <oscar.najera at tribe29.com>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    A .werks/7443
    M cmk/gui/plugins/visuals/inventory.py

  Log Message:
  -----------
  7443 FIX SW/HW inventory filters only query for information when configured

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.

Change-Id: Ic0f98932832e098a4e7ef01069025729325f9eae




More information about the checkmk-commits mailing list