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

Error is shown if "Host group" object is present on map

    Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      Debian 6, Zabbix 2.2.0

      Description

      I have two maps that have Host group object on them. Since 2.2 the error is shown when map is loaded

      1. zbx_export_maps (1).xml
        107 kB
        Vitaly Zhuravlev
      1. err1.PNG
        20 kB
      2. host_group_inserted.PNG
        25 kB

        Issue Links

          Activity

          Hide
          Vitaly Zhuravlev added a comment -

          More on env:

          PHP Version => 5.4.5-dev

          System => Linux 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64

          Current value Required
          PHP version 5.4.5-dev 5.3.0 OK
          PHP option memory_limit 128M 128M OK
          PHP option post_max_size 32M 16M OK
          PHP option upload_max_filesize 2M 2M OK
          PHP option max_execution_time 300 300 OK
          PHP option max_input_time 300 300 OK
          PHP time zone Europe/Moscow OK
          PHP databases support MySQL
          OK
          PHP bcmath on OK
          PHP mbstring on OK
          PHP sockets on OK
          PHP gd 2.0 2.0 OK
          PHP gd PNG support on OK
          PHP gd JPEG support on OK
          PHP gd FreeType support on OK
          PHP libxml 2.8.0 2.6.15 OK
          PHP xmlwriter on OK
          PHP xmlreader on OK
          PHP ctype on OK
          PHP session on OK
          PHP session auto start off off OK
          PHP gettext on OK

          Show
          Vitaly Zhuravlev added a comment - More on env: PHP Version => 5.4.5-dev System => Linux 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 Current value Required PHP version 5.4.5-dev 5.3.0 OK PHP option memory_limit 128M 128M OK PHP option post_max_size 32M 16M OK PHP option upload_max_filesize 2M 2M OK PHP option max_execution_time 300 300 OK PHP option max_input_time 300 300 OK PHP time zone Europe/Moscow OK PHP databases support MySQL OK PHP bcmath on OK PHP mbstring on OK PHP sockets on OK PHP gd 2.0 2.0 OK PHP gd PNG support on OK PHP gd JPEG support on OK PHP gd FreeType support on OK PHP libxml 2.8.0 2.6.15 OK PHP xmlwriter on OK PHP xmlreader on OK PHP ctype on OK PHP session on OK PHP session auto start off off OK PHP gettext on OK
          Hide
          Vitaly Zhuravlev added a comment -

          Browsers i tried:
          Google Chrome 31.0.1650.57 m and IE 9 - same error appears

          Show
          Vitaly Zhuravlev added a comment - Browsers i tried: Google Chrome 31.0.1650.57 m and IE 9 - same error appears
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Vitaly, I can't seem to reproduce your problem. Could you please export the map and post it here? Feel free to omit any sensitive information it may contain, but keep the structure of the map intact.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Vitaly, I can't seem to reproduce your problem. Could you please export the map and post it here? Feel free to omit any sensitive information it may contain, but keep the structure of the map intact.
          Hide
          Vitaly Zhuravlev added a comment - - edited
                          <selement>
                              <elementtype>3</elementtype>
                              <label>{HOSTNAME}&#13;
          {HOST.CONN}</label>
                              <label_location>0</label_location>
                              <x>980</x>
                              <y>90</y>
                              <elementsubtype>1</elementsubtype>
                              <areatype>1</areatype>
                              <width>499</width>
                              <height>400</height>
                              <viewtype>0</viewtype>
                              <use_iconmap>1</use_iconmap>
                              <selementid>2560</selementid>
                              <element>
                                  <name>(CPE)</name>
                              </element>
                              <icon_off>
                                  <name>Hub</name>
                              </icon_off>
                              <icon_on/>
                              <icon_disabled/>
                              <icon_maintenance/>
                              <urls/>
                          </selement>
          
          Show
          Vitaly Zhuravlev added a comment - - edited <selement> <elementtype>3</elementtype> <label>{HOSTNAME}&#13; {HOST.CONN}</label> <label_location>0</label_location> <x>980</x> <y>90</y> <elementsubtype>1</elementsubtype> <areatype>1</areatype> <width>499</width> <height>400</height> <viewtype>0</viewtype> <use_iconmap>1</use_iconmap> <selementid>2560</selementid> <element> <name>(CPE)</name> </element> <icon_off> <name>Hub</name> </icon_off> <icon_on/> <icon_disabled/> <icon_maintenance/> <urls/> </selement>
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Could you please attach the whole XML file?

          Show
          Pavels Jelisejevs (Inactive) added a comment - Could you please attach the whole XML file?
          Hide
          Vitaly Zhuravlev added a comment -

          Pavels, please see attachments again

          Show
          Vitaly Zhuravlev added a comment - Pavels, please see attachments again
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Ah, sorry, I've missed it. I was able to reproduce the problem with your map, we'll get it fixed in the next release.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Ah, sorry, I've missed it. I was able to reproduce the problem with your map, we'll get it fixed in the next release.
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7427.

          Steps to reproduce:
          1. Create a map;
          2. Add an element;
          3. Add a host group element, set "Show" to "Host group elements" and "Area type" to "Custom size";
          4. Add a link between the two elements;
          5. Save the map.

          Open the map in the monitoring section and you'll see the indexes.

          Show
          Pavels Jelisejevs (Inactive) added a comment - RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7427. Steps to reproduce: 1. Create a map; 2. Add an element; 3. Add a host group element, set "Show" to "Host group elements" and "Area type" to "Custom size"; 4. Add a link between the two elements; 5. Save the map. Open the map in the monitoring section and you'll see the indexes.
          Hide
          Ivo Kurzemnieks added a comment -

          TESTED

          Show
          Ivo Kurzemnieks added a comment - TESTED
          Hide
          Pavels Jelisejevs (Inactive) added a comment -

          Fixed in 2.2.2rc1 r40821 and 2.3.0 r40822.

          CLOSED.

          Show
          Pavels Jelisejevs (Inactive) added a comment - Fixed in 2.2.2rc1 r40821 and 2.3.0 r40822. CLOSED.

            People

            • Assignee:
              Unassigned
              Reporter:
              Vitaly Zhuravlev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: