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

Multiple events generation from zabbix sender with NS and timestamp Create duplicates and delete some events

    XMLWordPrintable

Details

    • Problem report
    • Status: Reopened
    • Trivial
    • Resolution: Unresolved
    • 6.0.8, 6.2.2, 6.4.0alpha1
    • None
    • Server (S)
    • None
    • Tested on different servers and version. Direct connect without any SSL or TLS termination.
      Debian 11 Zabbix 6.0.8, 6.2.2, 6.4.0alpha1
      Mysql/Postgresql, PostgresSQL with TimescaleDB 2.7.2

    Description

      Steps to reproduce:

      1. Create host with item with type Zabbix trapper. (screenshot and template attached)
      2. Create on item witch is previously created trigger with multiple event generation. Where is filtered data by regex also create some tags with regex in value. (screenshot and template attached)
      3. Send more than one event with same timestamp and different NS.
      4. Check in DB history table for item data. This part is correct
      5. Check generated events. Some events are not created and some are duplicated. Count of created events looks like same number of messages sends by Zabbix sender.

      Result:
      Data in history tables is 100% correct. 
      Events are created but with wrong messages in events, with wrong tags values, and some events in history tables are complete ignored. Also events are duplicated.

      Check screenshot.

      Expected:
      For each trapper message with NS will be created separate event with correct message data include correct values in tags. 

      Attachments

        1. Event generation.png
          Event generation.png
          2.32 MB
        2. Test.GIF
          Test.GIF
          14.86 MB
        3. Trapper-item.mp4
          10.18 MB
        4. zabbix-trapper.sh
          1 kB
        5. zbx_export_6_2templates-trapper-multi-events.yaml
          2 kB

        Activity

          People

            neogan Andrei Gushchin
            tomas.hermanek Tomáš Heřmánek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: