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

LLD override doesnt stop processing if filters match

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2 (plan)
    • 5.0.2
    • Server (S)
    • None
    • Sprint 66 (Jul 2020)

      Steps to reproduce:

      1. Create host linked "Template Module Linux filesystems by Zabbix agent"
      2. Add override configuration to Low Discovery rules "Mounted filesystem discovery" in "Template Module Linux filesystems by Zabbix agent" as follows:
        # Name If filter matches Filter (Operations)Object (Operations)Condition (Operations)Severity
        1: overrides 1 Stop processing {#FSNAME} matches /boot Trigger prototype contains Disk space is low Disaster
        2: overrides 2 Stop processing {#FSNAME} matches / Trigger prototype contains Disk space is low Information
      3. Wait performed Low Discovery rules "Mounted filesystem discovery"
      4. Check trigger that created from trigger prototype

      Result:
      See screenshot

      "overrides 1" filter matched, but processed "overrides 2".
      Both trigger severity overried as follows:

      • /: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"/boot"}%)
      • /boot: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"/boot"}%)

      Expected:
      Expect filter matched /boot, stop processing override severity of trigger "/: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"/boot"}%)".
      Override only severity of trigger "/boot: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"/boot"}%)".

        1. disceovery_rules.png
          121 kB
          Kazuhiro Mizutani
        2. overrides_1_operation.png
          73 kB
          Kazuhiro Mizutani
        3. overrides_2_operation.png
          73 kB
          Kazuhiro Mizutani
        4. overrides_2.png
          95 kB
          Kazuhiro Mizutani
        5. overrieds_1.png
          96 kB
          Kazuhiro Mizutani
        6. trigger_prototypes.png
          587 kB
          Kazuhiro Mizutani
        7. triggers.png
          486 kB
          Kazuhiro Mizutani

            vso Vladislavs Sokurenko
            k.mizutani Kazuhiro Mizutani
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: