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

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

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 5.0.22
    • None
    • Server (S)
    • linux centos docker

    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 like that:

      zabbix_sender -T -i test.txt

      text.txt like that:

      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

        Activity

          People

            zabbix.support Zabbix Support Team
            wangdong212 wangdong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: