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

XML import/export ignores/omits valuemapid tag

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 2.0.0
    • 1.8.4
    • Frontend (F)
    • Oracle Enterprise Linux 5.5, distro-supplied Apache/MySQL/PHP/kernel

      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(

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

              Created:
              Updated:
              Resolved: