Ad Widget

Collapse

Trouble importing a template for Cisco WLC 5508

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alldunn
    Junior Member
    • Sep 2015
    • 1

    #1

    Trouble importing a template for Cisco WLC 5508

    I am trying to import the Cisco WLC template found at https://github.com/B4ckF0rw4rd/Zabbix-Templates. I have created what I feel like are the correct prerequisites (value mappings and regular expression). However, when importing I am receiving the following error that I am unable to make sense of. Any ideas? I am currently running 2.2.7

    mb_strlen() expects parameter 1 to be string, array given [conf.import.php:130 → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CAPIObject->create() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CDiscoveryRule->create() → CDiscoveryRule->createReal() → DB::insert() → DB::checkValueTypes() → zbx_strlen() → mb_strlen() in /usr/share/zabbix/include/func.inc.php:955]
    Array to string conversion [conf.import.php:130 → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CAPIObject->create() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CDiscoveryRule->create() → CDiscoveryRule->createReal() → DB::insert() → implode() in /usr/share/zabbix/include/classes/db/DB.php:443]
    Error in query [INSERT INTO items (name,type,snmp_community,snmp_oid,delay,status,sn mpv3_contextname,snmpv3_securityname,snmpv3_securi tylevel,snmpv3_authprotocol,snmpv3_authpassphrase, snmpv3_privprotocol,snmpv3_privpassphrase,delay_fl ex,params,ipmi_sensor,authtype,username,password,p ublickey,privatekey,port,filter,lifetime,descripti on,key_,trapper_hosts,hostid,flags,value_type,data _type,interfaceid,itemid) VALUES ('WLC AP data','4','{$SNMP_COMMUNITY}','1.3.6.1.4.1.14179.2 .2.1.1.3','3600','0','','','0','0','','0','','','' ,'','0','','','','','',Array,'14','','bsnAPName',' ','10350','1','4','0',NULL,'75208')] [Unknown column 'Array' in 'field list']
    SQL statement execution has failed "INSERT INTO items (name,type,snmp_community,snmp_oid,delay,status,sn mpv3_contextname,snmpv3_securityname,snmpv3_securi tylevel,snmpv3_authprotocol,snmpv3_authpassphrase, snmpv3_privprotocol,snmpv3_privpassphrase,delay_fl ex,params,ipmi_sensor,authtype,username,password,p ublickey,privatekey,port,filter,lifetime,descripti on,key_,trapper_hosts,hostid,flags,value_type,data _type,interfaceid,itemid) VALUES ('WLC AP data','4','{$SNMP_COMMUNITY}','1.3.6.1.4.1.14179.2 .2.1.1.3','3600','0','','','0','0','','0','','','' ,'','0','','','','','',Array,'14','','bsnAPName',' ','10350','1','4','0',NULL,'75208')"
Working...