Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17825

Dynamic item switching does not work for Graph prototype widget

XMLWordPrintable

    • Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
    • 1

      Dynamic item switching does not work for Graph prototype widget when graph prototype contains item prototype from one host and item from another.

      Use xml file with prepared data or prepare data as in 1-6 steps

      Steps to reproduce:

      1. Create two host H1 and H2
      2. Create Item with the same key on each host H1I1 and H2I2
      3. Create Discovery rule on each host H1D1 and H2D2
      4. Create Item prototype with  the same key on each host "H1IP1 {#ID}" and "H2IP2 {#ID}"
      5. Add Graph prototype on first host "{#ID} H1 (H1IP1 H2I1)"
      6. Add item prototype from first host H1IP1 and item from second host H2I2 to graph prototype
      7. Create Graph prototype widget with option "Dynamic item" and add graph prototype "{#ID} H1 (H1IP1 H2I1)"
      8. Send data to each Discovery rule
         ./bin/zabbix_sender -vv -z localhost -sH1 -kdisco -o "[\{\" {#ID}\":0}]"
         ./bin/zabbix_sender -vv -z localhost -sH2 -kdisco -o "[\{\"{#ID}\":0}]"
      9. In dashboard control choose H1 host
      10. In dashboard control choose H2 host

      Result:
      widget displays data for H1 host
      Expected:
      widget displays data for H2 host. Can compare with Classic graph widget or screen element  with the same Graph prototype in Screens

            talbergs Mārtiņš Tālbergs (Inactive)
            natalja.zabbix Natalja Romancaka
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: