Ad Widget

Collapse

failure on mass update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harri
    Member
    • Nov 2010
    • 89

    #1

    failure on mass update

    Trying to reset the History Storage Period of all items in the Template OS OpenBSD back to the 90d default I got this error message:

    Cannot update items
    Details
    Undefined index: type [items.php:999 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CItem->update() → CItem->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1024]
    Undefined index: type [items.php:999 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CItem->update() → CItem->inherit() → CItemGeneral->prepareInheritedItems() in include/classes/api/services/CItemGeneral.php:1025]
    array_key_exists(): The first argument should be either a string or an integer [items.php:999 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CItem->update() → CItem->inherit() → CItemGeneral->prepareInheritedItems() → CItemGeneral::findInterfaceForItem() → array_key_exists() in include/classes/api/services/CItemGeneral.php:696]
    Cannot find host interface on "gate5a.example.com" for item key "agent.hostname".

    I just made the upgrade from Zabbix 3.0 to 3.4. Database is mariadb.

    Every helpful suggestion is highly appreciated.
    Last edited by harri; 09-05-2018, 08:48.
  • harri
    Member
    • Nov 2010
    • 89

    #2
    Problem solved: It cannot update nested templates. Maybe some warning would be helpful instead of a cryptic error message.

    Comment

    Working...