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

Cannot build expression tree: incorrect expression starting from "count"

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.0alpha7
    • None
    • None

      After updating the version from 7.0.0.alpha6 to 7.0.0.alpha7, it started showing alerts that it shouldn't show. After editing the trigger and clicking on the expression constructor, it throws an error:

      Cannot build expression tree: incorrect expression starting from "count(/zah_s34/sensor.psu.status[ciscoEnvMonSupplyState.1013],#1,"eq","{$PSU_CRIT_STATUS: \\""critical
      "}")=1 or count(/zah_s34/sensor.psu.status[ciscoEnvMonSupplyState.1013],#1,"eq","{$PSU_CRIT_STATUS:\\""shutdown
      " }")=1"."

      what is interesting, however, if I try the same directly in the template and not on the host the error is not there.

        1. 1.png
          1.png
          90 kB
        2. 2.png
          2.png
          45 kB

            neogan Andrei Gushchin (Inactive)
            priechodsky.dusan Priechodsky Dušan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: