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

trigger editor does not preserve element ordering

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8.2
    • 1.8.1, 1.9.0 (alpha)
    • Frontend (F)
    • None

      the new trigger editor incorrectly reverses elements. while this is not significant if the expression is like A&B or A|B, the attached screenshot shows the following expression :

      {Another Host:net.tcp.service[ssh].last(0)}

      =0 &

      {A Test Host:net.tcp.service[ssh].last(0)}

      =0 |

      {A Test Host:grpavg["Linux servers","system.cpu.load","last","0"].last(0)}

      =0

      which becomes :

      {A Test Host:grpavg["Linux servers","system.cpu.load","last","0"].last(0)}

      =0 &

      {A Test Host:net.tcp.service[ssh].last(0)}

      =0 |

      {Another Host:net.tcp.service[ssh].last(0)}

      =0

      thus the trigger logic is completely broken

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: