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

Incorrect work trigger in multiple event generation mode

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.0.5
    • Server (S)
    • None
    • Debian GNU/Linux 10 (buster), nginx 1.19.4, PHP 7.3.24

      Steps to reproduce:

      1. Create host and 2 items (count and role (int)), see attach zbx_export_hosts.xml;
      2. Create a trigger: {test:count.diff()}=1 and {test:role.last()}=0 (PROBLEM event generation mode: multiple), see attach file test.xml
      3. Create a test data in file send1.txt, send2.txt, send3.txt, send4.txt (see attach files)
      4. Create a bash script (see attach file send.sh):
        zabbix_sender -z 127.0.0.1 -s test -i send1.txt
        sleep 10
        zabbix_sender -z 127.0.0.1 -s test -i send2.txt
        sleep 10
        zabbix_sender -z 127.0.0.1 -s test -i send3.txt
        sleep 10
        zabbix_sender -z 127.0.0.1 -s test -i send4.txt
        sleep 10
        zabbix_sender -z 127.0.0.1 -s test -i send4.txt
        sleep 10
        zabbix_sender -z 127.0.0.1 -s test -i send4.txt
      1. See problems page for result

      Result:
      We see that the trigger fires several times, although the condition uses the AND condition and the data is received several times unchanged.

      See screenshots.

      Expected:
      I expected the trigger to fire only 2 times on a given data stream, but it did fire 4 times.

        1. trigger_multiple_2.png
          63 kB
          Mikhail Grigorev
        2. trigger_multiple.png
          116 kB
          Mikhail Grigorev

            zabbix.support Zabbix Support Team
            cherts Mikhail Grigorev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: