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

Autodiscovery action conditions broken

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 3.2.7
    • Frontend (F)
    • None
    • Sprint 15

      We're noticed our autodiscovery actions stopped worked.

      Example action we're have:

      Type of calculation
      ?(A and B and C and D and E) and F and G
      
      Label	Name	Action
      A	Discovery check = Traffic-lights network discovery: TCP (23)	?Remove
      B	Discovery check = Traffic-lights network discovery: TCP (443)	?Remove
      C	Discovery check = Traffic-lights network discovery: TCP (80)	?Remove
      D	Discovery check = Traffic-lights network discovery: TCP (554)	?Remove
      E	Discovery check = Traffic-lights network discovery: ICMP ping	?Remove
      F	Discovery rule = Traffic-lights network discovery	?Remove
      G	Discovery status = Up	?Remove
      

      I checked commit history by actions.c and found this:

      commit 70691e331a0bef5efb0edced086b1724b29d317e
      Author: vladislavs <vladislavs@f4e7fd02-d210-4e34-a1e0-d4093fb66cc2>
      Date:   Wed Dec 7 07:36:05 2016 +0000
      
          ........S. [ZBXNEXT-3086] improved performance of action condition evaluation by ensuring that equivalent conditions are only checked once, thus there will be less queries to database
          
          git-svn-id: svn://svn.zabbix.com/trunk@64232 f4e7fd02-d210-4e34-a1e0-d4093fb66cc
      

      So I think multiple conditions of same type doesn't working now after this commit.

            Unassigned Unassigned
            vvk Vladimir Kamarzin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: