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

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 5.0.22
    • None
    • Server (S)
    • linux centos docker
    • Support backlog

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              wangdong212 wangdong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: