Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-292

Handling of undefined items when evaluating calculated items

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Server (S)

      Description

      Zabbix marks calculated item as "Not supported" if expression contains item that currently has no value. It would be nice to change that behavior to something more usable.
      Example:
      Current values for items:
      item[/var] = 10
      item[/home] = 20
      item[/tmp] = 30
      item[/usr] = UNDEFINED/NO LAST VALUE

      Calculated item:
      last("item[/var]")+last("item[/home]")+last("item[/tmp]")+last("item[/usr]") currently will returns UNDEFINED, while it makes sense to return 60

      In other words UNDEFINED value for item should be considered as "0" in addition and subtraction operations and as "1" in multiply and division operations

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexei Alexei Vladishev
                Reporter:
                ivan.gusev Ivan Gusev
              • Votes:
                23 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: