Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7650

Don't display empty <div> on hosts dashboards

XMLWordPrintable

      Hello,

      Since Zabbix 5.2, screens have been replaced by hosts dashboards. A screen was displaying all graphs from a graph prototype on one page whereas hosts prototype only display a selected number of graphs over multiple pages. Problem: when there are no graph to display, Zabbix shows empty placeholders.

      Step to reproduce:

      1. host template with a dashboard
      2. a widget to display graphs from a graph prototype (mounted filesystems for example)
      3. configure 1 column and n rows of graph
      4. display the host dashboard of a host with n+1 discovered items and go to the last page

      Expected behavior: Zabbix shows one last graph

      Current behavior: Zabbix show one graph and n-1 empty areas

      See screenshots attached with 4 rows of graphs.

      Solution : don't display empty <div> if there are no graphs to display or bring back the "screen" behavior where every graphs where displayed (no pagination)

        1. config.png
          30 kB
          Nicolas C.
        2. result.png
          410 kB
          Nicolas C.

            vmurzins Valdis Murzins
            nryc Nicolas C.
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: