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

count function parametr isn't parsed properly

    XMLWordPrintable

Details

    • Team A
    • Sprint 87 (Apr 2022), Sprint 88 (May 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

            zabbix.dev Zabbix Development Team
            elina.kuzyutkina Elina Kuzyutkina
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: