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

Zabbix 5.0 and ES 7.7 -> array_key_exists() expects parameter 2 to be array, string given

    XMLWordPrintable

Details

    • Team B
    • Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
    • 0.5

    Description

      hello!
      After upgrading my local zabbix installation from 4.4 to 5.0 I always get this error message when looking at history of "text" and "character" items:

      the history is properly shown anyways, but I get the error message at the top of the page.

      As mentioned above, I'm using Elasticserach as backend for all the history tables, this is the web configuration:

      $HISTORY['url']   = [
        'uint' => 'http://elasticsearch:9200',
        'dbl' => 'http://elasticsearch:9200',
        'text' => 'http://elasticsearch:9200',
        'log' => 'http://elasticsearch:9200',
        'str' => 'http://elasticsearch:9200'
      ];
      
      $HISTORY['types'] = ['uint', 'dbl', 'str', 'text', 'log'];
      

      I upgraded Elasticsearch from 6.3.x to 7.7.0 after upgrading to Zabbix 5.0 (and realizing 6.x is not supported anymore).

      Let me know if you need additional info!

      thanks

      Attachments

        Issue Links

          Activity

            People

              iivs Ivo Kurzemnieks
              gabriele.armao Gabriele Armao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: