adubkov / zbx_redis_template

Zabbix template for Redis
129 stars 102 forks source link

Zabbix 2.2.2 zbx_redis_trapper_templates.xml import error #1

Closed thaeli closed 10 years ago

thaeli commented 10 years ago

When importing zbx_redis_trapper_templates.xml into Zabbix 2.2.2 I get the following error. Unchecking the Graphs import options makes the rest of the template load fine.

array_flip(): Can only flip STRING and INTEGER values! [conf.import.php:130 → 
CConfigurationImport->import() → CConfigurationImport->processGraphs() → 
CAPIObject->create() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → 
call_user_func() → CGraphGeneral->create() → CGraph->validateCreate() → CGraph-
>validateItems() → CItem->get() → dbConditionInt() → array_flip() in 
/usr/share/zabbix/include/db.inc.php:1047]
No permissions to referred object or it does not exist!
adubkov commented 10 years ago

I manually deleted some our internal Screens and Graphs from template. Probably I not properly remove it by accident. I committed new version this file, try import it.

thaeli commented 10 years ago

Thank you, new version works!