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

Server crash with incorrect string in preprocessing step

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Cannot Reproduce
    • 5.4.1, 5.4.2
    • None
    • None
    • None
    • Ubuntu 20.04, mysql 14.14, zabbix installed from package repository

    Description

      Steps to reproduce:

      1. create preprocessing step in discovery with the following syntax in an item prototype

      Result:

      See forum entry Zabbix Server 5.4.1 and 5.4.2 crash - ZABBIX Forums

      mysql> select item_preprocid,params from item_preproc where params like '%display_name%';
      +----------------+--------------------------------------------------+
      | item_preprocid | params                                           |
      +----------------+--------------------------------------------------+
      |         167069 | $.[?(@.display_name =~ "floating")].display_name |
      |         167070 | $.[?(@.display_name =~ "floating")].display_name |
      |         167071 | $.[?(@.display_name =~ "floating")].display_name |
      

      Expected:

      We removed the entries from the database with

       

      mysql> delete from item_preproc where params like '%display_name%';
      Query OK, 286 rows affected (0.01 sec)
      mysql> delete from item_rtdata where error like '%display_name%';
      Query OK, 286 rows affected (0.08 sec)
      
      

      and the issue is gone

       

      Attachments

        Activity

          People

            zalex_ua Oleksii Zagorskyi
            johansenfa Johannes Hauf
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: