Error while update discovery rule in template

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 3.4.10
    • Component/s: Frontend (F), Templates (T)
    • Environment:

      After update from zabbix 3.0.10 to zabbix 3.4.10 I cant update inherited discovery rules in template with error

       * Undefined index: type [host_discovery.php:324 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CDiscoveryRule->update() → CDiscoveryRule->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1029]
       * Undefined index: type [host_discovery.php:324 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CDiscoveryRule->update() → CDiscoveryRule->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1030]
       * array_key_exists(): The first argument should be either a string or an integer [host_discovery.php:324 → CFrontendApiWrapper->update() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CDiscoveryRule->update() → CDiscoveryRule->inherit() → CItemGeneral->prepareInheritedItems() → CItemGeneral::findInterfaceForItem() → array_key_exists() in include/classes/api/services/CItemGeneral.php:701]
       * Cannot find host interface on "adl1-kspd-fw01-node1" for item key "Sensors".
      

      On host adl1-kspd-fw01-node1 interface SNMP exist. Discovery rule Sensors have type SNMP

      Not inherited discovery rules and rules on hosts is update succesfully

            Assignee:
            Unassigned
            Reporter:
            Денис Устинов
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: