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

count function parameter is not parsed properly

    XMLWordPrintable

Details

    • Team A
    • Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 1

    Description

      Create trigger expression or calculated item with count function that is double with some suffix. For example: host:item.key.count(#12,30.5G,lt)
      You will get
      Cannot evaluate function "host:item.key.count(#12,30.5G,lt)": "30.5G" is not a valid numeric unsigned value.
      Zabbix will check if second parameter is uint number before apllying G suffix.

      So the question is, why Zabbix checks that the number is an integer if item is integer? Why can't Zabbix compare integer and fractional?

      Attachments

        Activity

          People

            vso Vladislavs Sokurenko
            elina.kuzyutkina Elina Kuzyutkina
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: