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

XML import/export ignores/omits valuemapid tag

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.8.4
    • Fix Version/s: 2.0.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      Oracle Enterprise Linux 5.5, distro-supplied Apache/MySQL/PHP/kernel

      Description

      Importing a template from XML file ignores the valuemapid tag; exporting anything that uses value mapping (e.g., template, host) to XML file omits the valuemapid tag.

      Problem:
      <webroot>/zabbix/include/export.inc.php:
      XML_TAG_ITEM, 'elements', is missing: 'valuemapid' => ''

      Solution:

          • export.inc.php.orig 2011-03-18 19:14:14.000000000 -0700
          • export.inc.php 2011-03-18 19:14:32.000000000 -0700
            ***************
          • 170,176 ****
            'snmpv3_securityname' => '',
            'snmpv3_securitylevel' => '',
            'snmpv3_authpassphrase' => '',
            ! 'snmpv3_privpassphrase' => ''
            )
            ),
            XML_TAG_TRIGGER => array(
          • 170,177 ----
            'snmpv3_securityname' => '',
            'snmpv3_securitylevel' => '',
            'snmpv3_authpassphrase' => '',
            ! 'snmpv3_privpassphrase' => '',
            ! 'valuemapid' => ''
            )
            ),
            XML_TAG_TRIGGER => array(

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbala99 Jim Bala
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: