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

default template import fails: ltrim() expects parameter 1 to be string

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.1rc2, 2.1.0
    • 2.0.0
    • Frontend (F)

      try to import https://zabbix.org/mw/images/0/0f/Template_JMX_Tomcat-2.0.0.xml

      ltrim() expects parameter 1 to be string, array given [api/classes/CItemGeneral.php:334]
      ... (lots of these)
      mb_strlen() expects parameter 1 to be string, array given [include/func.inc.php:760]
      ... (lots of these)

      Error in query [UPDATE items SET name='http-8080 bytes received per second', type='16', snmp_community=Array, multiplier='0', snmp_oid=Array, delay='60', history='7', trends='365', status='0', value_type='0', units='B', delta='1', snmpv3_securityname=Array, snmpv3_securitylevel='0', snmpv3_authpassphrase=Array, snmpv3_privpassphrase=Array, formula='1', delay_flex=Array, params=Array, ipmi_sensor=Array, data_type='0', authtype='0', username=Array, password=Array, publickey=Array, privatekey=Array, port='0', description=Array, inventory_link='0', key_='jmx[\"Catalina:type=GlobalRequestProcessor,name=http-8080\",bytesReceived]', trapper_hosts=Array, hostid='10083', itemid='23219', flags='0', error='', interfaceid=NULL WHERE (itemid IN ('23219')) ] [Unknown column 'Array' in 'field list']
      SQL statement execution has failed "UPDATE items SET name='http-8080 bytes received per second', type='16', snmp_community=Array, multiplier='0', snmp_oid=Array, delay='60', history='7', trends='365', status='0', value_type='0', units='B', delta='1', snmpv3_securityname=Array, snmpv3_securitylevel='0', snmpv3_authpassphrase=Array, snmpv3_privpassphrase=Array, formula='1', delay_flex=Array, params=Array, ipmi_sensor=Array, data_type='0', authtype='0', username=Array, password=Array, publickey=Array, privatekey=Array, port='0', description=Array, inventory_link='0', key_='jmx[\"Catalina:type=GlobalRequestProcessor,name=http-8080\",bytesReceived]', trapper_hosts=Array, hostid='10083', itemid='23219', flags='0', error='', interfaceid=NULL WHERE (itemid IN ('23219')) ".

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: