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

Duplicate events generated by change(0) trigger function

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.9
    • Server (S)

      I have trigger with expression "{Template SNMP Interfaces:ifOperStatus[

      {#SNMPVALUE}

      ].diff(0)}=1" with unset "Multiple PROBLEM events generation" checkbox.
      It works good on most cases.
      Sometimes it generates two events (one and next after a minute) on single interface change, with the same

      {ITEM.VALUE1}

      .
      Zabbix configuration was not changed that time.
      Attached screenshot of event history related to this one trigger (filtered by triggerid).
      Item history from that period:

      mysql> select from_unixtime(clock), value from history_uint join items using (itemid) join hosts using (hostid) where key_ = 'ifOperStatus[1:20]' and host = 'ua-ix-670-2-1' and clock>unix_timestamp('2013-10-16 00:05:00') and clock<unix_timestamp('2013-10-16 00:25:00') order by clock;
      ---------------------------+

      from_unixtime(clock) value

      ---------------------------+

      2013-10-16 00:05:18 1
      2013-10-16 00:06:18 1
      2013-10-16 00:07:18 1
      2013-10-16 00:08:18 1
      2013-10-16 00:09:18 1
      2013-10-16 00:10:18 1
      2013-10-16 00:11:18 1
      2013-10-16 00:12:18 1
      2013-10-16 00:13:18 2
      2013-10-16 00:14:18 2
      2013-10-16 00:15:18 2
      2013-10-16 00:16:18 2
      2013-10-16 00:17:18 2
      2013-10-16 00:18:18 2
      2013-10-16 00:19:18 2
      2013-10-16 00:20:18 2
      2013-10-16 00:21:18 2
      2013-10-16 00:22:18 2
      2013-10-16 00:23:18 2
      2013-10-16 00:24:18 2

      ---------------------------+
      20 rows in set (0.03 sec)

        1. event-hist.png
          event-hist.png
          120 kB
        2. item-prototype.png
          item-prototype.png
          46 kB
        3. lld-rule.png
          lld-rule.png
          43 kB
        4. trigger_prototype.png
          trigger_prototype.png
          43 kB
        5. inerrors-events.png
          inerrors-events.png
          100 kB
        6. item-inerrors.png
          item-inerrors.png
          55 kB
        7. trigger-input-erros.png
          trigger-input-erros.png
          49 kB

            Unassigned Unassigned
            pgulchuk Pavel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: