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

Make count() work with *_foreach()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            rvaliahmetovs Renats Valiahmetovs (Inactive)
            simkimdm Simon Kimmig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: