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

When multiple pieces of data are uploaded at the same time, false alarms will be triggered

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.0.22
    • Server (S)
    • linux centos docker
    • Support backlog
    • 0.5

      Steps to reproduce:

      • create item
      Name:

      comm_alarm

      Type:

      Zabbix trapper

      key:

      comm_alarm_key

      Type of information:

      Text

      • create trigger like that:
      Name:  

      AppAlm_{{ITEM.VALUE}.regsub("(.?)__.", \1)}

      Expression:

      {dggphisprg00916_test233:comm_alarm_key.regexp(alarmstatus:alarm.*alarmlevel\s*:\s*Information.*manualclear\s*:\s*false,1)}=1

      PROBLEM event generation mode:

      Multiple

      OK event closes:

      All problems if tag values match

      Tag for matching:

      AppAlarmId

      Tags:

      AppAlarmId      -------        {{ITEM.VALUE}.regsub("(.?)_.*alarmid.?)\,.*",  \1_\2)}

      BusinessApp      -------        {{ITEM.VALUE}.regsub("BusinessApp.*?)(\,|$)", \1)}

      DigitalPlatform     -------        {{ITEM.VALUE}.regsub("DigitalPlatform.*?)(\,|$)", \1)}

      MonitoringLayer     -------        {{ITEM.VALUE}.regsub("MonitoringLayer.*?)(\,|$)", \1)}

      • send file with command:

      zabbix_sender -T -i test.txt

      test.txt:

      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106018_8a8080ab80c91d600180cc296b550009,alarmstatus:alarm,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'
      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106019_8a8080ab80c91d600180cc296b550009,alarmstatus:alarm,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'
      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106018_8a8080ab80c91d600180cc296b550009,alarmstatus:ok,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'
      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106020_8a8080ab80c91d600180cc296b550009,alarmstatus:ok,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'
      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106019_8a8080ab80c91d600180cc296b550009,alarmstatus:ok,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'
      dggphisprg00916_test233 comm_alarm_key 1652956578 'DATATOOL_The stream job 123 resume exception alarm.__alarmid:106020_8a8080ab80c91d600180cc296b550009,alarmstatus:alarm,alarmlevel:Information,manualclear:false,MonitoringLayer:DigitalPlatform,DigitalPlatform:BigData'

      keep timestamps consistent!that‘s important!!!!

      Result:
      The reported data includes the data that triggers the alarm and the data that restores the alarm, but you will get the same number of alarms as the reported data!

      Expected:

      In fact, the data I reported included alarms and recovery. What I'd like to get is three recovered alerts.

       

        1. A909B411-5D62-4057-A9D6-77AD40C40627.png
          30 kB
          wangdong
        2. B8541EE6-6F4A-4F6B-B397-A8E079560AFF.png
          29 kB
          wangdong
        3. F75EEC62-E9B6-43D6-9A45-8C5E45F1E8B4.png
          43 kB
          wangdong
        4. FF0EAFBE-C826-4DF7-89E1-910EEC12DE05.png
          14 kB
          wangdong
        5. test.txt
          3 kB
          wangdong

            vstepanov Vladimir Stepanov (Inactive)
            wangdong212 wangdong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: