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

Make count() work with *_foreach()

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.4.0, 5.4.1
    • None
    • None

      Steps to reproduce:

      1. Create a item "item" on for example 10 hosts with value "1" and 10 with value 0.
      2. Create calculated item: count(last_foreach(//item[]),"eq",1) or count(//item[]),"eq",1)

      Result:
      Cannot evaluate function: invalid first argument at 'count(last_foreach(/*/item[]),"eq",1)'

       

      Expected:
      Should return 10.

            rvaliahmetovs Renats Valiahmetovs (Inactive)
            simkimdm S K
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: