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

Map Import of "elements" with triggers fail - no error message

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 6.0.9
    • Frontend (F)
    • None
    • RHEL 8.5

      zabbix_server (Zabbix) 6.0.0

      Steps to reproduce:

      1. Export Map that includes icons with trigger to JSON
      2. Go to maps / import
      3. Select file, start import

      Result:
      The frontend endlessly runs, does not complete.
      Tried with different maps.

      Expected:
      Proper import with existing triggers (no other changes)

       

      Hand-edited the JSON to see what part makes the import fail.
      Turns out that i its ithe "selements" section.
      There I have elements of element type 2 that look like follows:

      "elements": [
         

      Unknown macro: {         "description"}

      ,

      That is an export from 6.0.0
      Strange enough there is no reference to the name of this trigger.
      Only description.

      "rtp.count" is a user expression that is defined in the agent.

       

      Any ideas how to fix this?
      Still have the JSON, map was deleted and I would need to recover it.

       

            zux Edgars Melveris
            wlins Wolfgang Lins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: