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

Import of host prototypes is not working

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0beta1
    • Fix Version/s: 3.0.0rc1
    • Component/s: API (A)

      Description

      C20ImportConverter module deletes all host prototypes. The method convertDiscoveryRules() has an error in the code:

      if (!array_key_exists('st_prototypes', $discovery_rule)) { 
          $discovery_rule['host_prototypes'] = [];               
      }                                                          
      

      array_key_exists() checks for incorrect key 'st_prototypes'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sasha Alexander Vladishev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: