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

Error while update discovery rule in template

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.4.10
    • Frontend (F), Templates (T)

      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

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

              Created:
              Updated:
              Resolved: