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

Import of host prototypes is not working

    XMLWordPrintable

Details

    • Incident report
    • Resolution: Fixed
    • Critical
    • 3.0.0rc1
    • 3.0.0beta1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: