ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9820

overview shows only one item if there are several with the same name

    Details

      Description

      Suppose we configure two items on a host with the same name:

      If we go to "Monitoring" -> "Overview", we will only see one of them:

      1. items.png
        17 kB
      2. overview.png
        8 kB

        Issue Links

          Activity

          Hide
          Gunars Pujats (Inactive) added a comment - - edited

          (1) No translation strings changed.

          Ivo Kurzemnieks CLOSED.

          Show
          Gunars Pujats (Inactive) added a comment - - edited (1) No translation strings changed. Ivo Kurzemnieks CLOSED.
          Hide
          Gunars Pujats (Inactive) added a comment -

          RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9820

          Show
          Gunars Pujats (Inactive) added a comment - RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9820
          Hide
          Ivo Kurzemnieks added a comment - - edited

          (2) This has been fixed incorrectly. Items should be grouped. Now depending on number of hosts, each item is written on a separate line. Should be discussed how to fix this.

          Ivo Kurzemnieks Discussed with Alexander Vladishev and decided that items should be grouped by name in the following way:
          Host location: top

            host1 host2
          Total size of / 200MB 5.5TB
          Total size of / 200MB  

          Host location: left

            Total size of / Total size of /
          host1 200MB 200MB
          host2 5.5TB  

          The structure if data could be similar to this:

          hosts => [
                  [
                          'hostid' => 23454,
                          'name' => 'host1',
                          'items' => [
                                  'System name' => [
                                          ['itemid' => 1234, 'value' => 'linux ...'],
                                  ],
                                  'Total size of /' => [
                                          ['itemid' => 1234, 'value' => '200MB'],
                                          ['itemid' => 1235, 'value' => '200MB'],
                                          ...
                                  ]
                          ]
                  ],
                  [
                          'hostid' => 2346,
                          'name' => 'host2',
                          'items' => [
                                  'Total size of /' => [
                                          ['itemid' => 3533, 'value' => '5.5TB']
                                  ]
                          ]
                  ]
          ]
          

          Gunars Pujats RESOLVED in r55980.

          Ivo Kurzemnieks A bit different, but a good array structure. I chaned few variable names, so they are more understandable when looking at the code and I removed unused variable. Please see my minor changes in r56015

          Gunars Pujats CLOSED.

          Ivo Kurzemnieks Sorry, didn't see that same items (with keys and item IDs) are now also writtend on a separate line). Those items should be grouped and trigger severity should be taken into account. If it has same name, but it is a different item, only then it should be written on a separate line.

          REOPENED

          Alexander Vladishev CLOSED

          Show
          Ivo Kurzemnieks added a comment - - edited (2) This has been fixed incorrectly. Items should be grouped. Now depending on number of hosts, each item is written on a separate line. Should be discussed how to fix this. Ivo Kurzemnieks Discussed with Alexander Vladishev and decided that items should be grouped by name in the following way: Host location: top   host1 host2 Total size of / 200MB 5.5TB Total size of / 200MB   Host location: left   Total size of / Total size of / host1 200MB 200MB host2 5.5TB   The structure if data could be similar to this: hosts => [ [ 'hostid' => 23454, 'name' => 'host1', 'items' => [ 'System name' => [ ['itemid' => 1234, 'value' => 'linux ...'], ], 'Total size of /' => [ ['itemid' => 1234, 'value' => '200MB'], ['itemid' => 1235, 'value' => '200MB'], ... ] ] ], [ 'hostid' => 2346, 'name' => 'host2', 'items' => [ 'Total size of /' => [ ['itemid' => 3533, 'value' => '5.5TB'] ] ] ] ] Gunars Pujats RESOLVED in r55980. Ivo Kurzemnieks A bit different, but a good array structure. I chaned few variable names, so they are more understandable when looking at the code and I removed unused variable. Please see my minor changes in r56015 Gunars Pujats CLOSED. Ivo Kurzemnieks Sorry, didn't see that same items (with keys and item IDs) are now also writtend on a separate line). Those items should be grouped and trigger severity should be taken into account. If it has same name, but it is a different item, only then it should be written on a separate line. REOPENED Alexander Vladishev CLOSED
          Hide
          richlv added a comment - - edited

          (3) ZBX-5072 also mentions trigger overview - let's check that it works properly, too

          Gunars Pujats RESOLVED in r56063.

          Alexander Vladishev CLOSED

          Show
          richlv added a comment - - edited (3) ZBX-5072 also mentions trigger overview - let's check that it works properly, too Gunars Pujats RESOLVED in r56063. Alexander Vladishev CLOSED
          Hide
          Alexander Vladishev added a comment - - edited

          (4) $trcounter in triggers overview is incorrectly processed

          Alexander Vladishev RESOLVED in r56281.

          Gunars Pujats CLOSED

          Show
          Alexander Vladishev added a comment - - edited (4) $trcounter in triggers overview is incorrectly processed Alexander Vladishev RESOLVED in r56281. Gunars Pujats CLOSED
          Hide
          Alexander Vladishev added a comment - - edited

          (5) triggers with multiple hosts are displayed in one of this host

          Alexander Vladishev RESOLVED in r56281

          Gunars Pujats CLOSED

          Show
          Alexander Vladishev added a comment - - edited (5) triggers with multiple hosts are displayed in one of this host Alexander Vladishev RESOLVED in r56281 Gunars Pujats CLOSED
          Hide
          Alexander Vladishev added a comment -

          Successfully tested! Take a look at my changes in r56650 and r56654. Don't forget to close (4) and (5).

          Show
          Alexander Vladishev added a comment - Successfully tested! Take a look at my changes in r56650 and r56654. Don't forget to close (4) and (5).
          Hide
          Gunars Pujats (Inactive) added a comment - - edited

          Fixed in:

          • pre-2.2.12rc1 r56713
          • pre-3.0.2rc1 r59045
          • pre-3.1.0 (trunk) r59046
          Show
          Gunars Pujats (Inactive) added a comment - - edited Fixed in: pre-2.2.12rc1 r56713 pre-3.0.2rc1 r59045 pre-3.1.0 (trunk) r59046
          Hide
          Gunars Pujats (Inactive) added a comment - - edited

          RESOLVED for 3.0 version in development branch svn://svn.zabbix.com/branches/dev/ZBX-9820-30

          Show
          Gunars Pujats (Inactive) added a comment - - edited RESOLVED for 3.0 version in development branch svn://svn.zabbix.com/branches/dev/ZBX-9820-30
          Hide
          Alexander Vladishev added a comment - - edited

          (6) broken vertical rotation of item and trigger names.

          Alexander Vladishev RESOLVED in r59019, r59020

          Gunars Pujats CLOSED

          Show
          Alexander Vladishev added a comment - - edited (6) broken vertical rotation of item and trigger names. Alexander Vladishev RESOLVED in r59019, r59020 Gunars Pujats CLOSED
          Hide
          Alexander Vladishev added a comment - - edited

          (7) incorrect class used for table headers

          Alexander Vladishev RESOLVED in r59020

          Gunars Pujats CLOSED

          Show
          Alexander Vladishev added a comment - - edited (7) incorrect class used for table headers Alexander Vladishev RESOLVED in r59020 Gunars Pujats CLOSED
          Hide
          Alexander Vladishev added a comment -

          Successfully tested! Please close (6) and (7) before merging.

          Show
          Alexander Vladishev added a comment - Successfully tested! Please close (6) and (7) before merging.

            People

            • Assignee:
              Unassigned
              Reporter:
              Aleksandrs Saveljevs
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: